html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--varela-round);
}

a {
	text-decoration: none;
}

.site-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 10;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 20px;
	pointer-events: none;
}

.site-header a {
	pointer-events: auto;
}

.site-header__logo {
	display: block;
	width: clamp(96px, 14vw, 180px);
	max-width: clamp(96px, 14vw, 180px);
	color: #fff;
	font-size: clamp(1.5rem, 4vw, 3rem);
	font-weight: 700;
}

.site-header__logo .custom-logo-link {
	display: block;
	max-width: 100%;
}

.site-header__logo img {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	max-height: 96px !important;
	object-fit: contain;
}

.site-header .custom-logo-link {
	display: block;
}

.menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu--primary a {
	color: #fff;
	font-size: clamp(1rem, 1.7vw, 1.3rem);
	text-transform: uppercase;
}

.menu--primary li + li::before {
	content: "|";
	margin-right: 8px;
	color: #fff;
}

.site-main {
	overflow: hidden;
}

.entry-content > * {
	margin-block-start: 0;
}

.sweetsext-hero {
	position: relative;
	min-height: 70vh;
	display: grid;
	align-items: end;
	justify-items: center;
	overflow: hidden;
	background-color: var(--wp--preset--color--primary);
	background-image: var(--sweetsext-top-bg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	text-align: center;
}

.sweetsext-hero .wp-block-image {
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: center;
	align-items: stretch;
	margin: 0;
	pointer-events: none;
}

.sweetsext-hero .wp-block-image img {
	width: auto;
	height: 70vh;
	max-width: none;
	object-fit: contain;
}

.sweetsext-hero__content {
	position: relative;
	z-index: 2;
	width: min(80%, 430px);
	margin: 0 auto;
	padding: 0 25px 25px;
}

.sweetsext-hero h1 {
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(2rem, 2vw + 3vh, 4.5rem);
	line-height: 1.05;
}

.sweetsext-buttons,
.sweetsext-hero .wp-block-buttons {
	display: flex;
	gap: 15px;
	justify-content: center;
}

.wp-block-button__link,
.sweetsext-button {
	padding: 5px 50px;
	border: 3px solid var(--wp--preset--color--accent);
	border-radius: 999px;
	background: var(--wp--preset--color--secondary);
	color: #fff;
	font-size: 1.4rem;
	line-height: 1.4;
	white-space: nowrap;
}

.is-style-dark-button .wp-block-button__link {
	border: 2px solid #fff;
	background: #363637;
}

.sweetsext-slides {
	padding: 25px 0;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--muted-text);
	text-align: center;
}

.sweetsext-slides h3 {
	width: fit-content;
	margin: 20px auto;
	font-size: clamp(1.4rem, 3vw, 1.7rem);
}

.sweetsext-model-scroller {
	width: 100%;
	overflow: hidden;
	position: relative;
	margin: 0 auto;
}

.sweetsext-model-scroller::before,
.sweetsext-model-scroller::after {
	content: "";
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	width: 100px;
	pointer-events: none;
}

.sweetsext-model-scroller::before {
	left: 0;
	background: linear-gradient(to right, var(--wp--preset--color--surface), transparent);
}

.sweetsext-model-scroller::after {
	right: 0;
	background: linear-gradient(to left, var(--wp--preset--color--surface), transparent);
}

.sweetsext-model-scroller__track {
	display: flex;
	width: max-content;
	animation: sweetsext-scroll 80s linear infinite;
}

.sweetsext-model-card {
	flex: 0 0 auto;
	width: 255px;
	height: 300px;
	margin: 10px;
	overflow: hidden;
	border-radius: 10px;
	background: #000;
}

.sweetsext-model-card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sweetsext-model-grid {
	display: grid;
	grid-template-columns: repeat(var(--model-columns, 5), minmax(0, 1fr));
	gap: 16px;
	width: min(1100px, calc(100% - 32px));
	margin: 0 auto;
}

.sweetsext-model-grid .sweetsext-model-card,
.sweetsext-single-model .sweetsext-model-card {
	width: 100%;
	height: auto;
	aspect-ratio: 17 / 20;
	margin: 0;
}

.sweetsext-single-model {
	width: min(255px, 100%);
}

@keyframes sweetsext-scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

.sweetsext-about {
	position: relative;
	padding: 25px 8vw;
	background-color: var(--wp--preset--color--primary);
	background-image: var(--sweetsext-top-bg);
	background-position: center;
	background-size: cover;
}

.sweetsext-about__inner {
	position: relative;
	max-width: 1000px;
	margin: 0 auto;
}

.sweetsext-about__copy {
	position: relative;
	z-index: 2;
	width: min(100%, 500px);
}

