/* VT Service Slide-in — VETS TECH design system colours (navy-900 / slate-800 / sky-50 / teal-700). */

/* Popup Maker container reset: the slide-in draws its own frame. */
/* :has() covers the case where the script could not add .vt-ss-popup. */
.vt-ss-popup .pum-container,
.pum-container:has(> .pum-content .vt-ss) {
	position: fixed !important;
	top: auto !important;
	right: 16px !important;
	bottom: 16px !important;
	left: auto !important;
	margin: 0 !important;
	width: 380px !important;
	max-width: calc(100vw - 32px) !important;
	min-width: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
.vt-ss-popup .pum-content,
.pum-container:has(> .pum-content .vt-ss) > .pum-content {
	margin: 0 !important;
	padding: 0 !important;
}
.vt-ss-popup .pum-content > p:empty,
.vt-ss-popup .pum-title,
.vt-ss-popup .pum-container > .pum-close,
.pum-container:has(> .pum-content .vt-ss) > .pum-close {
	display: none !important;
}

.vt-ss {
	box-sizing: border-box;
	width: 100%;
	max-width: 380px;
	margin: 0;
	background: #fff;
	border: 1px solid #d2d4d5;
	color: #30364a;
	font-size: 14px;
	line-height: 1.6;
	text-align: left;
}
.vt-ss *,
.vt-ss *::before,
.vt-ss *::after {
	box-sizing: inherit;
}
.vt-ss[hidden],
.vt-ss__body[hidden] {
	display: none !important;
}

.vt-ss__head {
	display: flex;
	align-items: center;
	min-height: 52px;
	background: #243148;
}
.vt-ss__toggle {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 52px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0 0 0 20px;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}
.vt-ss__toggle:hover,
.vt-ss__toggle:focus,
.vt-ss__close:hover,
.vt-ss__close:focus {
	background: transparent;
	color: #fff;
}
.vt-ss__title {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vt-ss__count {
	flex: none;
}
.vt-ss:not(.is-folded) .vt-ss__count {
	display: none;
}
.vt-ss__chev {
	flex: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease;
}
.vt-ss.is-folded .vt-ss__chev,
.vt-ss.is-peek .vt-ss__chev {
	transform: rotate(180deg);
}
.vt-ss__sep {
	flex: none;
	width: 1px;
	height: 24px;
	background: #7d869e;
}
.vt-ss__close {
	flex: none;
	width: 44px;
	height: 44px;
	margin: 0 4px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
}
.vt-ss__head button:focus:not(:focus-visible) {
	outline: none;
}
.vt-ss__head button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: -3px;
}

.vt-ss__body {
	background: #fff;
	/* Never taller than the screen, so the bar (∨ and ×) always stays reachable — e.g. a phone held sideways. */
	max-height: calc(100vh - 84px);
	max-height: calc(100dvh - 84px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.vt-ss__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 20px;
	border-top: 1px solid #efefef;
	background: #fff;
	color: #30364a !important;
	text-decoration: none !important;
}
.vt-ss__item:first-child {
	border-top: 0;
}
.vt-ss__item:hover {
	background: #f4f8fb;
}
.vt-ss__item.is-rec {
	background: #e8f6fb;
}
.vt-ss__item:focus-visible {
	outline: 3px solid #243148;
	outline-offset: -3px;
}
/* Peek: only the first service (the recommended one when there is one). */
.vt-ss.is-peek .vt-ss__item ~ .vt-ss__item,
.vt-ss.is-peek .vt-ss__note {
	display: none;
}
/* "See other services" row: only in the peek view. */
.vt-ss__more {
	display: none;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0 16px;
	align-items: center;
	justify-content: center;
	gap: 4px;
	background: #fff;
	border: 0;
	border-top: 1px solid #efefef;
	border-radius: 0;
	box-shadow: none;
	color: #0e7898;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}
.vt-ss.is-peek .vt-ss__more {
	display: flex;
}
.vt-ss__more:hover,
.vt-ss__more:focus {
	background: #f4f8fb;
	color: #0e7898;
}
.vt-ss__more:focus-visible {
	outline: 3px solid #243148;
	outline-offset: -3px;
}
.vt-ss__more-icon {
	display: flex;
	transform: rotate(180deg);
}
.vt-ss__more-icon svg {
	width: 16px;
	height: 16px;
}
.vt-ss__rec {
	align-self: flex-start;
	font-size: 12px;
	font-weight: 700;
	color: #0e7898;
}
.vt-ss__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.vt-ss__logo {
	min-width: 0;
}
.vt-ss__logo img,
.vt-ss__logo-img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 200px;
	max-height: 30px;
	margin: 0;
}
.vt-ss__logo-text {
	font-size: 15px;
	font-weight: 700;
	color: #243148;
}
.vt-ss__arrow {
	flex: none;
	display: flex;
	color: #0e7898;
}
.vt-ss__copy {
	font-size: 13px;
	color: #30364a;
}
.vt-ss__note {
	margin: 0 !important;
	padding: 10px 20px;
	border-top: 1px solid #efefef;
	font-size: 12px;
	color: #575e74;
}
.vt-ss .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Phone: full width along the bottom edge. */
@media (max-width: 767px) {
	.vt-ss-popup .pum-container,
	.pum-container:has(> .pum-content .vt-ss) {
		top: auto !important;
		right: 0 !important;
		bottom: 0 !important;
		left: 0 !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		transform: none !important;
	}
	.vt-ss {
		max-width: none;
		border-right: 0;
		border-bottom: 0;
		border-left: 0;
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	.vt-ss.is-folded {
		background: #243148;
	}
	.vt-ss__toggle {
		padding-left: 16px;
		font-size: 14px;
	}
	.vt-ss__body {
		max-height: calc(60vh - 52px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	.vt-ss__item {
		padding: 12px 16px;
	}
	.vt-ss__note {
		padding: 8px 16px 12px;
	}
	.vt-ss__logo img,
	.vt-ss__logo-img {
		max-height: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vt-ss__chev {
		transition: none;
	}
}
