.nst-site-footer {
	--nst-footer-ink: var(--wp--preset--color--ink, #17171d);
	--nst-footer-paper: var(--wp--preset--color--white, #fff);
	--nst-footer-signal: var(--nst-brand-yellow, #dcff59);
	--nst-footer-columns: minmax(0, 2fr) minmax(0, 3fr);
	background: var(--nst-footer-ink);
	color: var(--nst-footer-paper);
	font-family: Arial, Helvetica, sans-serif;
}

.nst-site-footer *,
.nst-site-footer *::before,
.nst-site-footer *::after {
	box-sizing: border-box;
}

.nst-site-footer__inner {
	display: grid;
	gap: 3rem 2rem;
	grid-template-columns: var(--nst-footer-columns);
	margin-inline: auto;
	max-width: 1600px;
	padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 3.6vw, 3.625rem) 2rem;
}

.nst-site-footer__brand {
	align-content: start;
	display: grid;
	gap: 1.25rem;
}

.nst-site-footer__logo {
	display: block;
	width: min(190px, 100%);
}

.nst-site-footer__logo img {
	display: block;
	height: auto;
	width: 100%;
}

.nst-site-footer__brand p,
.nst-site-footer__legal p {
	margin: 0;
}

.nst-site-footer__brand p {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
}

.nst-site-footer a {
	color: inherit;
	text-decoration-color: transparent;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.3em;
}

.nst-site-footer a:hover,
.nst-site-footer a:focus-visible {
	color: var(--nst-brand-yellow, #dcff59);
	text-decoration-color: currentColor;
}

.nst-site-footer a:focus-visible {
	outline: 2px solid var(--nst-footer-signal);
	outline-offset: 4px;
}

.nst-site-footer__email {
	font-size: 0.95rem;
	justify-self: start;
}

.nst-site-footer__nav,
.nst-site-footer__legal-actions {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nst-site-footer__group {
	align-content: start;
	display: grid;
	gap: 0.25rem;
}

.nst-site-footer__group h2 {
	color: inherit;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	line-height: 1.4;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.nst-site-footer__group a {
	align-items: center;
	display: flex;
	font-size: 0.95rem;
	line-height: 1.45;
	min-height: 2.5rem;
}

.nst-site-footer__legal {
	align-items: center;
	border-top: 1px solid rgb(255 255 255 / 24%);
	color: rgb(255 255 255 / 72%);
	display: grid;
	font-size: 0.75rem;
	gap: 0.25rem 2rem;
	grid-column: 1 / -1;
	grid-template-columns: var(--nst-footer-columns);
	line-height: 1.5;
	padding-top: 1.5rem;
}

.nst-site-footer__legal p {
	font: inherit;
}

.nst-site-footer__legal-actions .nst-cookie-settings {
	grid-column: 3;
	justify-self: start;
}

.nst-site-footer__legal .nst-cookie-settings {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	min-height: 2.75rem;
	padding: 0;
	text-align: left;
	text-decoration: none;
	text-underline-offset: 0.3em;
	white-space: nowrap;
}

.nst-site-footer__legal .nst-cookie-settings:hover,
.nst-site-footer__legal .nst-cookie-settings:focus-visible {
	background: transparent;
	color: var(--nst-footer-paper);
	text-decoration: underline;
}

.nst-site-footer__legal .nst-cookie-settings:focus-visible {
	outline: 2px solid var(--nst-footer-signal);
	outline-offset: 4px;
}

.nst-site-footer--compact {
	background: var(--nst-footer-paper);
	border-top: 1px solid rgb(23 23 29 / 16%);
	color: var(--nst-footer-ink);
	padding: 1rem clamp(1.5rem, 3.6vw, 3.625rem);
}

.nst-site-footer__compact-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	justify-content: center;
	margin-inline: auto;
	max-width: 1600px;
}

.nst-site-footer--compact a {
	align-items: center;
	display: flex;
	font-size: 0.75rem;
	font-weight: 700;
	min-height: 2.75rem;
}

.nst-site-footer--compact a:hover,
.nst-site-footer--compact a:focus-visible {
	color: var(--nst-footer-ink);
	text-decoration-color: var(--nst-footer-signal);
}

.nst-site-footer--compact a:focus-visible {
	outline-color: var(--nst-footer-ink);
}

/* The global footer now owns clearance for the fixed purchase bar. */
body.single-product .nst-tennis-tote.has-reached-commerce {
	padding-bottom: 0;
}

body.single-product .nst-site-footer:not(.nst-site-footer--compact) {
	padding-bottom: 6rem;
}

@media (max-width: 767px) {
	.nst-site-footer {
		--nst-footer-columns: 1fr;
	}

	.nst-site-footer__inner {
		padding-block-start: 3.5rem;
	}

	.nst-site-footer__nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nst-site-footer__group--policies {
		grid-column: 1 / -1;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nst-site-footer__group--policies h2 {
		grid-column: 1 / -1;
	}

	.nst-site-footer__group a {
		min-height: 2.75rem;
	}

	.nst-site-footer__legal {
		margin-top: 0.5rem;
	}

	.nst-site-footer__legal-actions {
		grid-template-columns: 1fr;
	}

	.nst-site-footer__legal-actions .nst-cookie-settings {
		grid-column: auto;
	}
}

@media (max-width: 339px) {
	.nst-site-footer__nav,
	.nst-site-footer__group--policies {
		grid-template-columns: 1fr;
	}

	.nst-site-footer__group--policies h2 {
		grid-column: auto;
	}
}

@media (max-width: 767px) {
	body.single-product .nst-site-footer:not(.nst-site-footer--compact) {
		padding-bottom: 8rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nst-site-footer *,
	.nst-site-footer *::before,
	.nst-site-footer *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.nst-site-footer {
		display: none !important;
	}
}
