.ft-main * {
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	font-size: 15px;
}

input:focus,
button:focus {
    outline: none !important;
}

.ft-submit-form-field input {
    position: relative;
}

.ft-main {
	max-width: 1300px;
	margin: auto;
}

.ft-main-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 30px 0;
	background: #fff;
}

.ft-main-notice p {
    background: #ff000014;
    padding: 10px;
    border-radius: 4px;
    font-weight: 500;
    color: red;
    font-style: italic;
}

.ft-main-filter {
	width: 100%;
	max-width: 300px;
}

.ft-main .nice-select {
    display: none !important;
}

.ft-main-body {
    display: flex;
    gap: 20px;
    position: relative;
    align-items: flex-start;
    justify-content: flex-end;
}

.ft-category {
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
	padding: 20px;
	box-shadow: 0 2px 18px 0 rgb(0 0 0 / 12%);
	border-radius: 8px;
}

.prettycheckbox {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.prettycheckbox a {
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    overflow: hidden;
    margin-right: 10px;
    border: 3px solid #39b54a;
    border-radius: 3px;
    background-color: #fff;
}

.prettycheckbox label {
    padding: 0 !important;!i;!;
    line-height: 1rem;
}

a.checked {
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMiAxMiI+PHBvbHlsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIzIiBwb2ludHM9IjEuMDc5IDQuOTk5IDUgOSAxMC44MzcgMiIvPjwvc3ZnPg==) center / cover no-repeat;
    background-color: #38b249;
}

.ft-category h2 {
    color: #353535;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 0;
}

.ft-main-cart {
    display: flex;
    justify-content: flex-end;
}

.ft-main-cart a {
	width: 75px;
	height: 75px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 100%;
	background: #E7F6E9;
	text-decoration: none;
	position: relative;
}

.ft-main-cart a span.ft-cart-number {
	position: absolute;
	top: 0;
	right: 0;
	background: #F73019;
	width: 20px;
	height: 20px;
	border-radius: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #FFF;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: 30px; /* 214.286% */
}

.ft-contents {
	display: flex;
	flex-direction: column;
	gap: 30px;
	width: calc(100% - 300px);
}

.ft-category-testing {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 20px;
}

.ft-category-testing-header{
	width: 100%;
}

.ft-category-testing-header h2 {
	color: #353535;
	font-size: 24px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	margin-bottom: 15px;
}

.ft-category-testing-body {
	border-radius: 8px;
	border: 1px solid rgba(53, 53, 53, 0.12);
	background: #FFF;
	padding: 20px;
	width: 300px;
	transition: 0.3s ease-in-out;
	position: relative;
}

.ft-category-testing-body:hover {
	box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.04), 0px 8px 16px 0px rgba(0, 0, 0, 0.08);
}

