@import url('./global.css');

ul li {
	list-style: none;
}

main {
	margin: 0 auto;
	padding-bottom: 1px;
	padding-top: 10px;
	background-color: #f5f5f5;
}

.onlineContract__skeleton__appSkeleton,
.onlineContract__wrapper {
	max-width: 1400px;
	border: 1px solid var(--grey-color-10);
	box-shadow: 0 48px 100px 0 rgba(17, 12, 46, 0.15),
		0 -14px 70px 0 rgba(0, 0, 0, 0.15);
	border-radius: 30px;
	margin: 0px auto 70px;
	padding: 70px 100px 50px;
	background-color: var(--white-color);
}

@media (max-width: 1599px) {

	.onlineContract__skeleton__appSkeleton,
	.onlineContract__wrapper {
		max-width: calc(100% - 200px);
		padding: 60px 30px;
	}
}

@media (max-width: 1199px) {

	.onlineContract__skeleton__appSkeleton,
	.onlineContract__wrapper {
		max-width: calc(100% - 32px);
		max-width: calc(100% - 40px);
	}
}

@media (max-width: 991px) {

	.onlineContract__skeleton__appSkeleton,
	.onlineContract__wrapper {
		padding: 40px 20px;
	}
}

@media screen and (max-width: 768px) {

	.onlineContract__skeleton__appSkeleton,
	.onlineContract__wrapper {
		margin-top: 84px;
	}
}

.buynow__container {
	max-width: calc(100% - 40px);
	margin: 0 auto 70px;
	padding: 40px 20px;
	box-shadow: 0 48px 100px 0 #110c2e26, 0 -14px 70px 0 #00000026;
	border-radius: 30px;
	background-color: var(--color-white);
	scroll-margin-top: 50px;
}

.buynow__title {
	font-size: 24px;
	font-weight: 600;
	line-height: 150%;
	margin: 0 auto;
	padding-bottom: 30px;
	text-align: center;
	width: 100%;
}

.tabs--container {
	color: var(--color-light-gray);
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	list-style: none;
}

.tabs--container__item.tabs--container__item--active {
	color: var(--primary-blue);
	color: var(--primary-blue);
}

.tabs--container__item {
	display: contents;
}

.tabs--container__item.tabs--container__item--active>.tabs--container__content {
	color: var(--primary-blue);
}

.tabs--container__content {
	display: flex;
	align-items: center;
	font-size: 18px;
	font-style: normal;
	justify-content: center;
	line-height: 22px;
	text-align: center;
	width: 100%;
}

.tabs--container__number {
	background-color: var(--color-light-gray);
	border-radius: 50%;
	color: var(--color-white);
	display: inline-block;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	height: 24px;
	letter-spacing: 0.4px;
	line-height: 166%;
	margin-left: 0;
	margin-right: 10px;
	padding: 0 8px;
	position: relative;
	width: 24px;
}

.tabs--container__item--active .tabs--container__number {
	background-color: var(--primary-blue);
}

.tabs--container__title {
	font-size: 16px;
	font-weight: 500;
	line-height: 140%;
	overflow-wrap: anywhere;
}

.tabs--container__divider {
	background-color: #e2e2e2;
	border: none;
	display: none;
	height: 2px;
	margin: auto 8px;
	width: 100%;
}

.buynow__form--flights {
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.countries-dropdown,
.countries-dropdown__list li {
	font-size: 14px;
	color: var(--color-black);
	cursor: pointer;
	user-select: none;
	display: flex;
	align-items: center;
	padding-left: 15px;
	padding-right: 40px;
	display: flex;
	align-items: center;
}

.countries-dropdown__list li:hover {
	background-color: #daecd8;
}

.section-hero__field svg {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
}

.section-hero-field-text {
	margin-bottom: 10px;
	position: relative;
	width: 100%;
}

.section-hero-field-text .tooltip {
	display: none;
	width: max-content;
	right: -10px;
	top: 0;
}

#country-list {
	display: none;
}

.countries-dropdown,
.section-hero__field input {
	position: relative;
	background-color: var(--color-white);
	border: 1px solid #08080833;
	border-radius: 10px;
	width: 100% !important;
	height: 47px;
	text-align: left;
	padding: 24px 15px;
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.countries-dropdown__list {
	display: none;
	padding: 10px 0;
	position: absolute;
	top: 55px;
	left: 0;
	right: 0;
	border-right: 5px;
	box-shadow: 0 3px 10px 0 var(--color-light-gray);
	background-color: var(--color-white);
	max-height: 200px;
	overflow-y: scroll;
	z-index: 9999999 !important;
}

.countries-dropdown__list li {
	display: block;
	padding-right: 15px;
	min-height: 40px;
	display: flex;
	align-items: center;
}

.countries-items.selected {
	background-color: #daecd8;
}

.countries-dropdown__list.open-dropdown {
	display: block;
}

.tooltip {
	position: absolute;
	right: 0;
	cursor: pointer;
	display: none;
	flex-direction: row-reverse;
	width: 70%;
}

.tooltip__text {
	display: none;
	width: max-content;
	text-align: center;
	color: var(--color-white);
	padding: 10px 20px;
	border-radius: 4px;
	font: italic 14px / 1.3 sans-serif;
	background: var(--color-black);
	box-shadow: 3px 3px 3px #0000004d;
	position: absolute;
	right: -100px;
	bottom: 25px;
}

.tooltip__text.active {
	display: block;
}

.buynow__form--title {
	margin: 40px auto;
	text-align: center;
	font-size: 16px;
	font-weight: 500;
}

.card {
	background: #fff;
	border-radius: 30px;
	border: 2px solid #ccc;
	padding: 25px 30px 20px 20px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	display: flex;
	flex-direction: column;
	height: auto;
}

.card.selected {
	border-color: #0078d4;
}

.card h2 {
	margin: 0;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	padding-right: 35px;
}

.card .price {
	margin: 10px 0;
	font-size: 30px;
	font-weight: 500;
}

.card .coverage {
	font-size: 21px;
	font-weight: 400;
	line-height: 120%;
	margin-top: 10px;
}

.card .deductible {
	font-size: 21px;
	font-weight: 400;
	line-height: 25px;
	margin-top: 5px;
}

.checkmark {
	position: absolute;
	top: 15px;
	right: 15px;
	background: var(--primary-blue);
	color: #fff;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	display: none;
}

.card.selected .checkmark {
	display: flex;
}

.swiper-container {
	width: 100%;
	position: relative;
}

.swiper-btn {
	width: 24px;
	height: 24px;
	background-color: #00000066;
	border-radius: 5px;
	opacity: 1;
	transition: opacit 0.3s;
	color: white;
	position: absolute;
	top: 60%;
}

.swiper-button-next {
	right: 6.5%;
}

.swiper-button-prev {
	left: 6.5%;
}

.swiper-btn img {
	width: 100%;
	height: auto;
}

.swiper-button-next:after,
.swiper-button-prev:after {
	font-size: 18px;
}

.swiper-btn:hover {
	opacity: 0.9;
}

.trip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 30px;
	border-radius: 10px;
	position: relative;
	width: 100%;
}

.trip__duration--primary {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.trip__title {
	font-size: 14px;
	font-weight: 400;
	line-height: 25.2px;
	margin-left: 0;
	position: relative;
	text-align: left;
	color: var(--color-black);
}

.trip__text,
.trip__cost {
	color: var(--color-black);
	font-display: swap;
	font-family: inherit;
	font-size: 14px;
	line-height: 17px;
	font-weight: 600;
	text-align: right;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	text-align: right;
}

.trip__text {
	align-self: flex-start;
	justify-content: center;
}

.trip__duration--secondary {
	display: flex;
	align-items: center;
	gap: 10px;
}

.trip__icon {
	width: max-content;
	transform: rotate(35deg);
	position: absolute;
	top: -20px;
	right: 0;
}

.trip__icon img {
	width: 51px;
	height: 51px;
}

.trip__secondary--text {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-end;
}

.trip__secondary--title {
	margin-right: 30px;
	position: relative;
}

.trip__secondary--title .tooltip {
	display: block;
	right: -30px;
	top: 0;
	width: max-content;
}

.privacy-policy {
	margin-top: 30px;
	display: flex;
	justify-content: space-between;
}

.accept {
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 12px;
}

.privacy-btn {
	display: flex;
	gap: 10px;
	align-items: baseline;
}

.privacy-btn img {
	width: 72px;
	height: 25px;
}

.privacy-btn button {
	background-color: var(--primary-blue);
	cursor: pointer;
	height: 69px;
	min-width: 235px;
	padding: 20px 40px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-white);
	border: none;
	outline: none;
	border-radius: 42px;
}

