/*
Theme Name: eBayonet
Theme URI: https://ebayonet.com/
Author: United Software Technologies Corporation
Description: A full-site editing theme for Dennis D. Ottobre's eBayonet catalogue.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: ebayonet
*/

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
}

body::before {
	background-image: repeating-linear-gradient(
		135deg,
		var(--wp--custom--texture--line) 0 1px,
		transparent 1px 9px
	);
	content: "";
	inset: 0;
	opacity: 0.22;
	pointer-events: none;
	position: fixed;
	z-index: -1;
}

a {
	text-underline-offset: 3px;
}

.ebayonet-skip {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	left: -9999px;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	position: absolute;
	top: var(--wp--preset--spacing--40);
	z-index: 100;
}

.ebayonet-skip:focus {
	left: var(--wp--preset--spacing--40);
}

:focus-visible {
	border-radius: var(--wp--custom--radius--small);
	outline: 3px solid var(--wp--preset--color--steel);
	outline-offset: 2px;
}

.ebayonet-topbar {
	font-size: var(--wp--preset--font-size--xs);
}

.ebayonet-topbar a,
.ebayonet-footer a {
	color: var(--wp--preset--color--white);
}

.ebayonet-footer .wp-block-list {
	list-style: none;
	padding-left: 0;
}

.ebayonet-masthead {
	border-bottom: 1px solid var(--wp--preset--color--line-strong);
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0);
	z-index: 40;
}

.ebayonet-masthead .wp-block-navigation-item__content {
	min-height: var(--wp--custom--minimum-target);
	padding: var(--wp--preset--spacing--30);
}

.ebayonet-masthead .current-menu-item > .wp-block-navigation-item__content {
	box-shadow: inset 0 -2px 0 var(--wp--preset--color--oxide);
	color: var(--wp--preset--color--oxide);
}

.ebayonet-hero {
	border-bottom: 1px solid var(--wp--preset--color--line-strong);
}

.ebayonet-eyebrow {
	align-items: center;
	color: var(--wp--preset--color--oxide);
	display: flex;
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 700;
	gap: var(--wp--preset--spacing--30);
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.ebayonet-eyebrow::before {
	background: currentColor;
	content: "";
	flex: 0 0 26px;
	height: 1px;
}

.ebayonet-trust {
	border: 1px solid var(--wp--preset--color--line-strong);
}

.ebayonet-trust > .wp-block-column {
	border-right: 1px solid var(--wp--preset--color--line);
}

.ebayonet-trust > .wp-block-column:last-child {
	border-right: 0;
}

.ebayonet-category {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--small);
	border-top: 3px solid var(--wp--preset--color--oxide);
	height: 100%;
	transition:
		border-color var(--wp--custom--motion--fast) var(--wp--custom--motion--ease),
		box-shadow var(--wp--custom--motion--base) var(--wp--custom--motion--ease),
		transform var(--wp--custom--motion--base) var(--wp--custom--motion--ease);
}

.ebayonet-category:hover {
	border-color: var(--wp--preset--color--oxide);
	box-shadow: var(--wp--preset--shadow--e2);
	transform: translateY(-3px);
}

.ebayonet-category a {
	text-decoration: none;
}

.ebayonet-panel {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--small);
	position: relative;
}

.ebayonet-panel::before,
.ebayonet-panel::after {
	border: 1px solid var(--wp--preset--color--oxide);
	content: "";
	height: 14px;
	opacity: 0.5;
	position: absolute;
	width: 14px;
}

.ebayonet-panel::before {
	border-bottom: 0;
	border-right: 0;
	left: 7px;
	top: 7px;
}

.ebayonet-panel::after {
	border-left: 0;
	border-top: 0;
	bottom: 7px;
	right: 7px;
}

.ebayonet-footer {
	margin-block-start: var(--wp--preset--spacing--90);
}

.ebayonet-footer__legal {
	border-top: 1px solid var(--wp--preset--color--steel-line);
}

.wp-element-button,
.wp-block-button__link {
	min-height: 46px;
}

.is-style-outline > .wp-block-button__link {
	border-color: var(--wp--preset--color--line-strong);
}

@media (max-width: 781px) {
	.ebayonet-masthead {
		position: static;
	}

	.ebayonet-trust > .wp-block-column {
		border-bottom: 1px solid var(--wp--preset--color--line);
		border-right: 0;
	}

	.ebayonet-trust > .wp-block-column:last-child {
		border-bottom: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
