.comparison-table {
	width: 100%;
	margin-bottom: 0px;
}

.comparison-table table {
	width: 100%;
	border-collapse: collapse;
	display: flex; 
	flex-direction: column;
}

body:not(.woocommerce-cart) .comparison-table thead, body:not(.woocommerce-cart) .comparison-table tbody {
	display: flex;
	flex-direction: column;
}

body:not(.woocommerce-cart) .comparison-table tr {
	display: flex;
	width: 100%;
}

body:not(.woocommerce-cart) .comparison-table th, body:not(.woocommerce-cart) .comparison-table td {
	padding: 15px;
	border: 1px solid #ddd;
	vertical-align: middle;
}

body:not(.woocommerce-cart) .comparison-table tr th:nth-child(n+3), body:not(.woocommerce-cart) .comparison-table tr td:nth-child(n+3) {
	margin-left: 11px;
}

body:not(.woocommerce-cart) .comparison-table tr th:nth-child(n+2), body:not(.woocommerce-cart) .comparison-table tr td:nth-child(n+2) {
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 1;
	text-align: center;
	line-height: 1.3;
}

body:not(.woocommerce-cart) .comparison-table th {
	border: 0 !important;
	font-weight: 500 !important;
}

body:not(.woocommerce-cart) .comparison-table tr td:nth-child(n+2) {
	background-color: white;
	min-height: 64px;
	font-size: 16px;
	color: #000;
}
body:not(.woocommerce-cart) .compare-popup-content .comparison-table tr td:nth-child(n+2) {
	background-color: #F7F8FA;
}
body:not(.woocommerce-cart) .comparison-table tr td {
	border: 1px solid #DDDEE1;
	border-top: 0;
	border-left: 0;
	border-right: 0;
}
body:not(.woocommerce-cart) .main-content .comparison-table table tr:first-child td:first-child, body:not(.woocommerce-cart) .comparison-table table tr:first-child td:first-child {
	font-weight: 600;
	color: #000;
}
body:not(.woocommerce-cart) .main-content .comparison-table tr td:first-child, body:not(.woocommerce-cart) .comparison-table tr td:first-child {
	border: 1px solid #DDDEE1 !important;
	border-top: 0 !important;
	border-right: 0 !important;
}
body:not(.woocommerce-cart) .main-content .comparison-table table tr td:first-child, body:not(.woocommerce-cart) .comparison-table table tr td:first-child {
	display: flex;
	border-left: 0 !important;
	align-items: center;
	line-height: 1.3;
}
body:not(.woocommerce-cart) .main-content .comparison-table table tr:last-child td, body:not(.woocommerce-cart) .comparison-table table tr:last-child td {
	border-bottom: 0 !important;
	border-radius: 0px 0px 12px 12px;
}
.comparison-table table {
	border: 0 !important;
}

.comparison-table td:first-child, .comparison-table th:first-child {
	background-color: transparent !important;
	text-align: left; 
	flex-basis: 30%; 
}

.comparison-table td:first-child:nth-child(2) {
	color: #151515;
	font-weight: 600;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.comparison-table td:first-child:not(:nth-child(2)) {
	color: #383838;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.comparison-table td:not(:first-child), .comparison-table th:not(:first-child) {
	width: calc((70% - 33px) / 5); 
}

.comparison-table td + td, .comparison-table th + th {
	padding-left: 11px;
}

.drhair-header {
	background: #003170;
	border-radius: 12px 12px 0px 0px;
	padding: 11px 14px;
	text-align: center;
}

.drhair-header img {
	width: 120px;
	height: auto;
}

.other-header {
	background: #74A8BE;
	color: #FFF;
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	border-radius: 12px 12px 0px 0px;
	padding: 11px 12px;
}

.comparison-table td:not(:first-child):not(:last-child):not(:nth-last-child(-n+5)) {
	border-bottom: 1px solid #DDDEE1;
	background-color: #FFF;
}

.comparison-table .tick img, .comparison-table .cross img {
	width: 23px;
	height: 23px;
}

.comparison-table .tick img {
	display: inline-block;
}

.comparison-table .cross img {
	display: inline-block;
}

body:not(.woocommerce-cart) .main-content .comparison-table table {
	background-color: transparent;
}

body:not(.woocommerce-cart) .main-content .comparison-table table tr:nth-child(2n+1) {
	background-color: transparent;
}

div.compare-popup-overlay {
	display: flex;
	align-items: center;
	justify-content: center;
}
.twliner{
	display: flex;
	flex-direction: column;
}
span.under {
	font-size: 12px;
}
.compare-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 1;
	opacity: 0;
	height: 0;
	width: 100%;
	opacity:0;
}
.compare-popup-close {
	content: '';
	background: url('/wp-content/themes/salient-child/assets/image/pages/quiz-close.svg') no-repeat;
	width: 18px;
	height: 18px;
	position: absolute;
	right: 30px;
	top: 35px;
	cursor: pointer;
}
.compare-popup-overlay.active{
	opacity: 1;
	height: 100%;
	transition: height 0s 0s, opacity 0.4s;
	background: rgba(0, 32, 73, 0.70);
	backdrop-filter: blur(6px);
	z-index: 999996;
}

.compare-popup-content {
	margin: 12% auto;
	padding: 60px 60px 40px;
	width: 80%;
	max-width: 1100px;
	position: relative;
	align-items: center;
	justify-content: center;
	border-radius: 45px;
	background: #FFF;
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.compare-popup-content > section {
	padding: 0 !important;
}

@media screen and (min-width: 768px) {
	.comparison-table td {
		font-size: 16px;
	}

	.comparison-table th {
		font-size: 14px;
		font-weight: 500 !important;
	}
}

@media screen and (max-width: 767px) {
	.comparison-table th, .comparison-table td {
		padding: 10px;
		font-size: 6.5px!important;
	}

	.comparison-table th {
		font-size: 7px!important;
	}

	.comparison-table table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	.comparison-table th, .comparison-table td {
		display: inline-block;
		width: auto;
	}
	body:not(.woocommerce-cart) .main-content td{
		padding: 5px!important;
	}
	body:not(.woocommerce-cart) .main-content .comparison-table table tr td:first-child, body:not(.woocommerce-cart) .comparison-table table tr td:first-child {
		white-space: normal;
		padding: 5px;
		padding-left: 0;
	}
	body:not(.woocommerce-cart) .comparison-table tr td:nth-child(n+2) {
		min-height: 26px;
		font-size: 8px!important;
	}
	.comparison-table th {
		padding: 3px 5px !important;
	}
	body:not(.woocommerce-cart) .comparison-table tr th:nth-child(n+3), body:not(.woocommerce-cart) .comparison-table tr td:nth-child(n+3) {
		margin-left: 3px;
	}
	.comparison-table td:first-child, .comparison-table th:first-child {
		flex-basis: 25%; 
	}
	.comparison-table .tick img, .comparison-table .cross img {
		width: 12px;
		height: 12px;
	}
	th.other-header {
		white-space: normal;
	}
	.compare-popup-content {
		margin: 5px;
		padding: 40px 10px 20px;
		width: 100%;
		box-shadow: none;
		position: relative;
		border-radius: 20px;
	}
	.compare-popup-close {
		top: -50px;
		right: 0;
		background-color: white;
		border-radius: 90px;
		padding: 20px;
		margin: 0px auto;
		cursor: pointer;
		background-position: center;
	}
	.compare-popup-content .comparison-table td:first-child:not(:nth-child(2)) {
		white-space: break-spaces;
	}
	span.under {
		font-size: 5.5px;
	}
}