/*
 * Base: reset, body typography, headings, links, media, accessibility helpers.
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--lvt-c-white);
	color: var(--lvt-c-text);
	font-family: var(--lvt-font-body);
	font-size: var(--lvt-fs-body);
	font-weight: 400;
	line-height: var(--lvt-lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.lvt-scroll-lock {
	overflow: hidden;
}

/*
 * Shop (Woodmart 8 base: html { overflow: hidden scroll; scrollbar-gutter: stable }):
 * the scrollbar space is always reserved, so short and long pages share one
 * centre line and nothing moves while a panel locks the scrolling.
 */
html:has(> body.lvt-site-shop) {
	overflow-x: hidden;
	overflow-y: scroll;
	scrollbar-gutter: stable;
}

html:has(> body.lvt-site-shop.lvt-scroll-lock) {
	overflow-y: hidden;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 20px;
	color: var(--lvt-c-heading);
	font-family: var(--lvt-font-heading);
	font-weight: 600;
	letter-spacing: -0.01px;
}

h1 { font-size: 50px; line-height: 58px; }
h2 { font-size: 34px; line-height: 40px; }
h3 { font-size: 26px; line-height: 32px; }
h4 { font-size: 22px; line-height: 28px; }
h5 { font-size: 18px; line-height: 24px; }
h6 { font-size: 16px; line-height: 22px; }

@media (max-width: 767px) {
	h1 { font-size: 34px; line-height: 40px; }
	h2 { font-size: 26px; line-height: 32px; }
	h3 { font-size: 22px; line-height: 32px; }
	h4 { font-size: 18px; line-height: 24px; }
	h5 { font-size: 14px; line-height: 14px; }
}

p {
	margin: 0 0 20px;
}

a {
	color: var(--lvt-c-link);
	text-decoration: none;
	transition: color .25s ease;
}

a:hover {
	color: var(--lvt-c-primary);
}

strong,
b {
	font-weight: 600;
}

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

svg {
	max-width: 100%;
	vertical-align: middle;
}

button {
	font: inherit;
	color: inherit;
}

ul,
ol {
	margin: 0 0 20px;
	padding-left: 17px;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

/* Lists used as UI (menus, link lists) opt out of bullets and spacing. */
.lvt-list-reset,
.lvt-list-reset ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lvt-icon {
	flex: none;
	display: inline-block;
}

/* Accessibility (decisions #9): brand focus ring for keyboard users. */
:focus-visible {
	outline: 2px solid var(--lvt-c-primary);
	outline-offset: 2px;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--lvt-c-primary);
}

.screen-reader-text,
.lvt-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.lvt-skip-link {
	position: absolute;
	top: -100px;
	left: 10px;
	z-index: 100000;
	padding: 10px 16px;
	background: var(--lvt-c-white);
	color: var(--lvt-c-dark);
	box-shadow: var(--lvt-shadow-dropdown);
}

.lvt-skip-link:focus {
	top: 10px;
}

[hidden] {
	display: none !important;
}
