.custom-block-product-cars-grid {
	background: var(--wp--preset--color--lightblue);
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	padding: 40px 50px 0 50px;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	overflow: hidden;
}
.custom-block-product-cars-grid .tab-content {
	padding: 50px 0 0 0;
	width: 100%;
}
.custom-block-product-cars-grid .product-group-wrapper {
	width: 100%;
}
.custom-block-product-cars-grid .product-group-wrapper > .tab-content {
	padding-top: 0;
	padding-bottom: 50px;
}
.custom-block-product-cars-grid .product-group {
	max-width: 1340px;
	margin: auto;
	padding: 0;
}
.custom-block-product-cars-grid .product-item {
	text-align: center;
	min-width: 335px;
	margin-bottom: var(--bs-gutter-x);
	padding: 0 10px;
	max-width: 335px;
}
.custom-block-product-cars-grid  .wrapper.mobile .product-item {
	max-width: none !important;
}
.custom-block-product-cars-grid .product-item figure  {
	max-width: 80px;
	margin-right: 20px;
}
.custom-block-product-cars-grid .product-item .inner-content {
	background: var(--wp--preset--color--white);
	border-radius: var(--wp--custom--border-radius--medium);
	box-shadow: 0px 3px 10px 3px rgba(2, 2, 2, 0.05);
	padding: 27px 10px;
	min-width: 315px;
	position: relative;
}
.custom-block-product-cars-grid .product-item .inner-content .vaihtoturva {
	/*position: absolute;
	top: -14px;
	background: var(--wp--preset--color--black);
	*/
	position: relative;
	bottom: -15px;
	background: var(--wp--preset--color--lightgreen);
	left: 0px;
	font-size: 13px;
	padding: 5px 20px;
	border-radius: var(--wp--custom--border-radius--large);
	font-weight: 700;
	letter-spacing: -0.01em;
	width: calc(100% - 0px);
}
.custom-block-product-cars-grid .product-item .inner-content .toimitusvelvollisuustuote {
	position: relative;
	bottom: -15px;
	background: var(--wp--preset--color--black);
	color: white;
	left: 0px;
	font-size: 13px;
	padding: 5px 20px;
	border-radius: var(--wp--custom--border-radius--large);
	font-weight: 700;
	letter-spacing: -0.01em;
	width: calc(100% - 0px);
	margin-top: 10px;
}
.custom-block-product-cars-grid .product-item .inner-content .vaihtoturva a {
	color:var(--wp--preset--color--black);
}
.custom-block-product-cars-grid .product-item .inner-content .toimitusvelvollisuustuote a {
	color:var(--wp--preset--color--white);
}
.custom-block-product-cars-grid .product-item .extra-options {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-align: left;
}
.custom-block-product-cars-grid .product-item .product-links .extra-options span {
	display: inline-block;
	width: 14px;
	height: 14px;
	background: transparent url(../../assets/icons/icon-check.svg) no-repeat 0 0;
	background-size: cover;
	margin-right: 3px;
	margin-bottom: -2px;
}
.custom-block-product-cars-grid .product-item .product-links .extra-options a {
	color: var(--wp--preset--color--black);
}
.custom-block-product-cars-grid .product-item .inner-content .top-content{
	width: 100%;
}
.custom-block-product-cars-grid .product-item .inner-content .top-content .sub-content {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	justify-content: flex-start;
	align-items: center;
	margin-top: 10px;
	/*justify-content: flex-start;
	align-items: flex-start;
	*/
}
.custom-block-product-cars-grid .product-item .inner-content .top-content .price-date {
	font-size: 16px;
	font-weight: 700;
	text-align: left;
	letter-spacing: -0.0015em;
	margin-bottom: 0 !important;
}
.custom-block-product-cars-grid .product-item .inner-content .top-content .sub-content  .contract-type {
	border: 2px solid var(--wp--preset--color--green);
	background: transparent;
	color: var(--wp--preset--color--black);
	border-radius: var(--wp--custom--border-radius--large);
	padding: 2px 8px;
	font-size: 13px;
	letter-spacing: -0.015em;
	font-weight: 600;
	margin-bottom: 5px !important;
}

.custom-block-product-cars-grid .product-item .inner-content .top a {
	width: calc(100% - 100px);
}
.custom-block-product-cars-grid .product-item a {
	text-decoration: none;
}
.custom-block-product-cars-grid .product-item h3 {
	text-align: left;
	color: var(--wp--preset--color--black);
	padding-bottom: 0;
	margin-bottom: 0 !important;
}
.api-content-wrapper {
	background: var(--wp--preset--color--lightgreen);
	text-align: center;
	padding: 20px 0 10px 0 ;
}

