/*
 * 2026 footer: newsletter, link columns (shop, help, contact + store, B2B card), social / back-to-top bar,
 * legal row and the ANYWEAR wordmark. Tokens: aw-base.css.
 */

.aw-foot {
	position: relative;
	overflow: hidden;
	background: var(--aw-ink);
	color: var(--aw-paper);
}
.aw-foot__in {
	padding: 0 var(--aw-gutter);
}
.aw-foot a { color: inherit; text-decoration: none; }
/* The footer has its own "Back to top": the theme's floating one goes. */
.aw-2026 .c-to-top-button { display: none !important; }
.aw-foot a.aw-btn--white { color: var(--aw-ink); }

/* Underline that draws in from the left on hover (footer links). */
.aw-col__list a,
.aw-col__go span {
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
	transition: background-size .3s var(--aw-ease), color .2s;
}
.aw-col__list a:hover,
.aw-col__list a:focus-visible,
.aw-col__go:hover span,
.aw-col__go:focus-visible span { background-size: 100% 1.5px; }

/* ---------------------------------------------------------------- newsletter row (footer HTML block) */
/*
 * The footer block's first row (class "aw-news"): a heading pair on the left ("aw-news__head": label
 * "aw-news__eyebrow" and title "aw-news__title") and the MailerLite / theblue.email embed on the right
 * ("aw-news__embed"). The embed brings its own form and styles; only its surroundings are set here.
 * Printed by the "Anywear 2026: Newsletter" block (.aw-news--block).
 */
.aw-foot .aw-news--block {
	box-sizing: border-box;
	width: auto !important;
	min-width: 0;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: end;
	max-width: none;
	margin: 0 var(--aw-gutter);
	padding: 96px 0 72px;
	border-bottom: 1px solid var(--aw-foot-line);
}
.aw-foot .aw-news--block .aw-news__head {
	display: grid;
	gap: 22px;
	justify-items: start;
	align-content: end;
	padding: 0;
}
.aw-news--block .aw-news__eyebrow { margin: 0; }
.aw-news__chip { display: inline-block; }
.aw-news__chip {
	padding: 6px 9px;
	border: 1.5px solid var(--aw-paper);
	color: var(--aw-paper);
	font: 800 12px/1 var(--aw-font-text);
	letter-spacing: .08em;
	text-transform: uppercase;
}
.aw-news--block .aw-news__title {
	margin: 0;
	color: var(--aw-paper);
	font-family: var(--aw-font-display);
	font-size: clamp(56px, 6.4vw, 96px);
	font-stretch: 62%;
	font-weight: 900;
	line-height: .84;
	text-transform: uppercase;
}
.aw-news__embed { min-width: 0; color: var(--aw-paper); }
.aw-news__embed a { text-decoration: underline; }

/*
 * theblue.email embed (.tbe-form). The form arrives by fetch with its own <link> to tbe-forms.css, which
 * loads after this file, so every rule is scoped under .aw-foot.aw-ui .tbe-form to outrank it (its hover
 * rule is 0,4,0). One row on black: an underlined e-mail field running into a white block button, both as
 * tall as the footer's other controls. The label repeats the placeholder, so it stays for screen readers only.
 * The box geometry of the field and button (size, spacing, box model) is !important: the site's own form
 * rules (theme) reach these bare <input>/<button> elements and won out on the live page.
 */
.aw-foot.aw-ui .tbe-form {
	max-width: none;
	color: var(--aw-paper);
	font-family: var(--aw-font-text);
}
/* Field and button share one grid row, so the button can never push past the column. */
.aw-foot.aw-ui .tbe-form .tbe-form__form {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 0;
	margin: 0 !important;
	padding: 0 !important;
}
.aw-foot.aw-ui .tbe-form .tbe-form__field {
	position: relative;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}
