/*!
Titan Quote Tool styles
*/

/* WOO hacks */

.woocommerce table.woocommerce-checkout-review-order-table thead,
.woocommerce table.woocommerce-checkout-review-order-table tfoot {
    display: none !important;
}

.woocommerce table.woocommerce-checkout-review-order-table tbody {
    font-weight: bold;
}

.woocommerce table.woocommerce-checkout-review-order-table tbody td {
    border-top: none;
}

/* Buttons
--------------------------------------------- */
.btn-arrow {
	background-repeat: no-repeat;
	background-size:18px 18px;
	position: relative;
}

.btn-arrow-left {
    background-image: url('../../images/A/left-arrow.png');
	background-position: left 18px center;
}

.btn-arrow-left:hover {
    background-image: url('../../images/A/left-arrow-white.png');
}

.btn-arrow-right {
    background-image: url('../../images/A/right-arrow.png');
	background-position: right 18px center;
}

.btn-arrow-right:hover {
    background-image: url('../../images/A/right-arrow-white.png');
}

.btn-dark.btn-arrow-left,
.btn-dark.disabled.btn-arrow-left {
    background-image: url('../../images/A/left-arrow-white.png');
}

.btn-dark.btn-arrow-right,
.btn-dark.disabled.btn-arrow-right {
    background-image: url('../../images/A/right-arrow-white.png');
}

.btn-primary.btn-arrow-right:hover,
.btn-primary.btn-arrow-right.disabled {
    background-image: url('../../images/A/right-arrow-white.png');
}

.btn-arrow-grey {
    background-image: url('../../images/A/right-arrow-grey.png');
	background-position: right 18px center;
}


/* Checkmarks
--------------------------------------------- */
.selected-checkmark {
	padding-left: 0; 
	position: relative;
	display: inline-block; 
}

.selected-checkmark::before {
	border: solid currentColor; /* inherits text color */
	border-width: 0 3px 3px 0;
	content: "";
	height: 14px;
	position: absolute;
	left: -20px; /* space to the left of the text */
	top:11px;
	transform: translateY(-50%) rotate(45deg);
	width: 8px;
}


/* Spacing
--------------------------------------------- */
	@media (max-width: 767.98px) {
		.qt-spacer {
			margin:1rem 0;
		}
	}


/* Header steps
--------------------------------------------- */
.qt-steps {
	display: flex;
	align-items: center;
	gap:40px; 
}

.qt-steps a,
.qt-steps a:hover,
.qt-steps a:visited {
    color: #18161b;
    text-decoration: none;
}

.qt-step {
	border: 2px solid #aaa;
	border-radius: 50%;
	display: flex;
	height: 40px;
	width: 40px;
	align-items: center;
	justify-content: center; 
}

.qt-step.completed {
	background:#cadadb;
}

.qt-step.active {
	background:#9cb8bb;
}

.qt-step.final {
	background:#9cb8bb;
}


/* Footer Navigation 
--------------------------------------------- */
.qt-nav-buttons-wrapper {
	margin-left:auto;
	margin-right:auto;
}
	
	@media (max-width: 767.98px) {
		.qt-nav-buttons {
			background:#e7e7e7;
			padding:2rem 2rem;
		}
	}

.qt-nav-buttons .full-width {
	max-width:350px; 
}

.qt-nav-buttons .btn-arrow {
	min-width:150px;
}


/* Your details error alerts
--------------------------------------------- */
.qt-form input.error, textarea.error {
    background-color: #fff;
}

.qt-form .error-message {
    color: #e74c3c;
    display: block;
    font-size: 0.875rem;
    margin-top: 1rem;
    width: 100%;
}


/* Custom Select Boxes
--------------------------------------------- */
.qt-form .select-wrapper {
	position:relative;
}

.qt-form .select-wrapper.mt-6,
.qt-form .radio-wrapper.storage-type.mt-6,
.qt-form .radio-wrapper.storage-reason.mt-6 {
	margin-top:4rem;
}

	@media (max-width: 767.98px) {
		.qt-form .select-wrapper.mt-6,
		.qt-form .radio-wrapper.storage-type.mt-6,
		.qt-form .radio-wrapper.storage-reason.mt-6 {
			margin-top:2.5rem;
		}
	}

.qt-form .custom-select {
	appearance: none;
	background-color: #fff;
	border: 2px solid #333;
	border-radius:14px;
	box-sizing: border-box;
	cursor: pointer;
	height: 100%;
	font-size: 1.2rem;
	font-weight:500;
	line-height:70px;  
	padding: 0 50px 0 20px; 
	width: 100%;
	text-align: left;   
	-webkit-appearance: none;
	-moz-appearance: none;
}

.qt-form .select-wrapper::after {
    background: url('../../images/A/Dropdown-Arrow.png') no-repeat center center;
	background-size: contain;
	content: '';
	height: 30px;
	position: absolute;
	right: 20px;
	top: 50%;
	width: 30px; 
	transform: translateY(-50%);
	pointer-events: none;
}


/* Radio buttons
--------------------------------------------- */
.qt-form .radio-wrapper {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	gap: 30px;
}

