﻿#Car {
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
}

.menu > a.active::before {
	content: "";
	position: absolute;
	bottom: -9px;
	left: 0;
	height: 4px;
	width: 100%;
	border-radius: 10px;
	background: var(--saa-yellow);
	transition: 400ms;
}
/*#region Models*/
#ModelLine {
	left: 27px !important;
}

#Models {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: start;
	gap: 1rem;
}

	#Models > div:nth-of-type(2) {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

		#Models > div:nth-of-type(2) > div:first-of-type {
			display: flex;
			gap: 10px;
			flex-wrap: wrap;
		}

			#Models > div:nth-of-type(2) > div:first-of-type > button {
				background: #eeeeee;
				border: none;
				outline: none;
				font-size: 14px;
				font-weight: 600;
				color: #a9a9a9;
				padding: 5px 15px;
				border-radius: 30px;
				cursor: pointer;
				white-space: nowrap;
			}

				#Models > div:nth-of-type(2) > div:first-of-type > button.active {
					background: var(--saa-blue);
					color: #fff;
				}

		#Models > div:nth-of-type(2) > div:last-of-type {
			display: flex;
			align-items:center;
			gap: 10px;
		}

			#Models > div:nth-of-type(2) > div:last-of-type > select {
				border-radius: 30px;
				font-size: 12px;
				border: 1px solid var(--saa-blue);
				padding: 5px;
				outline: none;
				order: -1;
				height: 33px;
			}

			#Models > div:nth-of-type(2) > div:last-of-type > img {
				padding: 7px;
				cursor: pointer;
				height: 25px;
				cursor: pointer;
			}

				#Models > div:nth-of-type(2) > div:last-of-type > img.active {
					filter: invert(69%) sepia(59%) saturate(512%) hue-rotate(355deg) brightness(103%) contrast(91%);
				}
/*#endregion */

/*#region Comments */
#Comments {
	background: var(--saa-lightBlue);
	padding: 0 0 50px 0;
	margin-top:50px;
}

	#Comments > p {
		text-align: center;
		margin-top: 45px;
	}

		#Comments > p > a {
			border: 1px solid var(--saa-blue);
			padding: 4px 15px;
			border-radius: 25px;
			background: transparent;
			font-size: 14px;
			transition: 300ms;
			transition-property: background, color;
			cursor: pointer;
			margin-top: 10px;
			color: var(--saa-blue);
		}

			#Comments > p > a:hover {
				color: var(--saa-blue);
				background: var(--saa-yellow);
				border: 1px solid var(--saa-yellow);
			}

	#Comments > div {
		display: grid;
		grid-template-columns: 1fr;
		gap: 50px;
		height: 600px;
		overflow-x: hidden;
		overflow-y: auto;
	}

		#Comments > div::-webkit-scrollbar {
			width: 6px;
		}

		#Comments > div::-webkit-scrollbar-thumb {
			background-color: var(--saa-yellow);
			border-radius: 6px;
			width: 15px;
		}

		#Comments > div::-webkit-scrollbar-track {
			background-color: #cdd8e1;
			width: 5px;
			border-radius: 20px;
		}