.api-inner-wrapper .price-wrapper {
	min-height: 135px;
	align-items: center;
	flex-wrap: wrap;
}
.api-inner-wrapper .price-wrapper hr {
	width: 1px;
	height: 100%;
	min-height: 78px;
	background: transparent url(line.svg) repeat-y 0 0;
}
/*.api-inner-wrapper .price-wrapper .divided {
	border-right: 1px dotted #000;
}
.api-inner-wrapper .price-wrapper .divided:nth-child(2) {
	border: 0 !important;
}*/
.api-inner-wrapper .price-wrapper .nomargin{
	margin-bottom: 0px;
	font-weight: 700;
	font-size: 14px;
}
.api-inner-wrapper .price-wrapper h2 {
	margin-bottom: 0;
}
.api-inner-wrapper .price-pretitle {
	width: 100%;
	font-weight: 700;
	font-size: 15px;
}
.custom-block-product-cars-grid .product-item .inner-content .top {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-bottom: 10px;
}
.custom-block-product-cars-grid .product-item h2 {
	font-size: 40px;
	font-family: var(--wp--preset--font-family--proxima-nova);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	font-weight: 700;
	letter-spacing: -0.0015em;
}
.custom-block-product-cars-grid .product-item h2 span {
	font-size: 12px;
	font-weight: 700;
	width: 100%;
}

.custom-block-product-cars-grid .product-item .basic-price-box {
	background: var(--wp--preset--color--white);
	padding: 5px 10px;
	text-align: left;
	width: calc(100% - 20px);
	margin: auto;
	max-width: 300px;
	border-radius: var(--wp--custom--border-radius--large);
}
.custom-block-product-cars-grid .product-item .basic-price-box p {
	margin-bottom: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
	font-weight: bold;
	padding: 0 10px;
}
.custom-block-product-cars-grid .product-item .basic-price-box p strong {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.0015em;
}
.custom-block-product-cars-grid .product-item .basic-price-box span {
	font-size: 12px;
	font-weight: 400;
}
.custom-block-product-cars-grid header {
	width: 100%;
	text-align: center;
}
.custom-block-product-cars-grid .tabs-nav {
	width: 100%;
	margin: auto;
}
.custom-block-product-cars-grid .tabs-nav .nav-item{
	margin-bottom: 10px;
	margin-top: 10px;
}
.custom-block-product-cars-grid .nav-tabs {
	border: none;
	background: #fff;
	border-radius: var(--wp--custom--border-radius--medium);
	display: inline-flex;
	padding: 8px 10px 8px 10px;
	margin: 50px 20px 0 20px;
	font-family: var(--wp--preset--font-family--proxima-nova);
}

.custom-block-product-cars-grid .nav-tabs .nav-link {
	border-radius: var(--wp--custom--border-radius--medium);
	color: #000 !important;
	margin: 0 10px 0px 10px;
	border: 2px solid #efefef;
	font-family: var(--wp--preset--font-family--proxima-nova);
	font-size: 15px;
	font-weight: 700;
	padding: 10px 30px;
	transition: all 0.3s ease;
}
.custom-block-product-cars-grid .nav-tabs .nav-link:hover {
	background: #f2f2f2;
}
.custom-block-product-cars-grid .nav-tabs a.nav-link {
	line-height: 1.25;
}

.custom-block-product-cars-grid .nav-tabs .nav-item .nav-link.active {
	border-radius: 10px;
	color:#fff !important;
	background: #000 !important;
	border: 2px solid #000;
}
.custom-block-product-cars-grid .product-links {
	display: flex;
	justify-content: space-between;
}
.custom-block-product-cars-grid .product-links p,.custom-block-product-cars-grid .product-links {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0;
}
.custom-block-product-cars-grid .product-links .btn-primary {
	border-radius: var(--wp--custom--border-radius--large);
	background-color: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--white);
	font-weight: 700;
	padding: 10px 25px;
	letter-spacing: -0.01em;
	border: 0;
}
.custom-block-product-cars-grid .product-links .btn-primary:hover {
	background: #1D63FF;
	color: var(--wp--preset--color--white);
}
.custom-block-product-cars-grid .product-links .btn-outline {
	text-decoration: underline;
}
.custom-block-product-cars-grid .vat {
	font-weight: 700;
	font-size: 12px;
	letter-spacing: -0.01em;
	margin-top: 13px;
}
.custom-block-product-cars-grid .vat p {
	margin-bottom: 0;
}
.custom-block-product-cars-grid .short-desc {
	margin-top: 20px;
	min-height:85px;
	font-size: 13px;
}
.custom-block-product-cars-grid .product-group .wrapper.mobile {
	display: none;
}
.carousel-control-next {
	right: 0px !important;
	width: 55px !important;
}
.carousel-control-prev {
	left: 0px !important;
	width: 55px !important;
}
.carousel-control-next, .carousel-control-prev {
	opacity: 1 !important;
}
.custom-block-product-cars-grid .carousel-control-next-icon,.custom-block-product-cars-grid .carousel-control-prev-icon {
	background: var(--wp--preset--color--white) url(arrow-carousel.svg) no-repeat 15px 50%;
	background-size: 7px;
	box-shadow: 0px 3px 10px 3px rgba(2, 2, 2, 0.05);
	border-radius: 50px;
	width: 40px;
	height: 40px;
}
.custom-block-product-cars-grid .carousel-control-next-icon {
	transform: rotate(180deg);
}