.aw-foot.aw-ui .tbe-form .tbe-form__label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
.aw-foot.aw-ui .tbe-form .tbe-form__input {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	height: 64px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 16px 0 0 !important;
	outline: none;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent;
	box-shadow: inset 0 -2px 0 var(--aw-paper);
	color: var(--aw-paper);
	font: 500 22px/1 var(--aw-font-text);
	transition: box-shadow .2s var(--aw-ease);
}
.aw-foot.aw-ui .tbe-form .tbe-form__input::placeholder { color: var(--aw-foot-mute); opacity: 1; }
.aw-foot.aw-ui .tbe-form .tbe-form__input:focus { border: 0; box-shadow: inset 0 -4px 0 var(--aw-paper); }
/* Browser autofill paints its own pale box: keep the field black. */
.aw-foot.aw-ui .tbe-form .tbe-form__input:-webkit-autofill {
	-webkit-box-shadow: inset 0 -2px 0 var(--aw-paper), inset 0 0 0 100px var(--aw-ink);
	-webkit-text-fill-color: var(--aw-paper);
	caret-color: var(--aw-paper);
}

/* The submit button: the shared white button (.aw-btn--white) rebuilt on the plugin's class. */
.aw-foot.aw-ui .tbe-form .tbe-form__submit,
.aw-foot.aw-ui .tbe-form .tbe-form__challenge-btn {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: 64px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 30px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--aw-paper);
	color: var(--aw-ink);
	font: 800 15px/1 var(--aw-font-text);
	letter-spacing: .02em;
	white-space: nowrap;
	cursor: pointer;
	filter: none;
	transition: color .2s;
}
.aw-foot.aw-ui .tbe-form .tbe-form__submit::before,
.aw-foot.aw-ui .tbe-form .tbe-form__challenge-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--aw-ink);
	box-shadow: inset 0 0 0 2px var(--aw-paper);
	transform: translateX(-101%);
	transition: transform .35s var(--aw-ease);
}
.aw-foot.aw-ui .tbe-form .tbe-form__submit:hover,
.aw-foot.aw-ui .tbe-form .tbe-form__submit:focus-visible,
.aw-foot.aw-ui .tbe-form .tbe-form__challenge-btn:hover,
.aw-foot.aw-ui .tbe-form .tbe-form__challenge-btn:focus-visible {
	background: var(--aw-paper);
	color: var(--aw-paper);
	filter: none;
}
.aw-foot.aw-ui .tbe-form .tbe-form__submit:hover::before,
.aw-foot.aw-ui .tbe-form .tbe-form__submit:focus-visible::before,
.aw-foot.aw-ui .tbe-form .tbe-form__challenge-btn:hover::before,
.aw-foot.aw-ui .tbe-form .tbe-form__challenge-btn:focus-visible::before { transform: none; }
.aw-foot.aw-ui .tbe-form .tbe-form__submit:focus-visible,
.aw-foot.aw-ui .tbe-form .tbe-form__challenge-btn:focus-visible { outline: 2px solid var(--aw-paper); outline-offset: 3px; }
/* Sending: the button holds still and dims; no hover sweep. */
.aw-foot.aw-ui .tbe-form .tbe-form__submit:disabled { opacity: .55; cursor: progress; color: var(--aw-ink); }
.aw-foot.aw-ui .tbe-form .tbe-form__submit:disabled::before { transform: translateX(-101%); }

/* Messages under the row, across both columns. */
.aw-foot.aw-ui .tbe-form .tbe-form__error,
.aw-foot.aw-ui .tbe-form .tbe-form__challenge {
	grid-column: 1 / -1;
	margin: 14px 0 0;
}
.aw-foot.aw-ui .tbe-form .tbe-form__error { color: var(--aw-foot-error); font-size: 15px; font-weight: 600; }
.aw-foot.aw-ui .tbe-form .tbe-form__challenge-text { color: var(--aw-foot-text); font-size: 15px; }
.aw-foot.aw-ui .tbe-form .tbe-form__success {
	padding-bottom: 14px;
	box-shadow: inset 0 -2px 0 var(--aw-paper);
	color: var(--aw-paper);
	font-family: var(--aw-font-display);
	font-size: clamp(32px, 3.2vw, 48px);
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}
.aw-foot.aw-ui .tbe-form .tbe-form__branding,
.aw-foot.aw-ui .tbe-form .tbe-form__branding a { color: var(--aw-foot-mute); }