.commentsBox {
	background: #fff;
	border: 3px solid #e9f0f6;
	border-radius: 1rem;
	padding: 1rem;
	width: 80%;
	margin: auto;
	box-shadow: 0px 0px 10px 0px rgba(193,213,230,1);
}

	.commentsBox > div:first-of-type {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

		.commentsBox > div:first-of-type > div:first-of-type {
			display: flex;
			gap: 10px;
			align-items: center;
		}

			.commentsBox > div:first-of-type > div:first-of-type > img {
				width: 27px;
				border: 1px solid var(--saa-blue);
				padding: 8px;
				border-radius: 50%;
				margin-right: 10px;
				overflow: visible;
			}

			.commentsBox > div:first-of-type > div:first-of-type > h5 {
				color: var(--saa-blue);
				font-size: 16px;
			}

			.commentsBox > div:first-of-type > div:first-of-type > span:first-of-type {
				height: 5px;
				width: 5px;
				background: var(--saa-blue);
				border-radius: 50%;
			}

			.commentsBox > div:first-of-type > div:first-of-type > span:last-of-type,
			.commentsBox > div:first-of-type > div:last-of-type > span:first-of-type {
				color: #666666;
				font-size: 13px;
			}

		.commentsBox > div:first-of-type > div:last-of-type {
			display: flex;
			gap: 5px;
			align-items: center;
		}


			.commentsBox > div:first-of-type > div:last-of-type > p {
				display: flex;
				align-items: center;
			}

				.commentsBox > div:first-of-type > div:last-of-type > p > i {
					color: var(--saa-yellow);
					font-size: 12px;
				}

	.commentsBox > div:last-of-type {
		width: 81%;
		margin: auto;
	}

		.commentsBox > div:last-of-type > p {
			color: var(--saa-blue);
			font-size: 16px;
			line-height: 22px;
		}

		.commentsBox > div:last-of-type > span {
			display: flex;
			gap: 15px;
			margin: 15px 0;
			color: var(--saa-blue);
		}

			.commentsBox > div:last-of-type > span > span {
				cursor: pointer;
				padding: 8px;
			}

		.commentsBox > div:last-of-type > form > div:first-of-type {
			display: none;
			flex-direction: column;
			gap: 5px;
		}

		.commentsBox > div:last-of-type > form > div > textarea {
			resize: none;
			width: 98%;
			padding: 1%;
			height: 100px;
			margin: 20px 0;
			border: 1px solid #ccd2d9;
			border-radius: 4px;
			outline: none;
			font-family: inherit;
		}

		.commentsBox > div:last-of-type > form > div > button {
			text-align: center;
			background-color: var(--saa-blue);
			transition: background-color .3s cubic-bezier(.25, .46, .45, .94), border-color .3s cubic-bezier(.25, .46, .45, .94);
			border-radius: 4px;
			font-size: 16px;
			padding: 10px 20px;
			cursor: pointer;
			color: #fff;
			font-weight: bold;
			border: none;
			width: 200px;
		}

		.commentsBox > div:last-of-type > span > span:first-of-type {
			padding-left: 0;
		}

		.commentsBox > div:last-of-type > span > a:first-of-type,
		.commentsBox > div:last-of-type > span > a:nth-of-type(2),
		.commentsBox > div:last-of-type > span > a:nth-of-type(3) {
			font-weight: 300;
			font-size: 13px;
		}

		.commentsBox > div:last-of-type > div {
			display: flex;
		}

			.commentsBox > div:last-of-type > div > span {
				display: inline-block;
				width: 20px;
				height: 35px;
				margin-left: 20px;
				border-left: 3px solid gray;
				border-bottom: 3px solid gray;
				opacity: 0.2;
			}

			.commentsBox > div:last-of-type > div > div {
				margin: 30px 0 15px 25px;
			}

				.commentsBox > div:last-of-type > div > div > p:first-of-type {
					color: var(--saa-blue);
					font-size: 16px;
					font-weight: 700;
				}


				.commentsBox > div:last-of-type > div > div > span {
					margin: 5px 0 11px 0;
					display: block;
					color: var(--saa-blue);
				}

				.commentsBox > div:last-of-type > div > div > p:last-of-type {
					display: flex;
					gap: 10px;
				}

					.commentsBox > div:last-of-type > div > div > p:last-of-type > a {
						padding: 5px;
						cursor: pointer;
						font-size: 13px;
						color: var(--saa-blue);
					}

/*#endregion */
/*#region Blog*/
#Blog {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 150px;
	height: max-content;
	min-width: 100%;
}

	#Blog > i:hover {
		background: var(--saa-yellow);
		color: white;
	}

	#Blog > i:first-of-type {
		left: -10px;
	}

	#Blog > i:last-of-type {
		right: 0;
	}

	#Blog > div:first-of-type {
		overflow: hidden;
		position: relative;
		display: flex;
		gap: 1rem;
		width: 100%;
		height: 100%;
	}

	#Blog .swiper-slide a {
		position: relative;
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: end;
		align-items: start;
		height: max-content;
	}

		#Blog .swiper-slide a img {
			width: 100%;
			height: 200px;
			object-fit: cover;
			border-radius: 10px;
			transition: 500ms;
		}

		#Blog .swiper-slide a:hover img {
			filter: brightness(0.85);
		}

		#Blog .swiper-slide a div {
			background: #fff;
			position: relative;
			border-radius: 25px;
			display: flex;
			flex-direction: column;
			justify-content: center;
			height: 100%;
			padding: 10px;
		}

			#Blog .swiper-slide a div > small {
				margin-top: 10px;
				color: var(--saa-yellow);
				font-size: 13px;
				font-weight: 600
			}

			#Blog .swiper-slide a div > h6 {
				font-size: 17px;
				font-weight: 800;
				width: 100%;
				margin: 8px 0;
				color: var(--saa-blue);
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 2;
				overflow: hidden;
				text-overflow: ellipsis;
			}

			#Blog .swiper-slide a div > p {
				color: var(--saa-blue);
				font-size: 14px;
				font-weight: 600;
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 3;
				overflow: hidden;
				text-overflow: ellipsis;
			}

	#Blog .swiper-button-next,
	#Blog .swiper-button-prev {
		background: #f1f8fe;
		width: 45px;
		height: 45px;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
	}

		#Blog .swiper-button-next:after,
		#Blog .swiper-button-prev:after {
			font-size: 19px !important;
			font-weight: bolder !important;
			color: var(--saa-yellow);
		}

	#Blog .swiper-wrapper {
		transform: translate3d(0px, 0, 0);
		padding-bottom: 20px;
	}

	#Blog .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
	#Blog .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
		background: var(--saa-yellow);
		width: 10px;
		height: 10px !important;
		opacity: 0.2;
		transition: 200ms;
	}

	#Blog .swiper-pagination-bullet-active {
		background: var(--saa-yellow);
		opacity: 1 !important;
		width: 25px !important;
		border-radius: 10px;
	}
