:root {
	--duration-short: 100ms;
	--duration-default: 200ms;
	--duration-announcement-bar: 250ms;
	--duration-medium: 300ms;
	--duration-long: 500ms;
	--duration-extra-long: 600ms;
	--duration-extra-longer: 750ms;
	--duration-extended: 3s;
	--ease-out-slow: cubic-bezier(0, 0, 0.3, 1);
	--animation-slide-in: slideIn var(--duration-extra-long)
		var(--ease-out-slow) forwards;
	--animation-slide-in--menu: slideIn var(--duration-medium)
		var(--ease-out-slow) forwards;
	--animation-fade-in: fadeIn var(--duration-extra-long) var(--ease-out-slow);

	--header-height: 80px;
	--page-gutter: 40px;
	--page-max-width: 1380px;
	--num-grid-columns: 12;
}

@media screen and (max-width: 1024px) {
	:root {
		--page-gutter: 32px;
	}
}

@media screen and (max-width: 768px) {
	:root {
		--page-gutter: 24px;
	}
}

@media screen and (max-width: 640px) {
	:root {
		--page-gutter: 16px;
	}
}

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: inherit;
	border-width: 0;
	border-style: solid;
}

html {
	box-sizing: border-box;
	font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
		'Apple Color Emoji', 'Segoe UI Emoji';
	line-height: 1.15; /* 1. Correct the line height in all browsers. */
	-webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
	-moz-tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
	tab-size: 4; /* 3 */
}

body {
	margin: 0; /* Remove the margin in all browsers. */
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

abbr[title] {
	text-decoration: underline dotted;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
	display: block;
	vertical-align: middle;
}

img,
video {
	max-width: 100%;
	height: auto;
}

.google-map * {
	border-style: none;
}

.swiper-wrapper {
	box-sizing: border-box;
}

ul,
ol {
	margin-bottom: 1.5rem;
	padding-left: 1rem;
}

ol {
	padding-left: 1.75rem;
}

strong {
	font-weight: 500;
}

@media screen and (max-width: 768px) {
	h1,
	h2,
	h3,
	h4,
	h5 {
		margin-bottom: 1rem;
	}
}

.skip-link {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	background-color: #eee;
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.compare-toast {
	position: fixed;
	bottom: 1.5rem;
	left: 50%;
	width: max-content;
	transform: translateX(-50%);
	background: var(--wp--preset--color--sw-yellow);
	/* border: 0.5px solid var(--wp--preset--color--sw-blue); */
	color: var(--wp--preset--color--sw-blue);
	font-weight: 400;
	padding: 0.75rem 1rem;
	border-radius: 0.375rem;
	font-size: 1rem;
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 9999;
	box-shadow: rgba(102, 102, 102, 0.5) 0px 8px 24px;
	pointer-events: none;
}

@media screen and (max-width: 640px) {
	.compare-toast {
		/* font-size: 0.875rem;
        padding: 0.5rem 0.75rem; */
		bottom: 2.5rem;
	}
}

.compare-toast.visible {
	opacity: 1;
	transform: translateX(-50%) translateY(-10px);
}

body.no-scroll {
	overflow: hidden;
}