.sweetsext-about h2 {
	margin: 0 0 20px;
	font-size: clamp(2.1rem, 5vw, 3.5rem);
	line-height: 1.05;
}

.sweetsext-about p {
	width: min(100%, 80%);
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	line-height: 1.2;
}

.sweetsext-feature-row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 20px 0;
}

.sweetsext-feature-row span,
.sweetsext-feature-row p {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: auto;
	margin: 0;
	font-size: clamp(1.5rem, 4vw, 2.7rem);
}

.sweetsext-about__image {
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	width: 50%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	overflow: hidden;
}

.sweetsext-about__image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.sweetsext-about .wp-block-buttons {
	position: relative;
	z-index: 2;
	justify-content: center;
}

.sweetsext-about .wp-block-button__link {
	padding: 15px 60px;
	border-radius: 20px;
	background: #fff;
	color: var(--wp--preset--color--secondary);
	font-size: 2rem;
}

.sweetsext-guarantee {
	padding: 30px 5vw;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--primary);
	text-align: center;
}

.sweetsext-guarantee h3 {
	margin: 0 0 12px;
	font-size: 1.7rem;
}

.sweetsext-guarantee p {
	max-width: 900px;
	margin: 0 auto;
	font-size: 1.3rem;
	line-height: 1.2;
}

.sweetsext-diagram {
	position: relative;
	background: var(--wp--preset--color--surface);
}

.sweetsext-diagram .wp-block-image {
	margin: 0;
}

.sweetsext-diagram__swirl img {
	position: relative;
	left: 50%;
	width: 100%;
	max-width: none;
	transform: translateX(-50%);
}

.sweetsext-diagram__video {
	margin: 0;
}

.sweetsext-diagram__video video {
	display: block;
	width: 100%;
}

.sweetsext-diagram__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 100vw;
	height: 100vw;
	left: 50%;
	transform: translateX(-50%);
	pointer-events: none;
}

.sweetsext-diagram__overlay .wp-block-group {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	width: 100%;
}

.sweetsext-orb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25vw;
	height: 25vw;
	min-width: 100px;
	min-height: 100px;
	border: 1vw solid var(--wp--preset--color--secondary);
	border-radius: 50%;
	background: #000;
	color: #fff;
	font-size: 1rem;
}

.sweetsext-diagram__logo img {
	width: 20vw;
	min-width: 115px;
}

.sweetsext-seo {
	padding: 50px 15px;
	background: #fff;
	color: var(--wp--preset--color--primary);
	font-size: .8rem;
}

.sweetsext-seo .wp-block-group {
	width: min(900px, 90%);
	margin: 0 auto;
	padding: 15px;
	border: 3px solid var(--wp--preset--color--primary);
	border-radius: 15px;
	background: var(--wp--preset--color--surface);
}

.sweetsext-seo > .wp-block-buttons {
	margin-bottom: 22px;
}

.sweetsext-seo h3 {
	font-size: 1.7rem;
}

.sweetsext-seo p {
	font-size: 1.2rem;
	line-height: 1.2;
}

.site-footer {
	padding: 10px 20px 30px;
	background: #fff;
	color: #000;
	text-align: center;
}

.menu--footer {
	justify-content: center;
	gap: 0;
	line-height: 3;
}

.menu--footer a {
	color: var(--wp--preset--color--primary);
	font-size: 1.2rem;
}

.menu--footer li + li::before {
	content: "|";
	margin: 0 8px;
	color: #000;
}

.site-footer__support {
	margin: 18px 0;
	font-size: 18px;
	font-weight: 700;
}

.site-footer__copy {
	font-size: .9rem;
	color: #666;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (min-width: 707px) {
	.site-header {
		padding: 25px;
	}

	.site-header__nav {
		margin-top: 5vh;
		margin-right: 5vw;
	}

	.sweetsext-hero__content {
		width: 30vw;
		min-width: 430px;
	}

	.sweetsext-diagram {
		min-height: 70vw;
	}

	.sweetsext-diagram__swirl img {
		width: 70%;
	}

	.sweetsext-diagram__overlay {
		width: 60vw;
		height: 60vw;
	}

	.sweetsext-orb {
		width: 15vw;
		height: 15vw;
		font-size: 2vw;
	}

	.sweetsext-seo {
		padding: 50px;
	}
}

@media (max-width: 768px) {
	.sweetsext-model-card {
		width: 25vw;
		height: calc(25vw * 4 / 3);
	}

	.sweetsext-model-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sweetsext-about__copy {
		width: 100%;
	}

	.sweetsext-about p {
		width: 80%;
		margin-right: auto;
		margin-left: auto;
	}

	.sweetsext-about__image {
		position: relative;
		width: 80%;
		height: auto;
		margin: -20px auto 0;
	}
}