/*#endregion*/

@media(max-width:1400px) {

	#Comments {
		padding: 50px !important;
	}

	#Models > div:nth-of-type(2) > div:first-of-type > button {
		font-size: 14px;
	}
	#Models > div:nth-of-type(2) > div:last-of-type,
	#Models > div:nth-of-type(2) > div:first-of-type {
		gap: 5px;
	}
}
@media(max-width:1200px) {

	#Models > div:nth-of-type(2) {
		flex-direction: column;
		gap: 1rem;
		align-items: start;
	}
		#Models > div:nth-of-type(2) > div:first-of-type {
			order: 1;
			flex-wrap:wrap;
		}
}
@media(max-width:992px) {

	.menu {
		gap: 1.5rem;
	}

		.menu > *:not(span:last-of-type) {
			font-size: 16px;
		}

	#ModelLine {
		left: 21px !important;
	}

	.commentsBox {
		width: 90%;
	}

		.commentsBox > div:first-of-type > div:first-of-type > img {
			width: 30px;
		}

		.commentsBox > div:first-of-type > div:first-of-type > h5 {
			font-size: 20px;
		}

	div:first-of-type > div:first-of-type > span:last-of-type {
		font-size: 15px;
	}

	.commentsBox > div:first-of-type > div:last-of-type > span:first-of-type {
		font-size: 15px;
	}

	.commentsBox > div:first-of-type > div:last-of-type > span:last-of-type,
	.commentsBox > div:first-of-type > div:first-of-type > span:first-of-type {
		height: 5px;
		width: 5px;
	}

	.commentsBox > div:first-of-type > div:last-of-type > p > i,
	.commentsBox > div:last-of-type > div > div > p:last-of-type > a {
		font-size: 13px;
	}

	.commentsBox > div:last-of-type > p {
		font-size: 15px;
	}

	.commentsBox > div:last-of-type > span > a {
		font-weight: 300;
		font-size: 13px;
	}

	.commentsBox > div:last-of-type > div > div > p:first-of-type {
		font-size: 18px;
	}

	.commentsBox > div:last-of-type > div > div > span {
		font-size: 15px;
	}

	.commentsBox > div:first-of-type > div:first-of-type,
	.commentsBox > div:first-of-type > div:last-of-type {
		gap: 5px;
	}

	#Models > div:nth-of-type(2) {
		flex-direction: column;
		gap: 1rem;
		align-items: start;
	}
		#Models > div:nth-of-type(2) > div:first-of-type > button {
			font-size: 15px;
			font-weight: 500;
			padding: 5px 10px;
		}

		#Models > div:nth-of-type(2) > div:last-of-type {
			gap: 5px;
		}

			#Models > div:nth-of-type(2) > div:last-of-type > select {
				font-size: 13px;
				padding: 5px;
			}

			#Models > div:nth-of-type(2) > div:last-of-type > i {
				font-size: 17px;
				padding: 5px;
			}

}