/* Hide the native radio */
.qt-form .custom-radio input {
	display: none;
}

.qt-form .custom-radio {
	background-color:#fff;
	border: 2px solid #222;
	border-radius:14px;
	cursor: pointer;
	flex: 0 0 calc(33.333% - 30px);
	font-size: 1.2rem;
	font-weight:500;
	line-height:70px;  
	position: relative;
	padding:0 50px 0 20px;
	text-align:left;
	transition: all 0.3s ease;
	user-select: none;
}

	@media (min-width: 992px) {
		.qt-form .storage-type {
			justify-content: center;
			margin: 0 auto;	
		}
	}

	@media (max-width: 1199.98px) {
		.qt-form .storage-type .custom-radio,
		.qt-form .storage-reason .custom-radio {
			flex: 0 0 calc(50% - 30px);
		}		
	}

	@media (max-width: 767.98px) {
		.qt-form .storage-type .custom-radio,
		.qt-form .storage-reason .custom-radio {
			flex: 0 0 100%; 
			max-width: 100%; 
		}		
	}

.qt-form .custom-radio .checkmark {
	background: #fff;
	border:2px solid #18161b;
	border-radius: 50%;
	height: 28px;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	transition: all 0.3s ease;
}

/* Checked state */
.qt-form .custom-radio.checked .checkmark {
	background:#18161b;
	border-color:#18161b;
}

/* Checkmark inside */
.custom-radio.checked .checkmark::after {
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: "";
	height: 14px;
	left:8px;
	position: absolute;
	top:4px;
	width: 8px;
	transform: rotate(45deg);
}


/* Size estimator
--------------------------------------------- */
.size-estimator {
	margin:2rem auto 0 auto;
	max-width: 1100px;
}

.size-estimator .pills-container {
	position: relative;
}

.size-estimator .pills-swiper {
	margin: 0 auto;
	width: calc(100% - 80px);
}

.size-estimator .pills-swiper .swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
}

.size-estimator .pill {
	background-color:#bdcccd;
	border: 2px solid #18161b;
	border-radius:12px;
	color: #18161b;
	cursor: pointer;
	font-size:1.125rem;
	font-weight:500;
	opacity:30%;
	padding:20px 35px 20px 0;
	position: relative;
	text-align:center;	
	transition: all 0.3s ease;
	white-space: nowrap;
	width: 100%;
}

.size-estimator .pills-swiper .swiper-slide-thumb-active .pill,
.size-estimator .pills-swiper .swiper-slide-thumb-active .pill .tick {
	background-color:#c3d4d6;
	opacity:100%;
}

.size-estimator .pill .checkmark-wrapper {
	background: #18161b;
	border: 2px solid #18161b;
	border-radius: 50%;
	height: 28px;
	width: 28px;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.3s ease;
}

.size-estimator .pill .checkmark {
	position: absolute;
	content: "";
	left: 8px;
	top: 4px;
	width: 8px;
	height: 14px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	transition: all 0.3s ease;
}
        
/* Navigation arrows */
.size-estimator .swiper-button-next, 
.size-estimator .swiper-button-prev {
	color: #18161b;
	border: 2px solid #18161b;
	background-color: white;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	top: 50%;
	margin-top: 0;
	transform:translateY(-50%);
}

.size-estimator .swiper-button-prev {
	left: 0;
}

.size-estimator .swiper-button-next {
	right: 0;
}

.size-estimator .swiper-button-next:after, 
.size-estimator .swiper-button-prev:after {
	font-size: 16px;
	font-weight:800;
}
        
/* Main image styling */
.size-estimator .main-swiper {
	overflow: hidden;
}
        
.size-estimator .main-swiper .swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
}

.size-estimator .main-swiper .swiper-slide img {
	max-height:250px !important;
	width:auto !important;
}

	@media (min-width: 1920px) {
		.size-estimator .main-swiper .swiper-slide img {
			max-height:320px !important;
		}
	}
        
	@media (max-width: 991px) {
		.size-estimator .pills-container {
			padding-left:10px;
			padding-right:10px;
		}
		.size-estimator .pills-swiper {
			width: calc(100% - 60px);
		}
	}
	
	@media (max-width: 575px) {
		.size-estimator .pills-swiper {
			width: calc(100% - 50px);
		}
		.size-estimator .pills-swiper .pill {
			max-width:200px;
		}
	}
	
.size-estimator .tooltip-wrapper {
	max-width:900px;
	text-align:center;
}
	
	@media (max-width: 991.98px) {
		.size-estimator .tooltip-wrapper {
			background: #e7e7e7;
			border-radius: 14px;
			display:block;
			padding: 10px 25px;
			position: relative;
			max-width:390px;
			text-align:center;
		}
		.size-estimator .tooltip-wrapper::after {
			border-width: 0 8px 8px 8px;
			border-style: solid;
			border-color: transparent transparent #e7e7e7 transparent;
			content: "";
			left: 50%;
			position: absolute;
			top: -8px;
			transform: translateX(-50%);
		}
	}

.swiper-lazy-preloader {
	border-color: #18161b transparent transparent transparent !important;
	border-width: 2px !important;
	height: 30px !important;
	width: 30px !important;
}