/* Patlon Comparison Table widget */
.mtcw {
	--mtcw-gap: 28px;
	--mtcw-line: #e3e6ea;
	width: 100%;
}
.mtcw *,
.mtcw *::before,
.mtcw *::after { box-sizing: border-box; }

/* Optional header */
.mtcw-title {
	display: inline-block;
	margin: 0;
	padding: 8px 14px;
	background: #DDB32C;
	color: #231F20;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
}
.mtcw-subtitle {
	margin: 12px 0 22px;
	color: #231F20;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
}

/* Scroll box: everything inside swipes together on small screens */
.mtcw-scroll {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

.mtcw .mtcw-table {
	width: calc(100% + var(--mtcw-gap));
	min-width: 720px;
	margin: 0 0 0 calc(-1 * var(--mtcw-gap));
	border-collapse: separate;
	border-spacing: var(--mtcw-gap) 0;
	table-layout: fixed;
	border: 0;
	background: transparent;
	font-family: 'Poppins', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
}
.mtcw .mtcw-col-label { width: 28%; }

/* Neutralise theme table styles (zebra stripes, hover, borders) */
.mtcw .mtcw-table tr,
.mtcw .mtcw-table td,
.mtcw .mtcw-table th,
.mtcw .mtcw-table tbody > tr:nth-child(odd) > td,
.mtcw .mtcw-table tbody > tr:nth-child(even) > td,
.mtcw .mtcw-table tbody tr:hover > td {
	background: transparent !important;
	border: 0 !important;
}
.mtcw .mtcw-table td {
	padding: 0;
	vertical-align: top;
	text-align: left;
}

/* Product images */
.mtcw-media {
	background: #ffffff;
	overflow: hidden;
}
.mtcw-media img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border: 0;
}

/* Names + icons */
.mtcw .mtcw-row-names td { padding: 18px 0 16px; }
.mtcw-name {
	color: #333333;
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 10px;
}
.mtcw-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.mtcw-icon {
	--mtcw-icon-size: 22px;
	width: var(--mtcw-icon-size);
	height: var(--mtcw-icon-size);
	border-radius: 50%;
	background: #8e8e8e;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: calc(var(--mtcw-icon-size) * 0.5);
	line-height: 1;
}
.mtcw-icon i { font-size: inherit; color: inherit; }
.mtcw-icon svg { width: 1em; height: 1em; fill: currentColor; }

/* Spec rows */
.mtcw .mtcw-table tbody > tr.mtcw-spec > td {
	padding: 16px 0;
	border-top: 1px solid var(--mtcw-line) !important;
}
.mtcw-label { color: #333333; font-weight: 400; }
.mtcw-value { color: #5f5f5f; font-weight: 300; }

/* Tags + buttons */
.mtcw .mtcw-row-actions td { padding-top: 8px; }
.mtcw-tag {
	display: block;
	margin: 0 0 18px;
	padding: 9px 14px;
	background: #DDB32C;
	color: #231F20;
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.4;
}
.mtcw .mtcw-btn {
	display: block;
	margin: 0 0 16px;
	padding: 11px 14px;
	background: #0D4F85;
	color: #ffffff;
	text-align: center;
	text-decoration: none;
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.4;
	border: 0;
	transition: background-color .2s, color .2s;
}
.mtcw .mtcw-btn:hover,
.mtcw .mtcw-btn:focus {
	background: #093b64;
	color: #ffffff;
}
.mtcw .mtcw-btn-overview {
	display: inline-block;
	padding: 18px 16px;
	font-size: 14px;
	margin: 0;
}