@media(max-width:768px) {

	.menu {
		justify-content: center;
		gap: 1.3rem !important;
	}

	.commentsBox > div:first-of-type {
		flex-direction: column;
		align-items: start;
		justify-content: center;
		gap: 15px;
		margin-bottom: 15px;
	}

	.commentsBox > div:last-of-type {
		width: 100%;
		margin: 0;
	}


	#Comments form > h1 {
		font-size: 25px;
	}

	#Comments form > textarea {
		width: 90%;
	}

	#Comments form > button {
		font-size: 17px;
	}
	#Models > div:nth-of-type(2) > div:first-of-type > button {
		padding: 5px 8px;
	}

	#Models > div:nth-of-type(2) > div:last-of-type {
		gap: 5px;
	}

	#Models > div:nth-of-type(2) > div:first-of-type {
		gap: 7px;
	}
		#Models > div:nth-of-type(2) > div:first-of-type > button {
			padding: 5px 10px;
			font-size: 11px;
		}
	#CarDetailBtn,
	#CarBtn {
		display: none;
	}

	#Models > div:nth-of-type(2) > div:last-of-type > select {
		font-size: 11px;
		height: 27px;
		padding: 3px 5px;
	}

}

	@media(max-width:576px) {


		.menu {
			gap: 10px !important;
			width: 340px;
		}

			.menu > *:not(span:last-of-type) {
				font-size: 13px;
			}

		#ModelLine {
			left: 21px !important;
			height: 3px;
			bottom: -5px;
		}

		#Comments {
			padding: 0 !important;
		}

			#Comments > div {
				padding: 0 20px;
			}

		#Sss > div > div > span {
			width: 90%;
		}

		.commentsBox > div:first-of-type > div:first-of-type > img {
			padding: 5px;
			border: 2px solid var(--saa-blue);
		}

		.commentsBox > div:first-of-type > div:first-of-type {
			gap: 5px;
			flex-wrap: wrap;
		}

		div:first-of-type > div:first-of-type > span:last-of-type {
			font-size: 15px;
			width: 100%;
		}

		.commentsBox > div:first-of-type > div:first-of-type > span:first-of-type {
			display: none;
		}

		#Comments form > h1 {
			font-size: 20px;
		}

		#Comments form > p > i {
			font-size: 17px;
		}

		#Comments form > textarea {
			height: 50px;
			border-radius: 20px;
			font-size: 13px;
		}

		#Comments form > button {
			font-size: 15px;
		}
		#Models > div:nth-of-type(2) {
			flex-direction: column;
			align-items: start;
			gap: 1rem;
		}


	}


#brandInfo {
	margin-top:3rem;
}