.custom-block-product-cars-grid .extra-value {
	font-size: 15px;
}

.custom-block-product-cars-grid #yritysasiakas .api-content-wrapper {
	background-color: #CDDAE7;
}
.custom-block-product-cars-grid #yritysasiakas hr {
	display: none;
}
.custom-block-product-cars-grid #yritysasiakas .product-item .inner-content .top-content .sub-content .contract-type {
	border-color: #CDDAE7;
}
.custom-block-product-cars-grid .divided {
	width: calc(50% - 1px);
}
.custom-block-product-cars-grid #yritysasiakas .divided {
	width: 100%;
}
.custom-block-product-cars-grid #yritysasiakas .divided.first {
	padding-top: 20px;
}






#ostajan-opas {
	position: relative;
	background: white;
	border-radius: 10px;
	margin: 50px auto 0;
	max-width: 1200px;
	padding: 40px 40px 20px 40px;
	width: calc(100% - 80px);

}
#ostajan-opas .opas-options .opas-btn.selected{
	background: var(--wp--preset--color--blue);
	color:white;
}

#opas-results {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 1340px;
	margin: auto;
}
.opas-options {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
}

#opas-contract-tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 50px;
}

.opas-step {
	display: none;
	text-align: center;
	padding-bottom:40px;
}
.opas-step.active {
	display: block;
}
.opas-step h5 {
	padding-bottom: 5px;
}
.opas-btn {
	background: transparent;
	border: 2px solid #F2F2F2;
	padding: 10px 20px;
	border-radius:10px;
	font-size: 15px;
	font-weight: 700;
	transition: all 0.3s ease;
}
.opas-btn:hover {
	background: #F2F2F2;
}
.opas-btn span {
	font-size: 12px;
}
.opas-step.locked .opas-btn.selected {
	opacity: 1;

}

#opas-open-btn {
	background: var(--wp--preset--color--blue);
	color:white !important;
	border: 1px solid var(--wp--preset--color--blue);
}

#opas-results .desktop {
	display: flex;
}
#opas-results .mobile {
	display: none;
}
.opas-close-btn {
	position: absolute;
	top: 20px;
	right: 20px;
	background: transparent;
	border: 0;
	background: transparent url(carbon_close-filled.svg) no-repeat 0 0;
	background-size: 32px;
	text-indent: -9000px;
	display: block;
	width: 32px;
	height: 32px;
}
#opas-results-wrapper.tax-selected {
	padding-top: 50px;
}

@media screen and (max-width: 1100px) {
	.custom-block-product-cars-grid {
		padding-left: 0;
		padding-right: 0;
	}
	.custom-block-product-cars-grid .nav-tabs {
		margin-left: 20px;
		margin-right: 20px;
	}
	.custom-block-product-cars-grid .tab-content {
		.wrapper {
			padding: 0 60px;
		}
	}
}
@media screen and (max-width: 768px) {
	.custom-block-product-cars-grid .product-group .wrapper {
		display: none;
	}
	.custom-block-product-cars-grid .product-group .wrapper.mobile {
		display: block;
		overflow: hidden;
		margin: 0;
	}
	.custom-block-product-cars-grid .product-item .inner-content .vaihtoturva {
		top: 14px;
		position:relative;
		max-width: 280px;
		margin: 10px auto;

	}
	.custom-block-product-cars-grid .product-item .inner-content .toimitusvelvollisuustuote {
		top: 14px;
		position:relative;
		max-width: 280px;
		margin: auto;
	}
	.custom-block-product-cars-grid .tab-content {
		.wrapper {
			padding: 0;
		}
	}
	#opas-results .desktop {
		display: none;
	}
	#opas-results .mobile {
		display: block;
		width: 100%;
	}
}
@media screen and (max-width: 500px) {
	.custom-block-product-cars-grid .nav-tabs .nav-item {
		min-width: calc(100% - 40px);
	}
	.custom-block-product-cars-grid .nav-tabs .nav-item button{
		min-width: 100%;
		margin: 0;
	}
}
@media screen and (max-width: 380px) {
	.custom-block-product-cars-grid .product-item {
		min-width: 100%;
		max-width: 100%;
		padding: 0 10px;
	}
	.custom-block-product-cars-grid .product-item .inner-content {
		min-width: 100%;
	}
}