.ft-category-testing-card {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.ft-category-testing-card-header {
	border-radius: 20px;
	overflow: hidden;
	max-width: 375px;
}

.ft-category-testing-card-header img {
	width: 100%;
}

h3.ft-category-testing-card-title {
	color: #353535;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	min-height: 50px;
}

span.ft-category-testing-price {
    min-height: 20px;
    display: inline-block;
    background: #0083ca;
    padding: 2px 10px;
    border-radius: 50px;
    position: absolute;
    top: 30px;
    left: 30px;
    color: #fff;
    font-size: 14px;
}

.ft-category-testing-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

a.ft-category-testing-info {
	border-radius: 4px;
	background: #FFF;
	display: inline-flex;
	height: 42px;
	padding: 13px 0px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	color: #353535 !important;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

a.ft-category-testing-add {
	border-radius: 4px;
	background: #39B54A;
	border: 1px solid #39B54A;
	display: flex;
	width: 158px;
	padding: 13px 12px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	color: #FFF !important;
	font-family: Montserrat;
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	transition: 0.3s ease-in-out;
}

a.ft-category-testing-add:hover {
	background: #fff;
	color: #39B54A !important;
}

a.ft-category-testing-add:hover svg path {
	fill: #39B54A;
}

a.ft-category-testing-add.added {
	background: #fff !important;
	color: #39B54A !important;
	/* pointer-events: none !important; */
}

a.ft-category-testing-add.added:before {
	content: "";
	position: relative;
	width: 5px;
	height: 12px;
	border: 1px solid #39B54A;
	transform: rotate(45deg);
	border-top: 0;
	border-left: 0;
}

.ft-category-testing-add.loading {
    pointer-events: none;
}

.ft-category-testing-add.loading:before {
    content: "";
    height: 15px;
    width: 15px;
    border-radius: 50%;
    border: 2px solid #fff;
    border-top-color: #39b54a;
    animation: spin 1s linear infinite;
}

.ft-category-testing-add.loading span.ft-btn-icon,
a.ft-category-testing-add.added span.ft-btn-icon {
	display: none;
}

.hide-select {
	display: none !important;
}

.select {
	position: relative;
}

ul.select-options {
	position: absolute;
	list-style: none;
	padding: 0;
	width: 100%;
	background: #ecfbef;
	top: 100%;
	left: 0;
	transform: translate(0px, 0%);
	border-radius: 8px;
	color: #1e1e1e;
	display:none;
	max-height: 250px;
	overflow-y: auto;
	border: 1px solid rgba(138,98,165,.3);
}

ul.select-options.active{
	z-index: 9999;
}

ul.select-options li {
	display: flex;
	align-items: center;
	padding: 10px 5px 10px 25px;
	transition: 0.5s ease-in-out;
	cursor: pointer;
	font-size: 13px;
}

ul.select-options li:first-child {
	border-radius: 10px 10px 0 0;
}

ul.select-options li:last-child {
	border-radius: 0 0 10px 10px;
}


ul.select-options li:hover {
	background: #fff;
	transition: 0.5s ease-in-out;
	color: #000;
}

.custom-select {
	display: flex;
	align-items: center;
	width: auto;
	border-radius: 8px;
	border: 1px solid rgba(53, 53, 53, 0.16);
	background: #FFF;
	padding: 13px 20px;
	height: 40px;
	cursor: pointer;
	color: #353535;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.custom-select:after {
	content: "";
	position: absolute;
	right: 15px;
	top: 45%;
	transform: translate(0px, -50%) rotate(135deg);
	width: 10px;
	height: 10px;
	border: 1px solid #39B54A;
	border-left: 0;
	border-bottom: 0;
	transition: 0.5s ease-in-out;
}

/* Test details popups */

.ft-success-message-popup,
.ft-submit-details-popup,
.ft-cart-details-popup,
.ft-view-details-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 99999;
}

.ft-success-message-popup-overlay,
.ft-submit-details-popup-overlay,
.ft-cart-details-popup-overlay,
.ft-view-details-popup-overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	background: #00000054;
	transition: 0.3s ease-in-out;
}

.ft-view-details-popup-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	border-radius: 8px;
	background: #FFF;
	box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.04), 0px 8px 16px 0px rgba(0, 0, 0, 0.08);
	padding: 20px;
	gap: 20px;
	width: 95%;
	max-width: 900px;
}

.ft-success-message-popup-content,
.ft-submit-details-popup-content,
.ft-cart-details-popup-content {
	max-width: 600px;
	width: 90%;
	position: absolute;
	right: -100%;
	background: #fff;
	height: 100%;
	padding: 40px;
	transition: 0.3s ease-in-out;
}

.ft-success-message-popup-content.active,
.ft-submit-details-popup-content.active,
.ft-cart-details-popup-content.active {
	right: 0%;
}

.ft-success-message-popup-close,
.ft-submit-details-popup-close,
.ft-cart-details-popup-close,
.ft-view-details-popup-close {
	position: absolute;
	right: 10px;
	top: 10px;
}

.ft-view-details-popup-content-img {
	max-width: 340px;
	min-width: 300px;
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
}

.ft-cart-details-popup-content-img img,
.ft-view-details-popup-content-img img {
	width: 100%;
	height: 100%;
}