.accept input[type='checkbox'] {
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.accept a {
	color: var(--primary-blue);
	text-decoration: underline;
}

.accept.error-shake {
	color: red;
	animation: shake 0.4s ease;
}

.accept.error-shake a {
	color: red;
}

@keyframes shake {

	0%,
	100% {
		transform: translateX(0);
	}

	20%,
	60% {
		transform: translateX(-5px);
	}

	40%,
	80% {
		transform: translateX(5px);
	}
}

@media (max-width: 420px) {}

@media (max-width: 790px) {
	.tabs--container__item {
		display: none;
	}

	.tabs--container__item--active {
		display: block;
		width: 100%;
	}

	.tabs--container__item--active .tabs--container__content {
		border-bottom: 2px solid var(--primary-blue);
		display: flex;
		font-size: 18px;
		justify-content: center;
		min-width: auto;
		padding-bottom: 20px;
	}

	.swiper {
		width: 70%;
		height: 100%;
		display: flex;
		align-items: center;
	}

	.swiper-slide {
		text-align: center;
		font-size: 18px;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 30%;
	}

	.card {
		gap: 0;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		border-radius: 30px;
	}

	.card h2 {
		font-size: 16px;
	}

	.card .price {
		font-size: 26px;
	}

	.card .coverage,
	.card .deductible {
		font-size: 14px;
	}

	.trip {
		position: relative;
		flex-direction: column;
		align-items: flex-start;
	}

	.trip__secondary--text {
		align-items: flex-start;
		gap: 0;
	}

	.tooltip__text {
		left: -100px;
		width: 300px;
	}

	.privacy-policy {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.privacy-btn {
		flex-direction: column-reverse;
		align-items: center;
		gap: 10px;
	}
}

@media (max-width: 991px) {
	.buynow__container {
		padding: 40px 20px;
	}
}

@media (max-width: 1199px) {
	.buynow__container {
		width: calc(100% - 40px);
	}
}

@media screen and (min-width: 768px) {
	.buynow__title {
		font-size: 26px;
	}

	.tabs--container__item.tabs--container__item--active>.tabs--container__content {
		color: var(--color-black);
	}

	.tabs--container__item:first-child>div {
		justify-content: flex-start;
	}

	.tabs--container__title {
		font-size: 18px;
		font-style: normal;
		font-weight: 500;
		letter-spacing: 0.1px;
		line-height: 157%;
	}

	.tabs--container__divider {
		display: block;
	}

	.buynow__form--flights {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 30px;
	}

	.section-hero__field {
		flex: 2;
	}

	.section-hero__btn {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.section-hero-field-text .tooltip {
		display: block;
	}

	#country-list {
		display: block;
	}

	.cards-container {
		overflow-x: hidden;
		gap: 20px;
	}

	.card {
		flex: 1;
	}

	.swiper {
		width: 100%;
	}

	.swiper-button-next,
	.swiper-button-prev {
		display: none;
	}

	.trip__title {
		font-size: 18px;
	}

	.trip__text {
		font-size: 21px;
	}

	.trip__icon {
		position: static;
	}

	.trip__icon img {
		width: 81px;
		height: 81px;
	}

	.privacy-btn button {
		font-size: 24px;
		min-width: 205px;
	}
}

@media screen and (min-width: 992px) {
	.buynow__container {
		padding: 60px 30px;
	}

	.buynow__title {
		font-size: 36px;
		padding-bottom: 40px;
	}

	.tabs--container__content {
		min-width: max-content;
	}

	.accept {
		font-size: 18px;
	}
}

@media screen and (min-width: 1200px) {
	.buynow__container {
		max-width: calc(100% - 200px);
	}

	.trip {
		padding: 20px 30px;
		background-color: #f5f5f7;
	}
}

@media screen and (min-width: 1600px) {
	.buynow__container {
		max-width: 1400px;
		padding: 70px 100px 50px;
	}

	.buynow__title {
		font-size: 46px;
		padding-bottom: 50px;
	}
}

@media screen and (min-width: 1920px) {}


/* ========== Buy now checkout wizard (#checkout-api-root, Medical API) ========== */

.tabs--divider-item {
	list-style: none;
	flex: 1;
	display: flex;
	align-items: center;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.tabs--divider-item hr {
	width: 100%;
	margin: 0;
	border: none;
}

@media (max-width: 790px) {
	.tabs--divider-item {
		display: none;
	}
}

.checkout-api {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 clamp(12px, 4vw, 20px) clamp(28px, 6vw, 40px);
	box-sizing: border-box;
	overflow-x: clip;
	min-width: 0;
}

.checkout-api__panel {
	max-width: min(900px, 100%);
	margin: 0 auto;
	padding: clamp(12px, 3.2vw, 16px);
	border: 1px solid #e2e2e2;
	border-radius: 14px;
	background: #fff;
	box-sizing: border-box;
	width: 100%;
}

.checkout-api-inline {
	justify-content: center;
}

.checkout-secondary-btn {
	border: none;
	border-radius: 42px;
	min-width: 160px;
	height: 52px;
	padding: 0 24px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	background: #f5f5f7;
	color: #000;
	border: 1px solid #e2e2e2;
}

.checkout-api__hint {
	margin: 12px 0 0;
	min-height: 1.2em;
	font-size: 13px;
	color: #666;
}

.checkout-api__hint.is-error {
	color: #c62828;
}

.checkout-api__hint.is-ok {
	color: #2e7d32;
}

.checkout-api .checkout-buy-test-interstitial {
	box-sizing: border-box;
	padding: 16px 18px;
	border: 1px solid var(--grey-color-10, #e4e4e4);
	border-radius: 12px;
	background: var(--white-color, #fff);
	box-shadow: 0 8px 28px rgb(8 8 8 / 0.06);
}

.checkout-api .checkout-buy-test-interstitial__title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--color-black);
}

.checkout-api .checkout-buy-test-interstitial__title code {
	font-size: 0.95em;
	font-weight: 600;
}

.checkout-api .checkout-buy-test-interstitial__summary {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 600;
	color: var(--color-black);
}

.checkout-api .checkout-buy-test-interstitial__hint {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.45;
	color: rgb(8 8 8 / 0.68);
}

.checkout-api .checkout-buy-test-interstitial__hint code {
	font-size: 12px;
	background: rgb(8 8 8 / 0.06);
	padding: 1px 5px;
	border-radius: 4px;
}

.checkout-api .checkout-buy-test-json {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-height: min(42vh, 420px);
	margin: 0 0 14px;
	padding: 12px 14px;
	overflow: auto;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
	font-size: 12px;
	line-height: 1.45;
	white-space: pre-wrap;
	word-break: break-word;
	color: #1a1a1a;
	background: rgb(8 8 8 / 0.04);
	border: 1px solid var(--grey-color-10, #e8e8e8);
	border-radius: 10px;
}

.checkout-api .checkout-buy-test-interstitial__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
}

.checkout-panel {
	margin-top: 25px;
}

.checkout-api .checkout-api-price-shared {
	margin-top: 24px;
	margin-bottom: 12px;
}

.checkout-api .checkout-step3-main {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.checkout-api .checkout-api-step3-price {
	margin-top: 16px;
	margin-bottom: 0;
}

.checkout-api .checkout-step3-paywall-card .checkout-api-step3-price {
	border-top: 1px solid var(--grey-color-10, #ececec);
	padding-top: 16px;
	margin-top: 16px;
}

.checkout-api .checkout-step3-paywall-card {
	border: 1px solid var(--grey-color-10, #e0e0e0);
	border-radius: 12px;
	padding: clamp(16px, 3vw, 24px);
	background: var(--color-white, #fff);
	box-shadow: 0 8px 32px rgb(8 8 8 / 0.06);
}

.checkout-api .checkout-step3-paywall-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.checkout-api .checkout-step3-paywall-product {
	margin: 0;
	font-weight: 600;
	font-size: 17px;
	color: var(--color-black);
}

.checkout-api .checkout-step3-paywall-mode {
	margin: 6px 0 0;
	font-size: 13px;
	color: rgb(8 8 8 / 0.55);
}

.checkout-api .checkout-step3-paywall-amount {
	margin: 0;
	font-weight: 700;
	font-size: clamp(22px, 4vw, 28px);
	color: var(--color-black);
	letter-spacing: -0.02em;
}

.checkout-api .checkout-step3-paywall-hint {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.45;
	color: rgb(8 8 8 / 0.72);
}

.checkout-api .checkout-step3-paywall-note {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.45;
	color: rgb(8 8 8 / 0.5);
}

.checkout-api .checkout-step3-paywall-btn {
	margin-top: 20px;
}

.checkout-api .checkout-step3-footer-price {
	margin-top: 14px;
}

.checkout-api .checkout-step3-buttons-footer {
	margin-top: 12px;
}

.checkout-api .checkout-step3-secure-row {
	display: flex;
	justify-content: center;
	margin-top: -8px;
}

.checkout-api .checkout-step3-review {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px clamp(16px, 4vw, 36px);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	align-items: start;
}

@media (max-width: 720px) {
	.checkout-api .checkout-step3-review {
		grid-template-columns: 1fr;
	}
}

.checkout-api .checkout-review-block--wide {
	grid-column: 1 / -1;
}

.checkout-api .checkout-review-title {
	margin: 0 0 12px;
	font-size: clamp(17px, 2.4vw, 18px);
	font-weight: 600;
	border-bottom: 1px solid var(--grey-color-10, #ececec);
	padding-bottom: 10px;
}

.checkout-api .checkout-review-title--with-persons-svg {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.checkout-api .checkout-review-title--with-persons-svg .checkout-review-title__ico {
	flex-shrink: 0;
	display: block;
	color: var(--color-black);
}

.checkout-api .checkout-review-title__text {
	line-height: 1.25;
}

.checkout-api .checkout-review-dl {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.checkout-api .checkout-review-dl>div {
	display: grid;
	grid-template-columns: minmax(0, 160px) 1fr;
	gap: 6px 16px;
	align-items: start;
}

@media (max-width: 480px) {
	.checkout-api .checkout-review-dl>div {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

.checkout-api .checkout-review-dl dt {
	margin: 0;
	font-size: 15px;
	color: rgb(8 8 8 / 0.62);
	font-weight: 600;
	line-height: 1.35;
}

.checkout-api .checkout-review-dl dd {
	margin: 0;
	font-size: var(--input-font-size, 18px);
	font-weight: 400;
	line-height: 1.45;
	color: var(--color-black);
	word-break: break-word;
}

.checkout-api .checkout-review-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	border: 1px solid var(--grey-color-10, #ececec);
	border-radius: 10px;
}

.checkout-api .checkout-review-table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: var(--input-font-size, 18px);
}

.checkout-api .checkout-review-table th,
.checkout-api .checkout-review-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid var(--grey-color-10, #ececec);
}

.checkout-api .checkout-review-table th {
	font-weight: 600;
	font-size: 13px;
	color: rgb(8 8 8 / 0.65);
	background: rgb(8 8 8 / 0.03);
}

.checkout-api .checkout-review-table tr:last-child td {
	border-bottom: none;
}

@media (max-width: 639px) {
	.checkout-api .checkout-review-table-wrap {
		overflow: visible;
	}

	.checkout-api .checkout-review-table.checkout-review-table--tourists {
		min-width: 0;
		width: 100%;
		border-collapse: separate;
		border-spacing: 0 10px;
	}

	.checkout-api .checkout-review-table.checkout-review-table--tourists thead {
		display: none;
	}

	.checkout-api .checkout-review-table.checkout-review-table--tourists tbody tr {
		display: block;
		border: 1px solid var(--grey-color-10, #e8e8e8);
		border-radius: 10px;
		padding: 10px 12px;
		background: #fff;
	}

	.checkout-api .checkout-review-table.checkout-review-table--tourists tbody tr td {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 12px;
		padding: 6px 0;
		border: none;
		font-size: 14px;
		line-height: 1.35;
		word-break: break-word;
	}

	.checkout-api .checkout-review-table.checkout-review-table--tourists tbody tr td::before {
		content: attr(data-label);
		flex: 0 0 42%;
		max-width: 42%;
		font-size: 11px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		color: rgb(8 8 8 / 0.55);
	}

	.checkout-api .checkout-review-table.checkout-review-table--tourists tbody tr td:last-child {
		padding-bottom: 0;
	}

	.checkout-api .checkout-review-table {
		min-width: 480px;
		font-size: 14px;
	}

	.checkout-api .checkout-review-table:not(.checkout-review-table--tourists) th,
	.checkout-api .checkout-review-table:not(.checkout-review-table--tourists) td {
		padding: 8px 10px;
	}

	.checkout-api .checkout-review-table:not(.checkout-review-table--tourists) th {
		font-size: 11px;
	}
}

.checkout-api .checkout-step3-paywall-btn button {
	min-width: 260px;
}

@media (max-width: 540px) {
	.checkout-api .checkout-step3-paywall-btn button {
		min-width: 0;
		width: 100%;
		max-width: 100%;
	}
}

.checkout-api .checkout-api-step2-terms.privacy-policy {
	justify-content: flex-start;
	align-items: flex-start;
}

.checkout-api__panel--hidden {
	display: none !important;
}

.checkout-policy-heading {
	position: relative;
	text-align: center;
	margin: 0 0 clamp(24px, 5vw, 40px);
	padding: 0 clamp(56px, 12vw, 160px) 0 clamp(12px, 3vw, 16px);
}

.checkout-policy-heading__title {
	margin: 0;
	font-weight: 600;
	font-size: clamp(28px, 4vw, 46px);
	line-height: 120%;
	color: var(--color-black);
}

.checkout-policy-heading__cupon {
	position: absolute;
	top: -16px;
	right: 0;
	width: clamp(72px, 11vw, 140px);
	height: auto;
	pointer-events: none;
}

.checkout-date-shell {
	position: relative;
	width: 100%;
}

.checkout-date-shell input[type='text'] {
	width: 100%;
	box-sizing: border-box;
	height: 47px;
	padding: 0 44px 0 15px;
	border: 1px solid #08080833;
	border-radius: 10px;
	background-color: var(--color-white);
	font-size: 14px;
	cursor: pointer;
}

.checkout-date-shell input[type='date'] {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	margin: 0;
	border: none;
	font-size: 16px;
}

.checkout-date-shell .input-icon {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.checkout-country-dropdown {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.checkout-country-dropdown select {
	flex: 1;
	min-width: 0;
	height: 47px;
	padding: 0 44px 0 15px;
	border: none;
	background: transparent;
	font-size: 14px;
	appearance: none;
	cursor: pointer;
	color: var(--color-black);
}

.checkout-country-dropdown .dropdown__arrow {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.checkout-field-label-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.checkout-field-label-row p {
	margin: 0;
}

/* Match InRisk widget: small blue circle, white “?” */
.checkout-api .checkout-hint {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--primary-blue, #06c);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	cursor: help;
	vertical-align: middle;
}

.checkout-api .checkout-hint:focus-visible {
	outline: 2px solid var(--primary-blue, #06c);
	outline-offset: 2px;
}

.checkout-trip-price-title {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.checkout-plans-empty {
	margin: 24px auto;
	max-width: 420px;
	padding: 20px;
	text-align: center;
	font-size: 15px;
	line-height: 1.45;
	color: #555;
}

/* Labels above fields — light grey like widget */
.checkout-api .buynow__form--flights>.section-hero__field {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
}

.checkout-api .section-hero-field-text {
	margin-bottom: 0;
	width: 100%;
}

.checkout-api .checkout-field-label-row p,
.checkout-api .checkout-field-label-row .section-hero__country {
	color: var(--color-light-gray, #8d8d8d);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
}

/* Inactive steps — grey titles like widget */
.checkout-api .tabs--container__item:not(.tabs--container__item--active) .tabs--container__title {
	color: var(--color-light-gray, #8d8d8d);
	font-weight: 500;
}

.checkout-api .tabs--container__item.tabs--container__item--active .tabs--container__title {
	color: var(--color-black, #000);
	font-weight: 600;
}

/* Tariff cards: row layout + empty circle on non-selected */
.checkout-api .checkout-plan-cards-wrap.cards-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 20px;
	margin-top: 24px;
	width: 100%;
}

.checkout-api .checkout-plan-cards-wrap .card {
	flex: 1 1 260px;
	max-width: 380px;
	min-width: 220px;
	box-sizing: border-box;
}

.checkout-api .checkout-plan-cards-wrap .card:not(.selected)::before {
	content: '';
	position: absolute;
	top: 15px;
	right: 15px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid #ccc;
	box-sizing: border-box;
	pointer-events: none;
	z-index: 0;
}

.checkout-api .checkout-plan-cards-wrap .card.selected::before {
	display: none;
}

.checkout-api .checkout-plan-cards-wrap .card h2,
.checkout-api .checkout-plan-cards-wrap .card .price,
.checkout-api .checkout-plan-cards-wrap .card .coverage,
.checkout-api .checkout-plan-cards-wrap .card .deductible,
.checkout-api .checkout-plan-cards-wrap .card .checkmark {
	position: relative;
	z-index: 1;
}

.checkout-secure-inline {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #5a5a5a;
	font-size: 13px;
	font-weight: 600;
}

.checkout-secure-inline img {
	width: 72px;
	height: 24px;
	flex-shrink: 0;
}

.checkout-api .trip {
	flex-wrap: wrap;
	align-items: center;
}

.checkout-api .trip__duration--secondary {
	flex: 1;
	min-width: 200px;
	box-sizing: border-box;
}

.checkout-api .trip__secondary--text {
	align-items: flex-end;
	text-align: right;
	min-width: 0;
}

.checkout-api .trip__cost-row {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: baseline;
	gap: 10px;
	max-width: 100%;
}

.checkout-api .trip__cost--strike {
	font-size: 18px;
	font-weight: 500;
	color: #999;
	text-decoration: line-through;
	margin-right: 0;
}

.card .price--was {
	font-size: 18px;
	font-weight: 500;
	color: #999;
	text-decoration: line-through;
	margin: 0 0 4px;
}

.trip__cost-row {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.trip__cost--strike {
	font-size: 18px;
	font-weight: 500;
	color: #999;
	text-decoration: line-through;
}

.checkout-step1-footer {
	margin-top: 20px;
}

.checkout-simple-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 18px;
}

.checkout-simple-grid label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
}

.checkout-simple-grid label.full {
	grid-column: 1 / -1;
}

.checkout-simple-grid input {
	border: 1px solid #d2d2d2;
	border-radius: 10px;
	height: 48px;
	padding: 0 12px;
	font-size: 16px;
}

.checkout-nav-row {
	margin-top: 20px;
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.checkout-api-tourist-card {
	margin-top: 14px;
	border: 1px solid #e2e2e2;
	border-radius: 12px;
	padding: 14px;
	background: #fafafa;
}

.checkout-api-tourist-head {
	margin-bottom: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.checkout-api .checkout-api-download-pdf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.checkout-api .checkout-api-pdf-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	flex-shrink: 0;
}

.checkout-api .checkout-api-pdf-ico svg {
	display: block;
	width: 36px;
	height: 36px;
}

@media (max-width: 991px) {

	.checkout-simple-grid {
		grid-template-columns: 1fr;
	}

	.checkout-nav-row,
	.checkout-step1-footer {
		flex-direction: column;
	}

	.checkout-api .checkout-step3-buttons-footer .onlineContract__buttons {
		display: flex;
		flex-direction: column-reverse;
		align-items: stretch;
		width: 100%;
		gap: 14px;
	}

	.checkout-api .checkout-step3-buttons-footer .website__secure__image {
		align-self: center;
	}

	#checkout-goto-2,
	#checkout-goto-3,
	#checkout-back-1,
	#checkout-buy,
	#checkout-back-2,
	#checkout-step4-download,
	.checkout-secondary-btn {
		width: 100%;
	}
}

/* Shims for InRisk-class DOM (experiment uses Splide markup without Splide JS) */
/* InRisk: .custom-select select { display: none } — without override the country <select> never opens */
.checkout-api .checkout-api-country-wrap.custom-select select#checkout-country,
.checkout-api .checkout-api-country-wrap.custom-select select.checkout-api-country-native {
	display: block !important;
}

.checkout-api .checkout-api-date-wrap,
.checkout-api .checkout-api-country-wrap.custom-select {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	overflow: visible;
}

.checkout-api .checkout-api-date-field {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	min-height: var(--input-height, 55px);
	cursor: pointer;
	flex: 0 0 auto;
	touch-action: manipulation;
}

.checkout-api .checkout-api-date-wrap,
.checkout-api .checkout-api-date-field {
	cursor: pointer;
}

.checkout-api .checkout-api-date-field .onlineContract__inputDate__input,
.checkout-api .checkout-api-date-field [data-tourist-birth-display] {
	pointer-events: none;
}

.checkout-api .checkout-api-date-field .checkout-api-date-field-icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	margin: 0;
	z-index: 3;
	pointer-events: none;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

.checkout-api .checkout-api-date-field .onlineContract__inputDate__input,
.checkout-api .checkout-api-date-field [data-tourist-birth-display] {
	box-sizing: border-box;
	width: 100%;
	min-height: var(--input-height, 55px);
	height: var(--input-height, 55px);
	padding-left: var(--indent-22, 15px);
	padding-right: 44px;
	font-size: var(--input-font-size, 18px);
	border: 2px solid var(--grey-color-10, #e2e2e2);
	border-radius: 10px;
}

.checkout-api .checkout-api-date-field-icon--cake-birth {
	background-image: none !important;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--black-color, #111);
}

.checkout-api .checkout-api-date-field-icon--cake-birth svg {
	display: block;
	width: 24px;
	height: 24px;
}

.checkout-api .checkout-api-date-field-icon--travel-start {
	background-image: url('https://plugin.inrisk.com/static/media/arrival.5e9c1be8d3586b93359058db0b0fe4bb.svg');
	transform: translateY(-50%) scaleX(-1);
}

.air-datepicker-global-container {
	z-index: 10050;
}

.checkout-api-field--deferred {
	display: none !important;
}

.checkout-api #checkout-promo.checkout-promo--valid {
	border-color: #2e7d32 !important;
	box-shadow: 0 0 0 1px rgb(46 125 50 / 28%);
}

.checkout-api #checkout-promo.checkout-promo--invalid {
	border-color: #c62828 !important;
	box-shadow: 0 0 0 1px rgb(198 40 40 / 28%);
}

.checkout-api .checkout-promo-hint {
	margin: 6px 0 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.35;
	font-weight: 600;
}

.checkout-api #checkout-promo.checkout-promo--valid+.checkout-promo-hint {
	color: #2e7d32;
}

.checkout-api #checkout-promo.checkout-promo--invalid+.checkout-promo-hint {
	color: #c62828;
}

.air-datepicker-global-container {
	z-index: 10050;
}

.checkout-api .checkout-field--invalid .onlineContract__input__input,
.checkout-api .checkout-field--invalid .onlineContract__inputDate__input,
.checkout-api .checkout-field--invalid .checkout-api-nationality-select,
.checkout-api .checkout-field--invalid .checkout-api-country-field .checkout-api-country-face {
	border-color: #c62828 !important;
	box-shadow: 0 0 0 1px rgb(198 40 40 / 22%);
}

/* Chrome/Safari autofill paints over borders — reinforce error state when invalid */
.checkout-api .checkout-field--invalid .onlineContract__input__input:-webkit-autofill,
.checkout-api .checkout-field--invalid .onlineContract__input__input:-webkit-autofill:hover,
.checkout-api .checkout-field--invalid .onlineContract__input__input:-webkit-autofill:focus,
.checkout-api .checkout-field--invalid .checkout-api-nationality-select:-webkit-autofill,
.checkout-api .checkout-field--invalid .checkout-api-nationality-select:-webkit-autofill:hover {
	-webkit-text-fill-color: var(--black-color, #000) !important;
	border: 2px solid #c62828 !important;
	box-shadow: 0 0 0 1px rgb(198 40 40 / 30%), 0 0 0 1000px #fff inset !important;
	transition: background-color 999999s ease-out 0s;
}

.checkout-api .checkout-field-inline-error {
	margin: 6px 0 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.38;
	font-weight: 600;
	color: #b71c1c;
}

.checkout-api .checkout-api-step2-terms--invalid {
	box-sizing: border-box;
	padding: 12px 14px;
	border-radius: 10px;
	outline: 2px solid rgb(198 40 40 / 0.35);
	outline-offset: 0;
	background-color: rgb(255 246 246);
}

.checkout-api .checkout-step2-terms-error {
	margin: 10px 0 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.38;
	font-weight: 600;
	color: #b71c1c;
}

.checkout-api dd.checkout-summary-dd--invalid {
	color: #b71c1c;
	padding: 2px 0;
	box-shadow: inset 3px 0 0 rgb(183 28 28 / 1);
	padding-left: 8px;
	margin-left: -8px !important;
	border-radius: 2px;
}

.checkout-api #checkout-tourists.checkout-section--invalid {
	border-radius: 10px;
	outline: 2px solid rgb(198 40 40 / 0.35);
	outline-offset: 4px;
}

.checkout-api .checkout-api-tourist-card--invalid {
	position: relative;
	border-radius: 10px;
	outline: 2px solid rgb(198 40 40 / 0.4);
	outline-offset: 2px;
}

.checkout-api #checkout-summary-tourists-body.checkout-summary-tourists--invalid {
	outline: 2px solid rgb(198 40 40 / 0.45);
	outline-offset: -2px;
}

.checkout-api .checkout-api-date-field .checkout-api-native-date {
	position: absolute;
	inset: 0;
	width: auto;
	height: auto;
	min-height: var(--input-height, 55px);
	opacity: 0;
	margin: 0;
	border: none;
	font-size: 16px;
	box-sizing: border-box;
	z-index: 0;
	pointer-events: none !important;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.checkout-api .checkout-api-date-field--readonly .checkout-api-native-date {
	pointer-events: none;
}

.checkout-api .checkout-api-date-field--readonly {
	cursor: default;
}

.checkout-api .checkout-api-buyer-age-hint {
	margin: 8px 0 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.35;
	color: #c62828;
}

.checkout-api .checkout-api-country-field {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	min-height: var(--input-height, 55px);
	cursor: pointer;
	overflow: visible;
	flex: 0 0 auto;
}

.checkout-api .checkout-api-country-field .select-selected.checkout-api-country-face {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	min-height: var(--input-height, 55px);
	height: var(--input-height, 55px);
	padding-left: var(--indent-22, 15px);
	padding-right: 35px;
	position: relative;
	z-index: 1;
	pointer-events: none !important;
	font-size: var(--input-font-size, 18px);
	border: 2px solid var(--grey-color-10, #e2e2e2);
	border-radius: 10px;
	background-color: var(--white-color, #fff);
	color: var(--black-color, #000);
}

.checkout-api .checkout-api-country-field .checkout-api-country-native {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	min-height: var(--input-height, 55px) !important;
	opacity: 0 !important;
	cursor: pointer;
	z-index: 10 !important;
	margin: 0;
	padding: 0;
	pointer-events: auto !important;
	-webkit-appearance: menulist !important;
	appearance: auto !important;
	font-size: var(--input-font-size, 18px) !important;
	box-sizing: border-box !important;
}

.checkout-api .checkout-api-country-face {
	position: relative;
	z-index: 1;
	pointer-events: none !important;
}

@media (max-width: 767px) {

	.checkout-api .checkout-api-date-field {
		min-height: var(--input-height-mobile, 47px);
	}

	.checkout-api .checkout-api-date-field .onlineContract__inputDate__input {
		min-height: var(--input-height-mobile, 47px);
		height: var(--input-height-mobile, 47px);
		font-size: var(--input-font-sm, 14px);
	}

	.checkout-api .checkout-api-country-field {
		min-height: var(--input-height-mobile, 47px);
	}

	.checkout-api .checkout-api-country-field .select-selected.checkout-api-country-face {
		min-height: var(--input-height-mobile, 47px);
		height: var(--input-height-mobile, 47px);
		font-size: var(--input-font-sm, 14px);
	}

	.checkout-api .checkout-api-country-field .checkout-api-country-native {
		min-height: var(--input-height-mobile, 47px) !important;
		font-size: var(--input-font-sm, 14px) !important;
	}

	/* Mobile: system date picker via invisible native `<input type="date">` overlay */
	.checkout-api .checkout-api-date-field--native .checkout-api-native-date {
		position: absolute !important;
		inset: 0;
		width: 100% !important;
		height: 100% !important;
		min-height: var(--input-height-mobile, 47px) !important;
		opacity: 0 !important;
		cursor: pointer;
		z-index: 10 !important;
		margin: 0;
		padding: 0;
		border: none;
		pointer-events: auto !important;
		-webkit-appearance: none;
		appearance: none;
		font-size: 16px !important;
		box-sizing: border-box !important;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}

	.checkout-api .checkout-api-date-field--native .onlineContract__inputDate__input,
	.checkout-api .checkout-api-date-field--native [data-tourist-birth-display] {
		pointer-events: none;
		position: relative;
		z-index: 1;
	}
}

.checkout-api .packages--list .splide__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 16px 0 0;
	width: 100%;
	box-sizing: border-box;
	overflow: visible;
}

.checkout-api .packages--list.splide,
.checkout-api .packages--list .splide__track,
.checkout-api .packages--list .packages--list__item {
	overflow: visible;
}

.checkout-api .packages--list.splide,
.checkout-api .packages--list .splide__track,
.checkout-api .packages--list .splide__list {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.checkout-api .packages--list .splide__track,
.checkout-api .packages--list .splide__list {
	transform: none !important;
}

.checkout-api .packages--list .splide__slide {
	overflow: hidden;
	flex: 1 1 min(100%, 280px);
	min-width: min(100%, 240px);
	max-width: 380px;
	box-sizing: border-box;
	margin: 0;
	container-type: inline-size;
}

.checkout-api .packages--list .packages--list__checkbox,
.checkout-api .packages--list .packages--list__item label {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.checkout-api .packages--list .packages--list__checkbox {
	padding: clamp(16px, 4cqi, 30px) clamp(48px, 14cqi, 65px) clamp(16px, 4cqi, 30px) clamp(16px, 4cqi, 30px);
	overflow: hidden;
}

.checkout-api .packages--list .packages--list__item {
	overflow: hidden;
}

.checkout-api .packages--list .packages--list__item--header.checkout-plan-card-header {
	padding-right: 0 !important;
}

.checkout-api .checkout-plans-slide-empty {
	flex: 1 1 100%;
	max-width: none;
}

/* Placeholder plan cards while `/plans` is loading */
.checkout-api .checkout-plans-slide--pending {
	pointer-events: none;
}

.checkout-api .checkout-plan-sk-shell.checkout-plans-item--pending {
	animation: none;
	opacity: 1;
	filter: none;
}

.checkout-api .checkout-plan-sk-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	min-height: 48px;
	box-sizing: border-box;
	margin-bottom: 0;
}

.checkout-api .checkout-plan-sk-footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	margin-top: 4px;
}

.checkout-api .checkout-plan-sk-price {
	margin-top: 4px;
}

.checkout-api .checkout-plan-sk-bar {
	display: block;
	border-radius: 7px;
	background: linear-gradient(110deg,
			#e8e8e8 0%,
			#e8e8e8 40%,
			#f2f2f2 50%,
			#e8e8e8 60%,
			#e8e8e8 100%);
	background-size: 200% 100%;
	animation: checkout-plan-sk-shimmer 1.15s ease-in-out infinite;
	min-height: 14px;
}

.checkout-api .checkout-plan-sk-bar--title {
	width: min(88%, 260px);
	min-height: 18px;
}

.checkout-api .checkout-plan-sk-bar--subtitle {
	width: min(55%, 160px);
	min-height: 14px;
	opacity: 0.92;
}

.checkout-api .checkout-plan-sk-bar--crossed {
	width: min(38%, 112px);
	min-height: 16px;
}

.checkout-api .checkout-plan-sk-bar--amount {
	width: min(42%, 128px);
	min-height: 22px;
}

.checkout-api .checkout-plan-sk-bar--coverage {
	width: min(75%, 220px);
	min-height: 15px;
}

.checkout-api .checkout-plan-sk-bar--deductible {
	width: min(50%, 160px);
	min-height: 14px;
}

@keyframes checkout-plan-sk-shimmer {

	0% {
		background-position: 100% 0;
	}

	100% {
		background-position: -100% 0;
	}
}

.checkout-api .checkout-plans-item--pending {
	position: relative;
	animation: checkout-plan-pending-breathe 1.35s ease-in-out infinite;
	opacity: 0.96;
}

.checkout-api .checkout-plans-checkbox--pending {
	cursor: wait;
}

.checkout-api .checkout-plans-sk-icon {
	opacity: 0.42;
	filter: saturate(0.9);
}

@keyframes checkout-plan-pending-breathe {

	0%,
	100% {
		opacity: 0.93;
		filter: saturate(0.88);
	}

	50% {
		opacity: 1;
		filter: saturate(1);
	}
}

.checkout-api .checkout-api-label-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	/* spacing below title row belongs here — not on the label (otherwise flex vertical center skews the tooltip icon) */
	margin-bottom: 15px;
}

.checkout-api .checkout-api-label-row .onlineContract__inputDate__title,
.checkout-api .checkout-api-label-row .onlineContract__select__title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	display: inline-flex;
	align-items: center;
	align-self: center;
	font-size: 14px;
	line-height: 20px;
}

@media (max-width: 1599px) {

	.checkout-api .checkout-api-label-row {
		margin-bottom: 13px;
	}
}

@media (max-width: 991px) {

	.checkout-api .checkout-api-label-row .onlineContract__inputDate__title,
	.checkout-api .checkout-api-label-row .onlineContract__select__title {
		font-size: 11px;
		line-height: 18px;
	}
}

@media (max-width: 767px) {

	.checkout-api .checkout-api-label-row {
		margin-bottom: 10px;
	}

	.checkout-api .checkout-api-label-row .onlineContract__inputDate__title,
	.checkout-api .checkout-api-label-row .onlineContract__select__title {
		font-size: 14px;
		line-height: 20px;
	}

	.checkout-api .packages--list .splide__list {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding-top: 12px;
	}

	.checkout-api .packages--list .splide__slide {
		flex: 0 0 auto;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}
}

.checkout-api .checkout-api-label-row>.onlineContract__tooltip {
	flex-shrink: 0;
	align-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	margin-left: auto;
	position: relative;
	z-index: 3;
	width: 20px;
	height: 20px;
}

.checkout-api .checkout-api-label-row>.onlineContract__tooltip svg {
	display: block;
}

.checkout-api .checkout-api-price-cost-heading.onlineContract__insurance-cost__text {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: nowrap;
	gap: 10px;
	margin: 0;
	min-width: 0;
}

.checkout-api .checkout-api-price-cost-heading.onlineContract__insurance-cost__text>span:first-of-type {
	flex: 1 1 auto;
	min-width: 0;
}

.checkout-api .checkout-api-price-cost-heading .onlineContract__tooltip {
	position: relative !important;
	inset: auto !important;
	transform: none !important;
	z-index: 3;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: auto;
}

.checkout-api .checkout-api-price-cost-heading .onlineContract__tooltip svg {
	display: block;
	flex-shrink: 0;
}

/* Vendor stylesheet often strikes the whole cost row — only pre-discount total should strike */
.checkout-api .onlineContract__insurance-cost__cost {
	text-decoration: none !important;
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0;
	vertical-align: middle;
}

.checkout-api .checkout-price-cost-sk {
	display: none;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	min-width: 168px;
	width: min(100%, 280px);
	column-gap: 12px;
}

.checkout-api [data-checkout-price-strip].checkout-price-strip--calculating .checkout-price-cost-sk {
	display: inline-flex !important;
}

.checkout-api [data-checkout-price-strip].checkout-price-strip--calculating .onlineContract__insurance-cost__cost>[data-checkout-price-strike],
.checkout-api [data-checkout-price-strip].checkout-price-strip--calculating .onlineContract__insurance-cost__cost>[data-checkout-price-gap],
.checkout-api [data-checkout-price-strip].checkout-price-strip--calculating .onlineContract__insurance-cost__cost>[data-checkout-price-value],
.checkout-api [data-checkout-price-strip].checkout-price-strip--calculating span[data-checkout-price-strike],
.checkout-api [data-checkout-price-strip].checkout-price-strip--calculating span[data-checkout-price-gap],
.checkout-api [data-checkout-price-strip].checkout-price-strip--calculating span[data-checkout-price-value] {
	display: none !important;
	visibility: hidden !important;
}

.checkout-api [data-checkout-price-strip]:not(.checkout-price-strip--calculating):not([hidden]) .checkout-price-cost-sk {
	display: none !important;
}

.checkout-api [data-checkout-price-strip]:not(.checkout-price-strip--calculating):not([hidden]) [data-checkout-price-value] {
	display: inline !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.checkout-api .checkout-total-price-sk-bar--strike {
	width: min(40%, 100px);
	min-height: 18px;
	flex: 0 0 auto;
}

.checkout-api .checkout-total-price-sk-bar--value {
	width: min(52%, 120px);
	min-height: 22px;
	flex: 0 0 auto;
}

.checkout-api .checkout-api-price-shared [data-checkout-price-strike]:not([hidden]) {
	text-decoration: line-through;
	color: #999;
	font-weight: 500;
}

.checkout-api .checkout-api-price-shared [data-checkout-price-gap]:not([hidden]) {
	text-decoration: none !important;
	color: inherit;
}

.checkout-api .checkout-api-price-shared [data-checkout-price-value] {
	text-decoration: none !important;
	color: #000;
	font-weight: 600;
	transition: opacity 0.25s ease;
}

/* Trip duration + total price bar — labels left, values right, grey panel background */
.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared {
	gap: 10px 20px;
	background: #f5f5f7 !important;
	border: none !important;
	border-radius: 10px;
	padding: 16px 20px !important;
	margin-top: 20px;
}

.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div {
	display: flex;
	min-width: 0;
	width: 100%;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 12px 16px;
}

.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div:first-child .onlineContract__insurance-cost__text {
	flex: 0 0 auto;
	margin: 0 12px 0 0;
	text-align: left;
	white-space: nowrap;
}

.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div:first-child .onlineContract__insurance-cost__duration {
	flex: 1 1 0;
	min-width: 0;
	width: auto !important;
	max-width: 100%;
	margin: 0 0 0 auto;
	text-align: right;
	white-space: nowrap;
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
}

.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div:last-child .checkout-api-price-cost-heading {
	flex: 0 0 auto;
	margin: 0 12px 0 0;
	justify-content: flex-start;
}

.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div:last-child .checkout-api-price-cost-heading .onlineContract__tooltip {
	margin-left: 0;
}

.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div:last-child .onlineContract__insurance-cost__cost {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	text-align: right;
	justify-content: flex-end;
}

@media (min-width: 1200px) {

	.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div {
		justify-content: flex-start;
		width: auto;
		flex: 0 1 auto;
	}

	.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div:first-child .onlineContract__insurance-cost__text {
		margin-right: 16px;
	}

	.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div:first-child .onlineContract__insurance-cost__duration {
		flex: 0 1 auto;
		width: auto !important;
		margin-left: 0;
		text-align: left;
		justify-content: flex-start;
		align-items: center;
	}

	.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div:last-child {
		justify-content: flex-start;
	}

	.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div:last-child .checkout-api-price-cost-heading {
		margin-right: 16px;
	}

	.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div:last-child .onlineContract__insurance-cost__cost {
		flex: 0 0 auto;
		text-align: left;
		justify-content: flex-start;
	}
}

@media (max-width: 1199px) {

	.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared {
		flex-direction: column;
		padding: 14px 16px !important;
		margin-top: 16px;
	}
}

@media (max-width: 549px) {

	.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div {
		flex-direction: row !important;
		width: 100% !important;
	}
}

@media (max-width: 767px) {

	.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div:first-child {
		align-items: flex-start;
		width: 100%;
		flex-direction: row;
	}

	.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div:first-child .onlineContract__insurance-cost__text {
		line-height: 1.35;
		flex: 0 0 auto;
	}

	.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div:first-child .onlineContract__insurance-cost__text p {
		margin: 0;
	}

	.checkout-api .onlineContract__insurance-cost.checkout-api-price-shared>div:first-child .onlineContract__insurance-cost__duration {
		flex: 1 1 0;
		min-width: 0;
		width: auto !important;
		margin-left: auto;
		white-space: normal;
	}

	.checkout-api .onlineContract__insurance-cost__duration .checkout-trip-duration-value {
		width: 100%;
		align-items: flex-end;
		text-align: right;
	}
}

.checkout-api .checkout-trip-duration-value {
	display: inline;
	line-height: 1.35;
	vertical-align: top;
	white-space: nowrap;
}

.checkout-api .checkout-trip-duration-line--dates,
.checkout-api .checkout-trip-duration-line--days,
.checkout-api .checkout-trip-duration-date,
.checkout-api .checkout-trip-duration-sep {
	display: inline;
}

.checkout-api .checkout-trip-duration-line--days::before {
	content: ' (';
}

.checkout-api .checkout-trip-duration-line--days::after {
	content: ')';
}

@media (max-width: 767px) {

	.checkout-api .checkout-trip-duration-value {
		display: inline-flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 2px;
		white-space: normal;
		width: 100%;
	}

	.checkout-api .onlineContract__insurance-cost__duration .checkout-trip-duration-value {
		align-items: flex-end;
	}

	.checkout-api .checkout-review-dl dd .checkout-trip-duration-value {
		align-items: flex-start;
	}

	.checkout-api .checkout-trip-duration-line--dates {
		display: flex;
		flex-direction: column;
		align-items: inherit;
		gap: 2px;
	}

	.checkout-api .checkout-trip-duration-line--days,
	.checkout-api .checkout-trip-duration-date,
	.checkout-api .checkout-trip-duration-sep {
		display: inline;
	}

	.checkout-api .checkout-trip-duration-sep {
		display: none;
	}

	.checkout-api .checkout-trip-duration-line--days {
		font-size: 0.92em;
		opacity: 0.88;
	}

	.checkout-api .checkout-trip-duration-line--days::before,
	.checkout-api .checkout-trip-duration-line--days::after {
		content: none;
	}
}

@media (min-width: 1200px) {

	.checkout-api .onlineContract__insurance-cost__duration .checkout-trip-duration-value {
		white-space: nowrap;
	}
}

.checkout-plan-card-header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 4px;
	row-gap: 2px;
}

.checkout-plan-options-segment {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
}

.checkout-plan-options-tooltip {
	display: inline-flex;
	flex-shrink: 0;
	vertical-align: middle;
}

.checkout-plan-options-tooltip svg {
	display: block;
}

/* Plan cards: keep InRisk font sizes; only constrain layout on narrow cards */
.checkout-api .checkout-plan-price-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: flex-start;
	gap: 4px 10px;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	padding-right: clamp(48px, 14cqi, 65px);
}

.checkout-api .checkout-plan-price-row .packages--list__item--amount,
.checkout-api .checkout-plan-price-row .packages--list__item--amount-crossed {
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	margin-top: 0;
	line-height: 1.15;
	white-space: nowrap;
}

.checkout-api .checkout-plan-price-row .packages--list__item--amount-crossed:not([style*='display: none']) {
	margin-right: auto;
}

/* Narrow card: stack prices vertically so they stay inside the card */
@container (max-width: 300px) {
	.checkout-api .checkout-plan-price-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
		padding-right: clamp(40px, 12cqi, 52px);
	}

	.checkout-api .checkout-plan-price-row .packages--list__item--amount-crossed:not([style*='display: none']) {
		margin-right: 0;
	}
}

.checkout-api fieldset,
.checkout-api .checkout-panel,
.checkout-api .checkout-api__panel,
.checkout-api .checkout-api-step2-fields,
.checkout-api .checkout-api-field-stack,
.checkout-api .onlineContract__fields,
.checkout-api .onlineContract__form__container {
	overflow: visible;
}

.checkout-api .onlineContract__tooltip[data-tooltip] {
	position: relative;
	z-index: 0;
}

.checkout-api .onlineContract__tooltip[data-tooltip]:hover,
.checkout-api .onlineContract__tooltip[data-tooltip]:focus-visible {
	z-index: 999999;
}

.checkout-api .onlineContract__tooltip[data-tooltip]:hover::after,
.checkout-api .onlineContract__tooltip[data-tooltip]:focus-visible::after {
	content: attr(data-tooltip);
	position: absolute;
	/* Anchor to trigger right edge so the bubble grows left (readable near viewport edge). */
	right: 0;
	left: auto;
	bottom: calc(100% + 8px);
	transform: translateZ(0);
	z-index: 999999;
	min-width: min(160px, calc(100vw - 24px));
	max-width: min(340px, calc(100vw - 24px));
	width: max-content;
	box-sizing: border-box;
	padding: 8px 10px;
	font-size: 12px;
	line-height: 1.35;
	font-weight: 400;
	color: #222;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	pointer-events: none;
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: normal;
}

/* Plan “options ?” bubble: multi-line list + keyboard focus + scroll when long */
.checkout-api .onlineContract__tooltip.checkout-plan-options-tooltip[data-tooltip]:hover::after,
.checkout-api .onlineContract__tooltip.checkout-plan-options-tooltip[data-tooltip]:focus-visible::after {
	pointer-events: auto;
	/* Open downward so the card / row top border does not clip multi-line lists */
	top: calc(100% + 8px);
	bottom: auto;
	right: 0;
	left: auto;
	min-width: min(200px, calc(100vw - 24px));
	max-width: min(380px, calc(100vw - 24px));
	line-height: 1.42;
	max-height: min(46vh, 300px);
	overflow-y: auto;
	overscroll-behavior: contain;
	white-space: pre-wrap;
}

.checkout-api .onlineContract__tooltip.checkout-plan-options-tooltip:focus-visible {
	outline: 2px solid #06c;
	outline-offset: 3px;
	border-radius: 4px;
}

@media (max-width: 767px) {

	.checkout-api .onlineContract__tooltip[data-tooltip]:hover::after,
	.checkout-api .onlineContract__tooltip[data-tooltip]:focus-visible::after {
		max-width: calc(100vw - 20px);
		right: 0;
	}

	.checkout-api .onlineContract__tooltip.checkout-plan-options-tooltip[data-tooltip]:hover::after,
	.checkout-api .onlineContract__tooltip.checkout-plan-options-tooltip[data-tooltip]:focus-visible::after {
		max-width: calc(100vw - 18px);
	}
}

/* Step 2 — personal info & tariff (matches InRisk widget layout, ~screenshot) */
.checkout-api .checkout-api-step2-fields {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-column-gap: 50px;
	grid-row-gap: 40px;
	align-items: start;
}

/* Step 1 — travel dates + country */
.checkout-api .onlineContract__first-step .onlineContract__fields {
	align-items: start;
}

/* Date/country columns: same label→input gap as text fields (8px, not 15px) */
.checkout-api .checkout-api-step2-fields>.checkout-api-date-wrap>.checkout-api-label-row,
.checkout-api .onlineContract__first-step .onlineContract__fields>.checkout-api-date-wrap>.checkout-api-label-row,
.checkout-api .onlineContract__first-step .onlineContract__fields>.checkout-api-country-wrap>.checkout-api-label-row {
	margin-bottom: 8px;
}

@media (max-width: 991px) {

	.checkout-api .checkout-api-step2-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-column-gap: clamp(14px, 3.5vw, 32px);
		grid-row-gap: clamp(22px, 4vw, 34px);
	}
}

@media (max-width: 767px) {

	.checkout-api .checkout-api-step2-fields {
		grid-template-columns: 1fr;
		grid-column-gap: 0;
		grid-row-gap: 18px;
	}

	.checkout-api .checkout-simple-grid {
		gap: 10px 12px;
	}

	.checkout-step1-footer {
		margin-top: 14px;
	}

	.checkout-nav-row {
		margin-top: 14px;
		gap: 10px;
	}

	.checkout-api .checkout-plan-cards-wrap.cards-container {
		gap: 14px;
		margin-top: 16px;
	}

	.checkout-api-tourist-card {
		margin-top: 10px;
		padding: 12px;
	}

	.checkout-api-tourist-head {
		margin-bottom: 8px;
	}

	.checkout-api .checkout-api-label-row {
		margin-bottom: 10px;
	}

	.checkout-api .checkout-api-input-stack>.checkout-api-label-row {
		margin-bottom: 5px;
	}

	.checkout-api .checkout-api-buyer-age-hint {
		margin-top: 5px;
	}
}

.checkout-api .checkout-api-step2-span-all {
	grid-column: 1 / -1;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	align-self: stretch;
	box-sizing: border-box;
}

.checkout-api .packages--list.splide {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: visible !important;
}

.checkout-api .checkout-api-step2-tariff-caption {
	grid-column: 1 / -1;
	text-align: center;
	justify-self: center;
	margin: 0;
}

.checkout-api .checkout-api-field-stack {
	min-width: 0;
	width: 100%;
}

.checkout-api .checkout-api-input-stack {
	width: 100%;
	box-sizing: border-box;
}

.checkout-api .checkout-api-input-stack>.checkout-api-label-row {
	margin-bottom: 8px;
}

.checkout-api .checkout-api-input-stack>.checkout-api-date-field {
	width: 100%;
}

.checkout-api .checkout-api-nationality-select {
	min-height: var(--input-height, 55px);
	height: var(--input-height, 55px);
	border: 2px solid var(--grey-color-10, #e2e2e2);
	border-radius: 10px;
	padding: 0 var(--indent-22, 15px);
	font-size: var(--input-font-size, 18px);
	box-sizing: border-box;
	width: 100%;
	-webkit-appearance: none;
	appearance: none;
	background-color: var(--white-color, #fff);
	background-image: url('https://plugin.inrisk.com/static/media/select-icon.aa6fbe6d2ab69720fc65c68e0cce829a.svg');
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 14px;
	padding-right: 36px;
}

@media (max-width: 767px) {

	.checkout-api .checkout-api-nationality-select {
		min-height: var(--input-height-mobile, 47px);
		height: var(--input-height-mobile, 47px);
		font-size: var(--input-font-sm, 14px);
	}
}

.checkout-api .checkout-api-vacation-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 12px;
	margin-bottom: 4px;
	padding: 24px 0 20px;
	border-top: 1px solid var(--grey-color-10, #e8e8e8);
}

.checkout-api .checkout-api-vacation-copy {
	flex: 1 1 260px;
	min-width: 0;
}

.checkout-api .checkout-api-vacation-hint {
	margin: 6px 0 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.35;
	color: #888;
}

.checkout-api .checkout-api-label-row--vacation {
	margin-bottom: 4px;
}

/* Keep tooltip beside the vacation title; default label-row pushes ? to the row end (near the switch). */
.checkout-api .checkout-api-label-row--vacation>.checkout-api-vacation-title {
	flex: 0 1 auto;
	min-width: 0;
}

.checkout-api .checkout-api-label-row--vacation>.onlineContract__tooltip {
	margin-left: 0;
}

.checkout-api .checkout-api-vacation-title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	display: inline-flex;
	align-items: center;
}

.checkout-api .checkout-api-switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	align-self: center;
	cursor: pointer;
	flex-shrink: 0;
}

.checkout-api .checkout-api-switch input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.checkout-api .checkout-api-switch-slider {
	width: 44px;
	height: 24px;
	background: var(--grey-color-10, #e2e2e2);
	border-radius: 999px;
	position: relative;
	transition: background 0.2s;
}

.checkout-api .checkout-api-switch-slider::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	top: 2px;
	left: 2px;
	transition: transform 0.2s;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.checkout-api .checkout-api-switch input:checked+.checkout-api-switch-slider {
	background: var(--primary-blue, #06c);
}

.checkout-api .checkout-api-switch input:checked+.checkout-api-switch-slider::after {
	transform: translateX(20px);
}

.checkout-api .checkout-api-persons-heading,
.checkout-api h3.onlineContract__personsTitle.checkout-api-persons-heading {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-align: center;
	margin-bottom: 20px;
	font-weight: 700;
}

.checkout-api .checkout-api-persons-heading-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-right: 10px;
	color: inherit;
}

.checkout-api .checkout-api-persons-heading-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.checkout-api .checkout-api-persons-section {
	margin-top: 28px;
	padding-top: 12px;
	border-top: 1px solid var(--grey-color-10, #e8e8e8);
}

.checkout-api .checkout-api-step1-tariff-caption {
	margin-top: 16px;
}

.checkout-api .checkout-api-add-tourist-btn {
	display: block;
	margin: 20px auto 0;
	padding: 14px 40px;
	border-radius: 999px;
	border: none;
	background: #111;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
}

.checkout-api .checkout-api-add-tourist-btn:hover {
	opacity: 0.9;
}

.checkout-api .checkout-api-step2-terms {
	margin-top: 28px;
	margin-bottom: 8px;
}

.checkout-api .checkout-api-tourist-card {
	margin-bottom: 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--grey-color-10, #e8e8e8);
}

.checkout-api .checkout-api-tourist-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	font-weight: 600;
}

.checkout-api .checkout-api-remove-tourist-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 10px;
	background: transparent;
	cursor: pointer;
	line-height: 0;
	transition: background-color 0.15s ease;
}

.checkout-api .checkout-api-remove-tourist-btn:hover {
	background: rgb(8 8 8 / 0.06);
}

.checkout-api .checkout-api-remove-tourist-btn:focus-visible {
	outline: 2px solid var(--blue-color-active, #06c);
	outline-offset: 2px;
}

.checkout-api .checkout-api-remove-tourist-btn svg {
	display: block;
	flex-shrink: 0;
}

/* Backend payment URL embedded in checkout (requires payment page to allow iframes) */
.checkout-api .checkout-payment-embed-slot {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--grey-color-10, #ececec);
}

.checkout-api .checkout-payment-embed-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.checkout-api .checkout-payment-embed-title {
	font-size: 15px;
	font-weight: 600;
}

.checkout-api .checkout-payment-embed-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.checkout-api .checkout-payment-frame {
	display: block;
	width: 100%;
	min-height: min(560px, 72vh);
	border: 1px solid var(--grey-color-10, #ddd);
	border-radius: 10px;
	background: #fafafa;
}

.checkout-api .checkout-payment-embed-note {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.35;
	color: rgb(8 8 8 / 0.55);
}

/* Step 4 — post-payment landing (PSP return) */
#checkout-api-root[data-checkout-ui-step='4'] .onlineContract__h1,
#checkout-api-root[data-checkout-ui-step='4'] .tabs--container {
	display: none !important;
}

#checkout-api-root[data-checkout-ui-step='4'] .checkout-panel.checkout-step4-done {
	margin-top: 0;
}

.checkout-api .checkout-step4-card {
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 3.5vw, 32px);
}

.checkout-api .checkout-step4-heading {
	margin: 0;
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 600;
	text-align: center;
	line-height: 1.25;
	color: var(--color-black, #111);
}

.checkout-api .checkout-step4-stepper {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: clamp(8px, 2vw, 14px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.checkout-api .checkout-step4-step {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: clamp(13px, 1.8vw, 15px);
	font-weight: 500;
	color: #1a1a1a;
}

.checkout-api .checkout-step4-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #0066cc;
	flex-shrink: 0;
}

.checkout-api .checkout-step4-connector {
	flex: 1 1 32px;
	max-width: 80px;
	height: 2px;
	border-radius: 2px;
	background: #0066cc;
	opacity: 1;
	list-style: none;
}

.checkout-api .checkout-step4-hero {
	position: relative;
	border-radius: clamp(24px, 5vw, 40px);
	overflow: hidden;
	background: #0d1b2a;
}

.checkout-api .checkout-step4-hero-img {
	display: block;
	width: 100%;
	height: clamp(220px, 34vw, 360px);
	object-fit: cover;
	object-position: center 28%;
	vertical-align: middle;
}

.checkout-api .checkout-step4-hero-grad {
	position: absolute;
	left: 0;
	right: 0;
	pointer-events: none;
}

.checkout-api .checkout-step4-hero-grad--top {
	top: 0;
	height: 45%;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 100%);
}

.checkout-api .checkout-step4-hero-grad--bottom {
	bottom: 0;
	height: 55%;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, transparent 100%);
}

/* Hero copy — centered on banner, white type (reference: success screen mock) */
.checkout-api .checkout-step4-hero-text {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(92%, 560px);
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
	gap: clamp(10px, 2.2vw, 18px);
	text-align: center;
	pointer-events: none;
	z-index: 2;
}

.checkout-api .checkout-step4-welcome {
	margin: 0;
	padding: 0;
	display: block;
	font-size: clamp(13px, 2.1vw, 16px);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: none;
	color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
	background: none;
}

.checkout-api .checkout-step4-success-outline {
	margin: 0;
	width: auto;
	max-width: 100%;
	box-sizing: border-box;
	border: none;
	display: block;
	padding: 0;
	font-size: clamp(40px, 11vw, 92px);
	font-weight: 800;
	line-height: 0.92;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: transparent;
	-webkit-text-stroke: 2px #fff;
	paint-order: stroke fill;
	text-shadow:
		0 0 40px rgba(0, 0, 0, 0.35),
		0 4px 24px rgba(0, 0, 0, 0.4);
	filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.25));
}

.checkout-api .checkout-step4-tagline {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	display: block;
	width: auto;
	max-width: 100%;
	font-size: clamp(14px, 2.4vw, 20px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
	background: none;
}

@media (max-width: 720px) {
	.checkout-api .checkout-step4-hero-img {
		height: clamp(200px, 48vw, 280px);
		object-position: center 22%;
	}

	.checkout-api .checkout-step4-hero-text {
		width: min(94%, 480px);
		gap: clamp(8px, 2vw, 14px);
	}

	.checkout-api .checkout-step4-success-outline {
		font-size: clamp(32px, 14vw, 56px);
		-webkit-text-stroke-width: 1.75px;
	}
}

.checkout-api .checkout-step4-paid-title {
	margin: 0 0 10px;
	font-size: clamp(22px, 2.8vw, 28px);
	font-weight: 700;
	text-align: center;
	color: var(--color-black, #111);
}

.checkout-api .checkout-step4-paid-sub {
	margin: 0 auto clamp(22px, 4vw, 32px);
	max-width: 580px;
	font-size: 16px;
	line-height: 1.45;
	text-align: center;
	color: rgb(8 8 8 / 0.72);
}

.checkout-api .checkout-step4-email-emoji {
	margin: -4px 0 12px;
	text-align: center;
	font-size: clamp(36px, 8vw, 48px);
	line-height: 1;
}

.checkout-api .checkout-step4-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.checkout-api .checkout-step4-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-size: 16px;
	font-weight: 600;
	font-family: inherit;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
	transition: opacity 0.15s ease, border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.checkout-api .checkout-step4-btn:focus-visible {
	outline: 2px solid #0066cc;
	outline-offset: 3px;
}

.checkout-api .checkout-step4-btn--primary {
	background: #0066cc;
	border-color: #0066cc;
	color: #fff;
}

.checkout-api .checkout-step4-btn--primary:hover {
	opacity: 0.92;
}

.checkout-api .checkout-step4-btn--ghost {
	background: #fff;
	border-color: #d8d8d8;
	color: #111;
}

.checkout-api .checkout-step4-btn--ghost:hover {
	border-color: #0066cc;
	color: #0066cc;
}


.checkout-api .checkout-step4-error-to-email {
	margin-top: 18px;
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
	color: #c62828;
}

@media (max-width: 600px) {

	.checkout-api .checkout-step4-connector {
		display: none;
	}

	.checkout-api .checkout-step4-stepper {
		flex-direction: column;
		align-items: flex-start;
		width: min(340px, 100%);
		margin-inline: auto;
	}
}

/* --- Extra responsive tweaks (experiment checkout + main card) --- */
.checkout-api .checkout-api-persons-heading,
.checkout-api h3.onlineContract__personsTitle.checkout-api-persons-heading {
	flex-wrap: wrap;
	row-gap: 6px;
}

@media (max-width: 479px) {
	body .onlineContract .onlineContract__wrapper {
		padding: 24px 14px 28px;
		max-width: calc(100% - 16px);
		border-radius: 22px;
	}

	.checkout-api .checkout-buy-test-interstitial__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.checkout-api .checkout-buy-test-interstitial__actions .onlineContract__button {
		width: 100%;
		box-sizing: border-box;
	}

	.checkout-api .checkout-payment-frame {
		min-height: min(420px, 52vh);
	}

	.checkout-api .checkout-step4-buttons {
		flex-direction: column;
		width: 100%;
	}

	.checkout-api .checkout-step4-btn {
		width: 100%;
		box-sizing: border-box;
	}
}

/* Prevent iOS focus-zoom on narrow viewports while keeping typography readable */
@media (max-width: 767px) {
	.checkout-api .checkout-api-date-field .checkout-api-native-date {
		min-height: var(--input-height-mobile, 47px);
		font-size: 16px !important;
	}

	.checkout-api select.checkout-api-nationality-select {
		font-size: max(16px, var(--input-font-sm, 14px));
	}
}