/* Loading placeholder while the form is fetched: the same row, in footer greys, so nothing jumps. */
.aw-foot.aw-ui .tbe-form .tbe-form__skeleton { display: flex; align-items: flex-end; gap: 0; }
.aw-foot.aw-ui .tbe-form .tbe-form__skeleton-bar { margin: 0; border-radius: 0; background: var(--aw-foot-line); }
.aw-foot.aw-ui .tbe-form .tbe-form__skeleton-bar--label { display: none; }
.aw-foot.aw-ui .tbe-form .tbe-form__skeleton-bar--input { flex: 1 1 auto; height: 2px; margin-top: 62px; }
.aw-foot.aw-ui .tbe-form .tbe-form__skeleton-bar--input + .tbe-form__skeleton-bar--input { display: none; }
.aw-foot.aw-ui .tbe-form .tbe-form__skeleton-bar--btn { flex: 0 0 210px; height: 64px; }

@media (prefers-reduced-motion: reduce) {
	.aw-foot.aw-ui .tbe-form .tbe-form__submit::before,
	.aw-foot.aw-ui .tbe-form .tbe-form__challenge-btn::before { transition: none; }
}
/* Footer body printed without a footer block (no newsletter row above it): the same top space. */
.aw-foot__body--alone .aw-cols { padding-top: 96px; }

/* ---------------------------------------------------------------- columns */
.aw-cols {
	display: grid;
	grid-template-columns: 1fr 1fr 1.35fr 1.5fr;
	gap: 48px;
	padding: 64px 0;
}
.aw-col {
	display: grid;
	gap: 14px;
	align-content: start;
	color: var(--aw-foot-text);
	font-size: 16px;
}
.aw-col__title {
	margin: 0 0 8px;
	font: 800 13px/1.2 var(--aw-font-text);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--aw-foot-mute);
}
.aw-col__toggle {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-align: left;
	cursor: default;
	pointer-events: none;
}
.aw-col__plus { display: none; }
.aw-col__list {
	display: grid;
	gap: 14px;
	justify-items: start;
	margin: 0;
	padding: 0;
	list-style: none;
	font-style: normal;
}
.aw-col__list li { margin: 0; }
.aw-col__list a {
	display: inline-block;
	color: var(--aw-foot-text);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	transition: background-size .3s var(--aw-ease), color .2s, transform .25s var(--aw-ease);
}
.aw-col__list a:hover,
.aw-col__list a:focus-visible { color: var(--aw-paper); transform: translateX(6px); }
.aw-col__list a.aw-col__strong { color: var(--aw-paper); font-size: 19px; font-weight: 800; }
.aw-col__contact { gap: 10px; }

.aw-col__store {
	display: grid;
	gap: 10px;
	justify-items: start;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--aw-foot-line);
}
.aw-col__sub {
	color: var(--aw-paper);
	font-family: var(--aw-font-nav);
	font-stretch: 75%;
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}
.aw-col__store p { margin: 0; line-height: 1.5; }
.aw-col__hours {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 16px;
	margin: 0;
	font-size: 15px;
}
.aw-col__hours dt { color: var(--aw-foot-mute); font-weight: 500; }
.aw-col__hours dd { margin: 0; color: var(--aw-paper); font-weight: 700; font-variant-numeric: tabular-nums; }
.aw-col__go {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	color: var(--aw-paper);
	font-size: 15px;
	font-weight: 800;
}
.aw-col__go .aw-ico { width: 20px; height: 20px; transition: transform .3s var(--aw-ease); }
.aw-col__go:hover .aw-ico,
.aw-col__go:focus-visible .aw-ico { transform: translateY(-4px); }
.aw-col__go span { background-size: 100% 1.5px; }
.aw-col__go:hover span { background-size: 100% 3px; }

