/* AVT Comparison Table widget */
.avt-ct {
	font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	background: var(--avt-ct-bg, #FBF4F9);
	padding: 80px 40px;
	box-sizing: border-box;
	color: #171A1F;
	width: 100%;
}

.avt-ct__hero { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.avt-ct__title {
	font-family: "Dosis", sans-serif;
	font-weight: 700;
	font-size: 40px;
	line-height: 1.15;
	letter-spacing: -1px;
	color: #171A1F;
	margin: 0 0 16px;
}
.avt-ct__subtitle {
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	color: #5A5E66;
	margin: 0;
}

.avt-ct__rec-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1150px;
	margin: 0 auto 16px;
}
.avt-ct__rec-title {
	font-family: "Dosis", sans-serif;
	font-weight: 700;
	font-size: 22px;
	margin: 0;
	color: #171A1F;
}
.avt-ct__badge {
	background: #FCEEA8;
	color: #7A5400;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.5px;
	padding: 6px 12px;
	border-radius: 6px;
}

.avt-ct__table-wrap {
	max-width: 1150px;
	margin: 0 auto 60px;
	background: #FFFFFF;
	border-radius: 14px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.07);
	overflow: hidden;
}
.avt-ct__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.avt-ct__th {
	background: var(--avt-ct-accent, #A91E8A);
	color: #FFFFFF;
	font-weight: 600;
	font-size: 14px;
	line-height: 20px;
	padding: 16px 16px;
	text-align: center;
	border-left: 1px solid rgba(255,255,255,0.18);
}
.avt-ct__th--first { text-align: left; border-left: 0; }
.avt-ct__cap {
	font-weight: 500;
	color: #171A1F;
	padding: 14px 16px;
	border-bottom: 1px solid #EEF0F2;
}
.avt-ct__cell {
	text-align: center;
	padding: 12px 12px;
	border-bottom: 1px solid #EEF0F2;
	border-left: 1px solid #F4F5F7;
	color: #5A5E66;
	vertical-align: middle;
}
.avt-ct__table tbody tr:last-child td { border-bottom: 0; }
.avt-ct__cell--yes { color: var(--avt-ct-accent, #A91E8A); }
.avt-ct__cell--yes .avt-ct__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.avt-ct__cell--yes .avt-ct__yes {
	display: block;
	font-size: 13px;
	font-weight: 500;
	line-height: 18px;
	margin-top: 2px;
}
.avt-ct__cell--limited em {
	color: var(--avt-ct-limited, #1F88C7);
	font-style: italic;
	font-weight: 500;
}

/* Detailed breakdown */
.avt-ct__detail-head { max-width: 1150px; margin: 0 auto 20px; }
.avt-ct__detail-title {
	font-family: "Dosis", sans-serif;
	font-weight: 700;
	font-size: 22px;
	color: #171A1F;
	margin: 0 0 6px;
}
.avt-ct__detail-sub {
	font-size: 14px;
	color: #5A5E66;
	margin: 0;
}

.avt-ct__accordion { max-width: 1150px; margin: 0 auto; }
.avt-ct__acc-item {
	background: #FFFFFF;
	border-radius: 12px;
	margin-bottom: 12px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.avt-ct__acc-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 18px;
	padding-bottom: 0;
	cursor: pointer;
	list-style: none;
	color: var(--avt-ct-accent, #A91E8A);
	font-weight: 600;
	font-size: 15px;
	user-select: none;
}
.avt-ct__acc-title::-webkit-details-marker,
.avt-ct__acc-title::marker { display: none; }
.avt-ct__acc-title > * { pointer-events: none; }
.avt-ct__acc-chev { color: var(--avt-ct-accent, #A91E8A); transition: transform .2s ease; }
details[open] .avt-ct__acc-chev { transform: rotate(180deg); }

.avt-ct__acc-body {
	padding: 0 18px 8px;
	border-top: 1px solid #F4F5F7;
}
.avt-ct__mini {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.avt-ct__mini thead th {
	text-align: left;
	color: #7A7A85;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.5px;
	padding: 14px 16px;
	border-bottom: 1px solid #EEF0F2;
}
.avt-ct__mini thead th + th { text-align: center; }
.avt-ct__mini tbody td {
	padding: 14px 16px;
	border-bottom: 1px solid #F4F5F7;
	color: #171A1F;
}
.avt-ct__mini tbody tr:last-child td { border-bottom: 0; }
.avt-ct__mini-cell { text-align: center; color: var(--avt-ct-accent, #A91E8A); }

/* Footer */
.avt-ct__footer {
	max-width: 1150px;
	margin: 40px auto 0;
	padding-top: 28px;
	border-top: 1px solid #EEE2EC;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.avt-ct__footer-text { flex: 1 1 auto; min-width: 260px; }
.avt-ct__footer-title {
	font-family: "DM Sans", sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #171A1F;
	margin: 0 0 4px;
}
.avt-ct__footer-sub {
	font-size: 14px;
	color: #5A5E66;
	margin: 0;
}
.avt-ct__footer-ctas { display: inline-flex; gap: 12px; flex-shrink: 0; }
.avt-ct__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 22px;
	border-radius: 6px;
	font-family: "DM Sans", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.avt-ct__btn--primary {
	background: var(--avt-ct-accent, #A91E8A);
	color: #FFFFFF !important;
	border: 1px solid var(--avt-ct-accent, #A91E8A);
}
.avt-ct__btn--primary:hover { background: #8a1872; border-color: #8a1872; }
.avt-ct__btn--ghost {
	background: transparent;
	color: var(--avt-ct-accent, #A91E8A) !important;
	border: 1px solid var(--avt-ct-accent, #A91E8A);
}
.avt-ct__btn--ghost:hover { background: rgba(169,30,138,0.06); }


/* ========== AVT Testimonials Slider ========== */
.avt-ts {
	font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	background: transparent;
	box-sizing: border-box;
	color: #171A1F;
	width: 100%;
	/* Padding and background are controlled by the widget's Style controls */
}
.avt-ts__head { text-align: center; margin-bottom: 48px; }
.avt-ts__title {
	font-family: "Dosis", sans-serif;
	font-weight: 700;
	font-size: 36px;
	line-height: 1.2;
	letter-spacing: -0.5px;
	color: #171A1F;
	margin: 0;
}

.avt-ts__viewport {
	position: relative;
	max-width: 1150px;
	margin: 0 auto;
	padding: 0 56px;
}
.avt-ts__swiper { overflow: hidden; padding-bottom: 0; }
.avt-ts__swiper .swiper-wrapper { align-items: stretch; }
.avt-ts__swiper .swiper-slide { height: auto; display: flex; }

.avt-ts__card {
	background: #FFFFFF;
	border-radius: 14px;
	padding: 32px;
	box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.07);
	width: 100%;
	display: flex;
	flex-direction: column;
}
.avt-ts__stars {
	display: inline-flex;
	gap: 4px;
	color: var(--avt-ts-star, #F5A623);
	margin-bottom: 18px;
}
.avt-ts__quote {
	color: #3A3A45;
	font-size: 15px;
	font-style: italic;
	line-height: 1.6;
	margin: 0 0 28px;
	flex: 1;
}
.avt-ts__author {
	display: flex;
	align-items: center;
	gap: 12px;
}
.avt-ts .avt-ts__photo,
.avt-ts img.avt-ts__photo {
	width: 48px !important;
	height: 48px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	flex-shrink: 0 !important;
	display: block !important;
	max-width: none !important;
}
.avt-ts__name {
	font-weight: 700;
	font-size: 15px;
	color: #171A1F;
	line-height: 1.2;
}
.avt-ts__role {
	font-size: 11px;
	letter-spacing: 1px;
	color: #7A7A85;
	font-weight: 600;
	margin-top: 2px;
}

/* Arrows */
.avt-ts__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #E2E2E8;
	background: #FFFFFF;
	color: var(--avt-ts-accent, #A91E8A);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
	z-index: 5;
}
.avt-ts__arrow:hover {
	background: var(--avt-ts-accent, #A91E8A);
	color: #FFFFFF;
	border-color: var(--avt-ts-accent, #A91E8A);
}
.avt-ts__arrow--prev { left: 0; }
.avt-ts__arrow--next { right: 0; }
.avt-ts__arrow.swiper-button-disabled { opacity: 0.35; cursor: default; }
.avt-ts__arrow.swiper-button-disabled:hover {
	background: #FFFFFF;
	color: var(--avt-ts-accent, #A91E8A);
	border-color: #E2E2E8;
}

/* Pagination dots — sit OUTSIDE the swiper, with their own margin */
.avt-ts__viewport .avt-ts__dots {
	position: static !important;
	margin: 32px auto 0 !important;
	width: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	text-align: center;
}
.avt-ts__dots .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: #D9D9E3;
	opacity: 1;
	margin: 0 4px !important;
	transition: width .2s ease, background .2s ease;
	border-radius: 4px;
}
.avt-ts__dots .swiper-pagination-bullet-active {
	background: var(--avt-ts-accent, #A91E8A);
	width: 22px;
}

/* ========== Comparison Table — Mobile responsive ========== */
@media (max-width: 767px) {
	.avt-ct {
		padding: 56px 16px !important;
	}
	.avt-ct__title { font-size: 28px !important; line-height: 1.2 !important; }
	.avt-ct__subtitle { font-size: 14px !important; }
	.avt-ct__hero { margin-bottom: 28px; max-width: 100%; }

	.avt-ct__rec-row {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 10px;
		margin-bottom: 12px;
	}
	.avt-ct__rec-title { font-size: 18px !important; }
	.avt-ct__badge { font-size: 10px; padding: 5px 10px; }

	/* Main table — horizontal scroll so columns keep readable widths */
	.avt-ct__table-wrap {
		margin-bottom: 40px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.avt-ct__table {
		min-width: 640px;
	}
	.avt-ct__th { font-size: 12px; padding: 12px 10px; }
	.avt-ct__cap { font-size: 13px; padding: 12px 10px; }
	.avt-ct__cell { padding: 10px 6px; }
	.avt-ct__cell--yes .avt-ct__yes { font-size: 11px; }
	.avt-ct__cell--limited em { font-size: 12px; }

	.avt-ct__detail-title { font-size: 18px !important; }
	.avt-ct__detail-sub  { font-size: 13px !important; }

	.avt-ct__acc-title { font-size: 14px; padding: 14px 14px; }
	.avt-ct__acc-body  { padding: 0 14px 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.avt-ct__mini      { min-width: 520px; font-size: 12px; }
	.avt-ct__mini thead th { padding: 12px 10px; }
	.avt-ct__mini tbody td { padding: 12px 10px; }

	/* Footer */
	.avt-ct__footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}
	.avt-ct__footer-ctas { width: 100%; }
	.avt-ct__btn { flex: 1 1 auto; text-align: center; }
}

@media (max-width: 767px) {
	/* Let the slider section go edge-to-edge on mobile (override the global 15px padding) */
	.avt-ts {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.avt-ts__head {
		padding-left: 16px;
		padding-right: 16px;
	}
	.avt-ts__viewport {
		max-width: 100% !important;
		padding: 0 12px !important;
		overflow: hidden !important;
	}
	.avt-ts__swiper {
		overflow: hidden !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	.avt-ts__swiper .swiper-wrapper {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
	}
	.avt-ts__swiper .swiper-slide {
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
	.avt-ts__card {
		padding: 20px 18px !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
	.avt-ts__quote {
		font-size: 14px !important;
		line-height: 1.55 !important;
	}
	.avt-ts__arrow { width: 32px; height: 32px; }
}
