/* Site-wide Altra typography and shared shop/footer helpers. */

@font-face {
	font-family: "NeuzeitGrotesk";
	src: url("../fonts/NeuzeitGrotesk-Light.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "NeuzeitGrotesk";
	src: url("../fonts/NeuzeitGrotesk-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "NeuzeitGrotesk";
	src: url("../fonts/NeuzeitGrotesk-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "NeuzeitGrotesk";
	src: url("../fonts/NeuzeitGrotesk-Black.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

body,
button,
input,
select,
textarea,
.header,
.nav,
.nav ul,
.footer,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "NeuzeitGrotesk", "Helvetica Neue", Arial, sans-serif;
}

.header-main {
	background-color: #fff;
}

.header .nav > li > a {
	font-size: 15px;
	letter-spacing: 0.01em;
}

.altra-footer-shop {
	list-style: none;
	margin: 0;
	padding: 0;
}

.altra-footer-shop li {
	margin: 0 0 6px;
	padding: 0;
}

.altra-footer-shop a {
	color: inherit;
	text-decoration: none;
}

.altra-footer-shop a:hover {
	text-decoration: underline;
}

/* ---------- Category tree (shop sidebar and mobile filter drawer) ---------- */
ul.altra-cat-tree {
	list-style: none;
	margin: 0;
	padding: 0;
}

.altra-cat-tree li {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

.altra-cat-tree li > a {
	display: block;
	padding: 6px 0;
	color: #292726;
	font-size: 14px;
	line-height: 1.35;
	text-decoration: none;
}

.altra-cat-tree li > a:hover {
	text-decoration: underline;
}

.altra-cat-tree ul.children {
	list-style: none;
	margin: 0;
	padding-left: 14px;
}

.altra-cat-tree--ready ul.children {
	display: none;
}

.altra-cat-tree--ready li.altra-open > ul.children {
	display: block;
}

.altra-cat-tree__toggle {
	position: absolute;
	top: 4px;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #292726;
	cursor: pointer;
}

.altra-cat-tree__toggle svg {
	width: 14px;
	height: 14px;
	transition: transform 0.2s ease;
}

.altra-cat-tree li.altra-open > .altra-cat-tree__toggle svg {
	transform: rotate(180deg);
}

.altra-cat-tree li.has-children > a {
	padding-right: 32px;
}

.altra-cat-tree--ready .cat-parent > a::after,
.altra-cat-tree--ready .cat-parent > a::before {
	content: none !important;
}

/* ---------- Size guide ---------- */
.altra-size-guide {
	margin: 0 0 24px;
}

.altra-size-guide__block + .altra-size-guide__block {
	margin-top: 34px;
}

.altra-size-guide__title {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 700;
}

.altra-size-guide__scroll {
	overflow-x: auto;
}

.altra-size-guide__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.altra-size-guide__table th,
.altra-size-guide__table td {
	padding: 9px 12px;
	border: 1px solid #ddd9d5;
	text-align: left;
	white-space: nowrap;
}

.altra-size-guide__table thead th {
	background: #f5f3f2;
	font-weight: 700;
}

.altra-size-guide__note {
	margin: 10px 0 0;
	color: #6d6d6d;
	font-size: 13px;
	line-height: 1.5;
}

/* Unify WooCommerce sale badges with the homepage discount badge. */
.badge-container .badge-inner,
.product-small .badge-inner,
.badge-container .onsale,
.product-small .onsale {
	background-color: #292726 !important;
	color: #ffffff !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.badge-container .onsale,
.product-small .onsale {
	font-size: 0 !important;
	line-height: 1 !important;
	min-height: 0 !important;
	min-width: 0 !important;
	padding: 5px 8px !important;
}

.badge-container .onsale::after,
.product-small .onsale::after {
	content: "70% OFF";
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.1;
}

.price ins,
.woocommerce-Price-amount ins {
	color: #292726 !important;
	text-decoration: none !important;
}

.price del {
	color: #8a8a8a !important;
}

.badge-inner.on-sale,
.callout.badge .badge-inner.on-sale {
	background-color: #292726 !important;
	color: #ffffff !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 5px 8px !important;
}

.badge-inner.on-sale .onsale {
	display: inline-block;
	font-size: 0 !important;
	line-height: 1 !important;
	min-height: 0 !important;
	min-width: 0 !important;
}

.badge-inner.on-sale .onsale::after {
	content: "70% OFF";
	display: inline-block;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.1;
}

/* Only the custom, accessible category toggle is visible. */
.altra-cat-tree--ready button.toggle,
.altra-cat-tree--ready .cat-parent > a::before,
.altra-cat-tree--ready .cat-parent > a::after {
	display: none !important;
	content: none !important;
}

.callout.badge {
	width: auto !important;
	height: auto !important;
}

.badge-inner.on-sale {
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 4px 7px !important;
}

.badge-inner.on-sale .onsale::after {
	font-size: 10px;
}