/* B2B card */
.aw-col--b2b {
	position: relative;
	gap: 18px;
	justify-items: start;
	padding: 30px;
	overflow: hidden;
	background: var(--aw-b2b);
	color: rgba(255, 255, 255, .88);
	box-shadow: 8px 8px 0 var(--aw-foot-line);
	transition: transform .3s var(--aw-ease), box-shadow .3s var(--aw-ease);
}
.aw-col--b2b > :not(.aw-stamp) { position: relative; z-index: 1; }
.aw-stamp--foot {
	--stamp: var(--aw-b2b-stamp);
	height: 360px;
	right: -70px;
	top: -40px;
	transform: rotate(-9deg);
	transition: transform .6s var(--aw-ease);
}
.aw-col__b2b-title {
	margin: 0;
	color: var(--aw-paper);
	font-size: 58px;
}
.aw-col--b2b p { margin: 0; font-size: 16px; line-height: 1.45; }
.aw-col__b2b-btn { height: 52px; padding: 0 22px; }
.aw-col__b2b-btn .aw-ico { width: 18px; height: 18px; stroke-width: 2.4; transition: transform .25s var(--aw-ease); }
.aw-col__b2b-btn:hover .aw-ico,
.aw-col__b2b-btn:focus-visible .aw-ico { transform: translateX(5px); }

@media (hover: hover) {
	.aw-col--b2b:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--aw-foot-line); }
	.aw-col--b2b:hover .aw-stamp--foot { transform: rotate(3deg) scale(1.08); }
}

/* ---------------------------------------------------------------- social + back to top */
.aw-foot__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 24px;
	padding: 26px 0;
	border-top: 1px solid var(--aw-foot-line);
}
.aw-social { display: flex; align-items: center; gap: 18px; }
.aw-social__label {
	color: var(--aw-foot-mute);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.aw-social__list { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.aw-social__list li { margin: 0; }
.aw-social__link {
	position: relative;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border: 1.5px solid var(--aw-paper);
	isolation: isolate;
	transition: color .25s;
}
.aw-social__link::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--aw-paper);
	transform: translateY(101%);
	transition: transform .3s var(--aw-ease);
}
.aw-foot .aw-social__link:hover,
.aw-foot .aw-social__link:focus-visible { color: var(--aw-ink); }
.aw-social__link:hover::before,
.aw-social__link:focus-visible::before { transform: none; }
.aw-social__link .aw-ico { width: 22px; height: 22px; transition: transform .3s var(--aw-ease); }
.aw-social__link:hover .aw-ico { transform: rotate(-8deg) scale(1.1); }

.aw-top {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--aw-paper);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.aw-top__ico {
	box-sizing: content-box;
	width: 20px;
	height: 20px;
	padding: 13px;
	border: 1.5px solid var(--aw-paper);
	stroke-width: 2.2;
	transform: rotate(-90deg);
	transition: transform .3s var(--aw-ease), background-color .25s, color .25s;
}
.aw-foot .aw-top:hover,
.aw-foot .aw-top:focus-visible { color: var(--aw-paper); }
.aw-top:hover .aw-top__ico,
.aw-top:focus-visible .aw-top__ico {
	background: var(--aw-paper);
	color: var(--aw-ink);
	transform: rotate(-90deg) translateX(4px);
}

/* ---------------------------------------------------------------- legal row */
.aw-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 10px 24px;
	padding: 20px 0;
	border-top: 1px solid var(--aw-foot-line);
	color: var(--aw-foot-mute);
	font-size: 14px;
}
.aw-legal__copy { margin: 0; }
.aw-legal__lang { display: flex; gap: 18px; color: var(--aw-paper); }

