/*
Theme Name: Elementor Child Theme
Author: 
Description: Your description goes here
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

.elementor-testimonial__content {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
}

.drivescout-services .drivescout-products .card .card-header {
    background-color: var(--e-global-color-accent);
    height: 0 !important;
}

.drivescout-services .drivescout-products .card .card-footer .add-to-cart {
    background-color: var(--e-global-color-accent) !important;
    font-family: var(--e-global-typography-accent-font-family);
    border-radius: 0 !important;
    display: inline-block;
}
.drivescout-services .drivescout-products .card .product-description p, .drivescout-services .drivescout-products .card .product-description span{
    font-family: var(--e-global-typography-text-font-family);
    color: #A4A4A4 !important;
}

.drivescout-services .drivescout-products .card .product-name {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 500;
    color: var(--e-global-color-secondary);
}

.drivescout-services .drivescout-products .card .price {
    font-family: var(--e-global-typography-primary-font-family);
    color: var(--e-global-color-accent);
    color: #fff;
    background-color: #FFFFFF00;
    background-color: #FFFFFF1F;
}
.drivescout-services .proceed-to-checkout-inner {}

.drivescout-services .proceed-to-checkout-inner section.proceed-to-checkout-inner2 {
    border-color: var(--e-global-color-accent) !important;
}

.drivescout-services .proceed-to-checkout-inner .continue-to-checkout-button {
    background-color: var(--e-global-color-accent) !important;
    color: var(--e-global-color-primary) !important;
}

.drivescout-services .proceed-to-checkout-inner .continue-shopping-button {
    color: var(--e-global-color-primary) !important;
    padding: 0 !important;
}
#drivescout-checkout {
    font-family: var(--e-global-typography-text-font-family);
}
#drivescout-checkout .section-header {
    background-color: transparent;
    padding: 0;
}

#drivescout-checkout .section-header button {
    background-color: transparent;
    padding: 0;
    text-align: left;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--e-global-color-primary);
}

#drivescout-checkout .slide-panel {
    padding: 0;
    border: 0;
    =: 0;
    box-shadow: unset;
}

#drivescout-checkout .slide-panel .form-group {}

#drivescout-checkout .slide-panel .form-group label {
    margin-bottom: 10px;
}

#drivescout-checkout .drivescout-checkout-button {
    background-color: var(--e-global-color-accent) !important;
    color: var(--e-global-typography-primary-font-family);
    font-size: 16px;
    min-width: 200px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
}

#drivescout-checkout .container {
    display: flex;
    align-items: flex-start;
}

#drivescout-checkout .container+section {}

#drivescout-checkout .sm\:w-1\/4 {
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    border-radius: 10px;
}

#drivescout-checkout section .w-full.sm\:w-1\/4.sm\:mr-12 {}

#drivescout-checkout section section:first-child {}

#drivescout-checkout .text-2xl {
    margin-bottom: 0;
}

#drivescout-checkout  .product-description {
    padding: 0;
}

.drivescout-services .drivescout-products {
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
}

.drivescout-services .drivescout-products .card {
    width: 49%;
    /* flex-wrap: wrap; */
    background-color: #1F1F1F;
    border: 1px solid #FFFFFF1A;
    padding-left: 250px;
    position: relative;
    z-index: 1;
}

.drivescout-services .drivescout-products .card:nth-child(2),.drivescout-services .drivescout-products .card:nth-child(3) {
    order: -1;
}

.drivescout-products .card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}

.drivescout-products .card-body .price {
	order: -1;
	padding: 10px;
	background-color: #000;
	display: flex;
	flex: 0 0 auto;
	margin: 0;
	font-size: 18px;
}
.drivescout-services .drivescout-products .card:before {
    content: '';
    background-image: url(/wp-content/uploads/2025/08/package-2-1.png);
    width: 230px;
    height: calc(100% - 36px);
    left: 16px;
    position: absolute;
    background-repeat: no-repeat;
    top: 50%;
    z-index: 1;
    background-size: cover;
    transform: translateY(-50%);
    background-position: center center;
}
.drivescout-products .card-footer {
    z-index: 2;
}
.product-description:not(.page-id-2 .product-description) {
    height: 80px;
    overflow-y: auto;
    padding-right: 10px;
    overflow-x: hidden;
    margin: 0;
}

.product-description {}

/* width */
.product-description::-webkit-scrollbar {
  width: 2px;
}

/* Track */
.product-description::-webkit-scrollbar-track {
  background: #f1f1f114;
}

/* Handle */
.product-description::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
.product-description::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.drivescout-services .drivescout-products .card:nth-child(2):before {
    background-image: url(/wp-content/uploads/2025/09/first-driving-lesson-ds-seo-article-optimised.png);
}
.drivescout-services .drivescout-products .card:nth-child(3):before {
    background-image: url(/wp-content/uploads/2025/09/driving-school-insurance-2nd-Image.jpg);
}
.drivescout-services .drivescout-products .card:nth-child(4):before {
    background-image: url(/wp-content/uploads/2025/09/gettyimages-936365748-1524313122.avif);
}
.drivescout-services .drivescout-products .card:nth-child(5):before {
    background-image: url(/wp-content/uploads/2025/09/5.webp);
}
#drivescout-checkout .cart .cart-item .block .mt-12 {
    margin-top: 0;
}
@media screen and (max-width: 1239px){
	.drivescout-services .drivescout-products .card {
		width: 48%;
		padding-left: 200px;
	}

	.drivescout-services .drivescout-products .card:before {
		width: 180px;
	}

	.elementor-testimonial__text span {
		font-size: 34px !important;
		display: block;
		line-height: 1.2 !important;
	}
	#testimonial-section {
		background-position: 0px 30px !important;
	}

	#testimonial-section .elementor-swiper-button {
		bottom: 30px !important;
		top: auto !important;
		transform: unset !important;
	}
	.custom-icons .elementor-swiper-button-prev{
		top: auto !important;
	}
}
@media screen and (max-width: 959px){
	.drivescout-services .drivescout-products .card {
		width: 100%;
	}

	.elementor-testimonial__image img {
		width: 230px !important;
		height: 260px !important;
	}

	.elementor-testimonial__footer {
		padding-right: 30px !important;
	}
	#testimonial-section .elementor-swiper-button.elementor-swiper-button-prev {
		left: calc(50% - 30px) !important;
	}
}
@media screen and (max-width: 767px){
	.elementor-testimonial {
		flex-direction: column-reverse !important;
		gap: 10px !important;
	}

	.elementor-testimonial__image img {
		width: 100% !important;
		height: 400px !important;
	}

	.elementor-testimonial__footer {
		padding: 0 !important;
	}
	#banner-carousel .elementor-swiper-button.elementor-swiper-button-prev {
		left: 0px !important;
        top: -50px !important;
	}
	#banner-carousel .elementor-swiper-button.elementor-swiper-button-next {
		right: 0 !important;
		left: 60px !important;
        top: -50px !important;
	}
}
@media screen and (max-width: 479px){
	.drivescout-services .drivescout-products .card {
		padding-left: 0 !important;
		padding-top: 250px;
	}

	.drivescout-services .drivescout-products .card:before {
		width: calc(100% - 30px);
		transform: translateX(-50%);
		left: 50%;
		top: 16px;
		height: 240px;
	}

	.elementor-testimonial__image img {
		height: 280px !important;
	}

	.elementor-testimonial__text span {
		font-size: 28px !important;
		margin-bottom: 10px;
	}

	.elementor-testimonial__text br {
		display: none;
	}
}