.xs-franchise-page {
	background: #fff;
	color: #111;
}

.xs-franchise-hero {
	width: min(1180px, calc(100% - 64px));
	margin: 0 auto;
	padding-top: 18px;
	text-align: center;
}

.xs-franchise-hero h1 {
	margin: 0;
	padding: 0 0 26px;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.3;
}

.xs-franchise-hero picture,
.xs-franchise-hero img {
	display: block;
	width: 100%;
}

.xs-franchise-hero img {
	height: 496px;
	object-fit: cover;
	object-position: center;
}

.xs-franchise-intro {
	max-width: 640px;
	margin: 0 auto;
	padding: 50px 24px 96px;
	text-align: center;
}

.xs-franchise-intro p,
.xs-franchise-delivery > p,
.xs-franchise-contact p {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
}

.xs-franchise-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	min-height: 40px;
	margin-top: 28px;
	padding: 9px 28px;
	border: 1px solid #111;
	border-radius: 999px;
	background: #fff;
	color: #111;
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none;
	transition: 180ms ease;
}

.xs-franchise-button:hover,
.xs-franchise-button:focus-visible {
	background: #111;
	color: #fff;
}

.xs-franchise-section {
	width: min(1180px, calc(100% - 64px));
	margin: 0 auto;
	text-align: center;
}

.xs-franchise-heading {
	margin: 0 auto 66px;
	text-align: center;
}

.xs-franchise-heading small {
	display: block;
	margin-bottom: 5px;
	font-size: 13px;
}

.xs-franchise-heading h2,
.xs-franchise-delivery h2,
.xs-franchise-contact h2 {
	margin: 0;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.3;
}

.xs-franchise-carousel {
	position: relative;
	padding: 42px 0 0;
}

.xs-franchise-carousel__viewport {
	overflow: hidden;
}

.xs-franchise-carousel__track {
	display: flex;
	gap: 20px;
	width: max-content;
	transform: translate3d(0, 0, 0);
	will-change: transform;
}

.xs-franchise-card {
	flex: 0 0 calc((min(1180px, calc(100vw - 64px)) - 40px) / 3);
	width: calc((min(1180px, calc(100vw - 64px)) - 40px) / 3);
	min-width: 0;
	text-align: center;
}

.xs-franchise-card__image {
	display: block;
	width: 100%;
	overflow: hidden;
}

.xs-franchise-card img {
	display: block;
	width: 100%;
	aspect-ratio: 1.5 / 1;
	object-fit: cover;
	transition: transform 500ms ease;
}

.xs-franchise-card__image:hover img {
	transform: scale(1.02);
}

.xs-franchise-card h3 {
	margin: 7px 0 0;
	font-size: 27px;
	font-weight: 600;
	line-height: 1.4;
}

.xs-franchise-card p {
	min-height: 48px;
	margin: 24px 0 0;
	font-size: 15px;
	line-height: 1.65;
}

.xs-franchise-button--small {
	min-width: 120px;
	margin-top: 18px;
}

.xs-franchise-carousel__arrow {
	position: absolute;
	z-index: 2;
	top: 38%;
	width: 42px;
	height: 52px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #555;
	font-size: 38px;
	font-weight: 200;
	line-height: 1;
	cursor: pointer;
}

.xs-franchise-carousel__arrow.is-prev {
	left: -54px;
}

.xs-franchise-carousel__arrow.is-next {
	right: -54px;
}

.xs-franchise-carousel__dots {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.xs-franchise-carousel__dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 1px solid #ddd;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
}

.xs-franchise-carousel__dots button.is-active {
	border-color: #111;
	background: #111;
}

.xs-franchise-models {
	padding-bottom: 94px;
}

.xs-franchise-delivery {
	padding: 0 0 84px;
}

.xs-franchise-delivery h2 {
	margin-bottom: 48px;
}

.xs-franchise-delivery video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	object-fit: cover;
}

.xs-franchise-delivery > p {
	max-width: 720px;
	margin: 46px auto 0;
}

.xs-franchise-support {
	padding: 0 0 72px;
}

.xs-franchise-support .xs-franchise-heading {
	margin-bottom: 58px;
}

.xs-franchise-support .xs-franchise-card p {
	margin-top: 26px;
}

.xs-franchise-support > .xs-franchise-button {
	margin-top: 70px;
}

.xs-franchise-contact {
	width: min(1180px, calc(100% - 64px));
	margin: 0 auto;
	padding-bottom: 38px;
	text-align: center;
}

.xs-franchise-contact > picture,
.xs-franchise-contact > picture img {
	display: block;
	width: 100%;
	margin: 0;
}

.xs-franchise-contact > picture img {
	height: auto;
	max-height: 710px;
	object-fit: cover;
}

.xs-franchise-contact > div {
	padding: 24px 20px 0;
}

.xs-franchise-contact p {
	margin-top: 18px;
}