.ft-view-details-popup-content-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
}

.ft-success-message-popup-content-info-heading,
.ft-submit-details-popup-content-info-heading,
.ft-cart-details-popup-content-info-heading,
.ft-view-details-popup-content-info-heading {
	color: #000;
	font-size: 24px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	padding-bottom: 20px;
	border-bottom: 1px solid #3535351F;
}

.ft-success-message-popup-content-info-heading,
.ft-submit-details-popup-content-info-heading,
.ft-cart-details-popup-content-info-heading{
	border: none;
}

.ft-view-details-popup-content-info-para {
	color: #000;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.ft-cart-item-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
	height: auto;
	max-height: 80vh;
	overflow-y: scroll;
}

.ft-cart-item {
	display: flex;
	align-items: center;
	gap: 10px;
	border-radius: 8px;
	border: 1px solid rgba(53, 53, 53, 0.12);
	background: #FFF;
	padding: 12px;
}

.ft-cart-item-img {
	width: 40px;
	overflow: hidden;
	border-radius: 8px;
}

.ft-cart-item-img img {
	width: 100%;
	border-radius: 8px;
}

.ft-cart-item-title {
    width: 60%;
}

.ft-cart-item-title h3 {
	color: #353535;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}

.ft-cart-item-img img {
    max-width: 30px;
    width: 100%;
    border-radius: 8px;
}

.ft-cart-item-price > span {
    padding: 5px;
}

.ft-cart-item-price span,
.ft-cart-item-price strong{
    font-size: 13px !important;
}

.ft-cart-item-total p {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    gap: 10px;
}

.ft-cart-item-empty {
    background: #fce6e6;
    border-radius: 4px;
    padding: 20px;
}

.ft-cart-item-empty h2 {
    font-size: 16px;
    margin: 0 !important;
}

.ft-cart-item-container::-webkit-scrollbar-track{
	-webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 0%);
	border-radius: 1px;
	background-color: #eefff0;
}

.ft-cart-item-container::-webkit-scrollbar{
	width: 5px;
	background-color: #eefff0;
}

.ft-cart-item-container::-webkit-scrollbar-thumb{
	border-radius: 2px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #39b54a;
}

/*
* Number style
*/
.number-style-qty {
	position: relative;
	border-radius: 6px;
	background-color: #fff;
	overflow: hidden;
	box-shadow: 0 1px 6px rgb(193 193 193 / 78%);
	display: flex;
	padding: 5px;
	background: rgba(53, 53, 53, 0.08);
}

.number-style-qty input,
.number-style-qty .qty-btn {
	position: relative;
	display: block;
	float: left;
	height: 20px;
	padding: 0;
	margin: 0;
	border: 0px;
	text-align: center;
	line-height: 20px;
	outline: 0;
	box-shadow: 0px;
}

.number-style-qty .qty-btn {
	width: 20px;
	font-size: 18px;
	cursor: pointer;
	z-index: 2;
	user-select: none;
	transition: all 250ms ease;
	color: #353535;
}  

.number-style-qty .qty-btn.disabled {
	cursor: default;
	color: #000;
}

.number-style-qty input {
	width: 20px;
	border-left: 1px solid #3535351F;
	border-right: 1px solid #3535351F;
	font-size: 14px;
	font-weight: 700;
	z-index: 1;
	background: transparent;
	color: #39B54A;
}

.number-style-qty input:focus {
	outline: 0;
	box-shadow: 0px;
}
	
.number-style-qty input[type=number]::-webkit-inner-spin-button,
.number-style-qty input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
	
.number-style-qty input[type=number] {
	padding: 0;
}

.ft-btn {
	border-radius: 4px;
	background: #39B54A;
	border: 2px solid #39B54A !important;
	color: #FFF !important;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	transition: 0.3s ease-in-out;
	outline: none !important;
}

.ft-continue-btn.ft-btn {
	margin-top: 20px;
	display: none;
}

.ft-continue-btn.ft-btn.show {
	display: flex !important;
}

.ft-btn:hover {
	background: #fff;
	color: #39B54A !important;
}