/* ---------------------------------------------------------------- wordmark (typeset, not the logo image) */
.aw-mark {
	display: flex;
	justify-content: center;
	margin: 18px -10px -0.2em;
	color: var(--aw-paper);
	font-family: var(--aw-font-display);
	font-stretch: 125%;
	font-weight: 900;
	font-size: 13.6vw;
	line-height: .78;
	letter-spacing: .02em;
	white-space: nowrap;
	user-select: none;
}
.aw-mark span {
	display: inline-block;
	transition: transform .45s var(--aw-ease), color .3s, -webkit-text-stroke-color .3s;
	-webkit-text-stroke: 2px transparent;
}
@media (hover: hover) and (min-width: 768px) {
	.aw-mark span:hover {
		color: transparent;
		-webkit-text-stroke-color: var(--aw-paper);
		transform: translateY(-16%);
	}
	.aw-mark span:hover + span,
	.aw-mark span:has(+ span:hover) { transform: translateY(-7%); }
}

/* ---------------------------------------------------------------- tablets */
@media (max-width: 1189px) {
	.aw-foot .aw-news--block { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.aw-cols { grid-template-columns: 1fr 1fr 1.3fr; }
	.aw-col--b2b { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- phones: stacked newsletter, accordion columns */
@media (max-width: 767px) {
	.aw-foot .aw-news--block { gap: 22px; padding: 44px 0 36px; }
	.aw-foot .aw-news--block .aw-news__head { gap: 16px; }
	/* Field over a full-width button. */
	.aw-foot.aw-ui .tbe-form .tbe-form__form { grid-template-columns: minmax(0, 1fr); }
	.aw-foot.aw-ui .tbe-form .tbe-form__input { height: 56px !important; font-size: 18px; }
	.aw-foot.aw-ui .tbe-form .tbe-form__submit { width: 100% !important; height: 56px !important; margin-top: 16px !important; }
	.aw-foot.aw-ui .tbe-form .tbe-form__skeleton { flex-wrap: wrap; }
	.aw-foot.aw-ui .tbe-form .tbe-form__skeleton-bar--input { flex-basis: 100%; margin-top: 54px; }
	.aw-foot.aw-ui .tbe-form .tbe-form__skeleton-bar--btn { flex-basis: 100%; height: 56px; margin-top: 16px; }
	.aw-foot__body--alone .aw-cols { padding-top: 44px; }
	.aw-cols {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding: 0;
	}
	.aw-col { gap: 0; }
	.aw-col__title { margin: 0; color: var(--aw-paper); }
	.aw-col[data-aw-acc] { border-bottom: 1px solid var(--aw-foot-line); }
	.aw-col__toggle {
		height: 58px;
		font-size: 15px;
		cursor: pointer;
		pointer-events: auto;
	}
	.aw-col__plus { display: block; width: 18px; height: 18px; transition: transform .2s var(--aw-ease); }
	.aw-col__toggle[aria-expanded="true"] .aw-col__plus { transform: rotate(45deg); }
	.aw-col__body { padding-bottom: 20px; }
	.aw-col__body[hidden] { display: none; }
	.aw-col__list a:hover,
	.aw-col__list a:focus-visible { transform: none; }
	.aw-col__store { margin-top: 18px; padding-top: 16px; }
	.aw-col--b2b { gap: 14px; margin: 26px 0 30px; padding: 24px 20px; box-shadow: 5px 5px 0 var(--aw-foot-line); }
	.aw-col__b2b-title { font-size: 46px; }
	.aw-foot__bar { padding: 20px 0; }
	.aw-top span { display: none; }
	.aw-legal {
		flex-direction: column;
		align-items: flex-start;
		font-size: 12px;
	}
	.aw-mark { margin: 10px -4px -0.18em; }
}