.xs-franchise-contact a {
	display: inline-block;
	margin-top: 20px;
	border-bottom: 1px solid currentColor;
	color: #111;
	font-size: 13px;
	text-decoration: none;
}

.xs-franchise-brand {
	--xs-franchise-brand: none;
	--xs-franchise-brand-mobile: var(--xs-franchise-brand);
	position: relative;
	display: grid;
	min-height: 420px;
	padding: 55px 24px;
	place-items: center;
	background-image: var(--xs-franchise-brand);
	background-position: center;
	background-size: cover;
	color: #fff;
	text-align: center;
}

.xs-franchise-brand__shade {
	position: absolute;
	inset: 0;
	background: rgba(3, 19, 46, 0.76);
}

.xs-franchise-brand > div {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	flex-direction: column;
}

.xs-franchise-brand__mark {
	display: grid;
	width: 54px;
	height: 54px;
	margin-bottom: 24px;
	border: 1px solid #fff;
	border-radius: 50%;
	place-items: center;
	font-size: 14px;
}

.xs-franchise-brand h2 {
	margin: 0;
	color: #fff;
	font-size: 28px;
	font-weight: 500;
}

.xs-franchise-brand strong {
	margin-top: 10px;
	font-size: 17px;
	font-weight: 400;
}

.xs-franchise-brand p {
	max-width: 680px;
	margin: 22px auto 0;
	font-size: 15px;
	line-height: 1.7;
}

.xs-franchise-brand a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 225px;
	height: 40px;
	margin-top: 22px;
	border-radius: 999px;
	background: #fff;
	color: #111;
	text-decoration: none;
}

.xs-franchise-page + .xs-footer {
	margin-top: 0;
}

@media (max-width: 1280px) {
	.xs-franchise-carousel__arrow.is-prev {
		left: -6px;
	}

	.xs-franchise-carousel__arrow.is-next {
		right: -6px;
	}
}

@media (max-width: 760px) {
	.xs-franchise-hero {
		width: 100%;
		padding-top: 28px;
	}

	.xs-franchise-hero h1 {
		padding-bottom: 30px;
		font-size: 28px;
	}

	.xs-franchise-hero img {
		height: 220px;
	}

	.xs-franchise-intro {
		padding: 52px 20px 105px;
	}

	.xs-franchise-intro p,
	.xs-franchise-delivery > p,
	.xs-franchise-contact p {
		font-size: 16px;
	}

	.xs-franchise-section,
	.xs-franchise-contact {
		width: 100%;
	}

	.xs-franchise-heading {
		margin-bottom: 68px;
	}

	.xs-franchise-heading h2,
	.xs-franchise-delivery h2,
	.xs-franchise-contact h2 {
		font-size: 28px;
	}

	.xs-franchise-carousel {
		padding-top: 48px;
	}

	.xs-franchise-carousel__viewport {
		margin: 0 32px;
	}

	.xs-franchise-card {
		flex-basis: calc(100vw - 64px);
		width: calc(100vw - 64px);
	}

	.xs-franchise-card img {
		aspect-ratio: 1.32 / 1;
	}

	.xs-franchise-card h3 {
		margin-top: 10px;
		font-size: 28px;
	}

	.xs-franchise-card p {
		min-height: 0;
		margin: 26px 0 0;
		padding: 0 4px;
		font-size: 16px;
	}

	.xs-franchise-carousel__arrow {
		top: 39%;
		width: 30px;
		height: 44px;
		font-size: 34px;
	}

	.xs-franchise-carousel__arrow.is-prev {
		left: 0;
	}

	.xs-franchise-carousel__arrow.is-next {
		right: 0;
	}

	.xs-franchise-models {
		padding-bottom: 92px;
	}

	.xs-franchise-delivery {
		padding-bottom: 74px;
	}

	.xs-franchise-delivery h2 {
		margin-bottom: 48px;
		padding: 0 20px;
	}

	.xs-franchise-delivery video {
		aspect-ratio: 1.5 / 1;
	}

	.xs-franchise-delivery > p {
		margin-top: 46px;
		padding: 0 20px;
	}

	.xs-franchise-support {
		padding-bottom: 78px;
	}

	.xs-franchise-support .xs-franchise-heading {
		margin-bottom: 64px;
	}

	.xs-franchise-support > .xs-franchise-button {
		margin-top: 82px;
	}

	.xs-franchise-contact {
		padding-bottom: 36px;
	}

	.xs-franchise-contact > picture img {
		height: 245px;
		object-position: center;
	}

	.xs-franchise-contact > div {
		padding: 28px 22px 0;
	}

	.xs-franchise-brand {
		min-height: 440px;
		padding: 48px 20px;
		background-image: var(--xs-franchise-brand-mobile);
	}

	.xs-franchise-brand h2 {
		font-size: 25px;
	}

	.xs-franchise-brand p {
		max-width: 330px;
	}
}