/* Form */
form.ft-submit-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

form.ft-submit-form .ft-submit-form-field.ft-col-50 {
    width: calc(50% - 10px);
}

.ft-submit-form-field input,
.ft-submit-form-field .custom-select{
    border-radius: 8px !important;
    border: 1px solid #CCC !important;
    background: #FFF;
    width: 100%;
    outline: none !important;
    padding: 10px;
	font-weight: 400 !important;
    font-size: 14px !important;
}

.ft-submit-form-field.ft-col-100 input:last-child {
    margin-top: 15px;
}

.ft-submit-form-field-hidden.ft-submit-form-field {
    display: none;
}

/* Loading */
.ft-loading-popup{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	display: none;
}

.ft-loading-popup-overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #00000054;
}

.ft-spinner{
	position: absolute;
	top: calc(50% - 25px);
	left: calc(50% - 25px);
	height : 50px;
	width : 50px;
	border-radius : 50%;
	border : 10px solid #fff;
	border-top-color : #39b54a;
	animation : spin 1s linear infinite;
}
	
@keyframes spin{
	0%{
	transform : rotate(0deg);
	}
	100%{
	transform : rotate(360deg);
	}
}

/* Media Query */

@media screen and (max-width: 1024px) {
/* 	.ft-category-testing-body {
		width: calc(33% - 20px);
	} */
}

@media screen and (max-width: 768px) {
	.ft-main-body {
		flex-direction: column;
	}

	.ft-category {
		max-width: 100%;
		width: 100%;
	}

	.ft-contents {
		width: 100%;
	}

	.ft-category-testing-body {
		width: calc(50% - 13px);
	}

	.ft-view-details-popup-content-img {
		max-width: 300px;
		min-width: 250px;
	}
}

@media screen and (max-width: 600px) {
	.ft-success-message-popup-content,
	.ft-submit-details-popup-content,
	.ft-cart-details-popup-content {
		padding: 20px;
	}
	.ft-category-testing-body {
		width: 100%;
	}

	.ft-view-details-popup-content {
		flex-direction: column;
	}

	.ft-view-details-popup-content-img {
		max-width: 100%;
	}

	.ft-view-details-popup-content-info-heading {
		font-size: 18px;
	}

	.ft-view-details-popup-content-info-para {
		font-size: 12px;
	}

	.ft-main-filter {
		max-width: 250px;
	}

	.ft-main-cart a {
		width: 50px;
		height: 50px;
	}

	.ft-main-cart a span.ft-cart-number {
		top: -5px;
	}

	.ft-cart-item-title h3 {
		font-size: 10px;
	}

	.ft-cart-item-img {
		width: 60px;
	}

	.number-style-qty .qty-btn {
		width: 10px;
	}

	.ft-submit-details-popup-content-info-heading, 
	.ft-cart-details-popup-content-info-heading, 
	.ft-view-details-popup-content-info-heading {
		font-size: 16px;
	}

	
	form.ft-submit-form {
		gap: 5px;
	}
	
	form.ft-submit-form .ft-submit-form-field.ft-col-50 {
		width: calc(50% - 3px);
	}

	form.ft-submit-form .ft-submit-form-field label {
		font-size: 11px;
	}

	.ft-submit-form-field input, .ft-submit-form-field .custom-select {
		height: 35px;
		font-size: 12px !important;
	}

	.ft-submit-form-conatiner {
		max-height: 75vh;
		overflow: hidden;
		overflow-y: auto;
	}
	
	.ft-success-message-popup-content, 
	.ft-submit-details-popup-content, 
	.ft-cart-details-popup-content {
		padding: 10px 20px;
	}

	.ft-submit-details-popup-content-info-heading, 
	.ft-cart-details-popup-content-info-heading, 
	.ft-view-details-popup-content-info-heading {
		padding-bottom: 10px;
		font-size: 16px;
		max-width: 95%;
	}
	
	.ft-submit-form-field.ft-col-100 input:last-child {
		margin-top: 5px;
	}
}