:root {
	--ba-bg: #222225;
	--ba-bg-deep: #131316;
	--ba-black: #000003;
	--ba-red: #c00303;
	--ba-red-hover: #9d0607;
	--ba-bronze: #724c25;
	--ba-lime: #bccf02;
	--ba-text: #ffffff;
	--ba-muted: #b8b8bc;
	--ba-border: #3a3a3f;
	--ba-font: "Barlow", sans-serif;
	--ba-display: "Barlow Condensed", sans-serif;
	--ba-header-h: 97px;
	--ba-max: 1280px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ba-bg);
	color: var(--ba-text);
	font-family: var(--ba-font);
	font-size: 16px;
	line-height: 1.55;
	padding-top: var(--ba-header-h);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--ba-red);
	text-decoration: none;
	transition: color 0.2s ease, filter 0.2s ease;
}

a:hover {
	color: var(--ba-red-hover);
}

h1,
h2,
h3,
h4 {
	font-family: var(--ba-display);
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1.1;
	margin: 0 0 0.5em;
}

.constrain {
	width: min(100% - 2.5rem, var(--ba-max));
	margin-inline: auto;
}

.screen-reader-text,
.skip-link {
	position: absolute;
	left: -9999px;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
	z-index: 10000;
	background: #fff;
	color: #000;
	padding: 0.75rem 1rem;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.7rem 1.4rem;
	font-family: var(--ba-display);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border: 2px solid transparent;
	cursor: pointer;
	transition: filter 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn--red {
	background: var(--ba-red);
	border-color: var(--ba-red);
	color: #fff;
}

.btn--red:hover {
	background: var(--ba-red-hover);
	border-color: var(--ba-red-hover);
	color: #fff;
	filter: brightness(1.05);
}

.btn--outline {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.btn--outline:hover {
	background: #fff;
	color: #000;
}

.badge-mig,
.badge-new {
	display: inline-block;
	background: var(--ba-red);
	color: #fff;
	font-family: var(--ba-display);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.35rem 0.85rem;
	margin-bottom: 0.75rem;
}

.badge-new {
	background: var(--ba-lime);
	color: #000;
}

/* Header */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 1000;
	background: var(--ba-bg-deep);
}

.header-before {
	background: var(--ba-black);
	font-size: 0.8rem;
}

.header-before__inner {
	display: flex;
	justify-content: flex-end;
	min-height: 28px;
	align-items: center;
}

.nav-secondary__list {
	display: flex;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0.35rem 0;
}

.nav-secondary__list a {
	color: var(--ba-muted);
	text-transform: uppercase;
	font-family: var(--ba-display);
	letter-spacing: 0.04em;
}

.nav-secondary__list a:hover {
	color: #fff;
}

.header-main {
	background: var(--ba-bg-deep);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-main__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem;
	min-height: 68px;
	position: relative;
}

.site-logo {
	display: flex;
	align-items: center;
	width: 140px;
}

.site-logo img {
	width: 140px;
	height: auto;
}

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 0.5rem;
	cursor: pointer;
}

.nav-toggle__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
	margin: 5px 0;
}

.nav-primary__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.15rem 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-primary__list > li {
	position: relative;
}

.nav-primary__list > li > a {
	color: #fff;
	font-family: var(--ba-display);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.5rem 0;
	display: inline-block;
}

.nav-primary__list > li > a:hover,
.nav-primary__list > li:hover > a {
	color: var(--ba-red);
}

.nav-primary__list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--ba-black);
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	z-index: 20;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.nav-primary__list > li:hover > .sub-menu,
.nav-primary__list > li:focus-within > .sub-menu {
	display: block;
}

.nav-primary__list .sub-menu a {
	display: block;
	padding: 0.55rem 1rem;
	color: #fff;
	font-family: var(--ba-display);
	text-transform: uppercase;
	font-size: 0.9rem;
}

.nav-primary__list .sub-menu a:hover {
	background: var(--ba-red);
	color: #fff;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.header-search-toggle,
.header-cart {
	color: #fff;
	background: none;
	border: 0;
	padding: 0.35rem;
	cursor: pointer;
	position: relative;
	display: inline-flex;
	align-items: center;
}

.header-cart__count {
	position: absolute;
	top: -4px;
	right: -8px;
	min-width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--ba-red);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.header-search {
	border-top: 1px solid var(--ba-border);
	background: var(--ba-black);
	padding: 0.75rem 0;
}

.header-search__form {
	width: min(100% - 2.5rem, var(--ba-max));
	margin: 0 auto;
	display: flex;
	gap: 0.5rem;
}

.header-search__form input {
	flex: 1;
	background: var(--ba-bg);
	border: 1px solid var(--ba-border);
	color: #fff;
	padding: 0.7rem 0.9rem;
	font: inherit;
}

.header-search__form button {
	background: var(--ba-red);
	border: 0;
	color: #fff;
	padding: 0 1.1rem;
	font-family: var(--ba-display);
	text-transform: uppercase;
	font-weight: 600;
	cursor: pointer;
}

/* Edition 15 hero */
.hero-edition15 {
	position: relative;
	min-height: min(88vh, 820px);
	display: grid;
	align-items: end;
	overflow: hidden;
	background: #0b0b0d;
}

.hero-edition15__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: brightness(0.55);
	transform: scale(1.02);
	animation: ba-kenburns 18s ease-in-out infinite alternate;
}

.hero-edition15__content {
	position: relative;
	z-index: 2;
	padding: 4rem 0 2rem;
}

.hero-edition15__brand {
	margin-bottom: 1.5rem;
}

.hero-edition15__brand img {
	width: min(220px, 45vw);
	height: auto;
}

.hero-edition15__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	max-width: 820px;
}

.hero-edition15__item h1,
.hero-edition15__item h2 {
	font-size: clamp(1.8rem, 3.5vw, 2.75rem);
	margin-bottom: 0.6rem;
}

.hero-edition15__item p {
	color: var(--ba-muted);
	max-width: 34ch;
	margin: 0 0 1.25rem;
}

.hero-edition15__gallery {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0.35rem;
	padding: 0 0.5rem 0.5rem;
	animation: ba-rise 0.9s ease both;
}

.hero-edition15__gallery-item {
	margin: 0;
	background: rgba(0, 0, 0, 0.35);
	display: flex;
	flex-direction: column;
}

.hero-edition15__gallery img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.hero-edition15__gallery figcaption {
	padding: 0.45rem 0.5rem 0.65rem;
	font-family: var(--ba-display);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-align: center;
	color: var(--ba-muted);
	line-height: 1.25;
}

/* Product hero slider */
.hero-slider {
	position: relative;
	min-height: 72vh;
	background: #000;
	overflow: hidden;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.hero-slide__image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.04);
	transition: transform 6s ease;
}

.hero-slide.is-active .hero-slide__image {
	transform: scale(1);
}

.hero-slide__filter {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-slide__content {
	position: relative;
	z-index: 2;
	height: 100%;
	min-height: 72vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 3rem 0;
}

.hero-slide__content h2 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	max-width: 14ch;
	margin-bottom: 1.25rem;
}

.hero-slide__award {
	position: absolute;
	right: 1.5rem;
	bottom: 1.5rem;
	width: 90px;
}

.hero-slider__controls {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.hero-slider__controls button {
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
}

.hero-slider__controls button:hover {
	background: var(--ba-red);
	border-color: var(--ba-red);
}

.hero-slider__dots {
	position: absolute;
	left: 50%;
	bottom: 1.25rem;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 0.4rem;
}

.hero-slider__dots button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	padding: 0;
}

.hero-slider__dots button.is-active {
	background: var(--ba-red);
}

/* Teasers */
.home-teasers {
	padding: 3.5rem 0;
	background: var(--ba-bg-deep);
}

.home-teasers__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.teaser-card {
	display: flex;
	flex-direction: column;
	color: #fff;
	background: var(--ba-black);
	overflow: hidden;
	min-height: 100%;
	transition: transform 0.35s ease;
}

.teaser-card:hover {
	color: #fff;
	transform: translateY(-4px);
}

.teaser-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.teaser-card__body {
	padding: 1.1rem 1.15rem 1.35rem;
}

.teaser-card__body h3 {
	font-size: 1.15rem;
	margin-bottom: 0.35rem;
}

.teaser-card__body p {
	margin: 0;
	color: var(--ba-muted);
	font-size: 0.95rem;
}

/* Instagram */
.home-instagram {
	padding: 3rem 0 3.5rem;
	background: var(--ba-bg-deep);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.home-instagram__handle {
	display: inline-block;
	margin-bottom: 1.25rem;
	color: #fff;
	font-family: var(--ba-display);
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: lowercase;
}

.home-instagram__handle:hover {
	color: var(--ba-red);
}

.home-instagram__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.5rem;
}

.home-instagram__item {
	display: block;
	overflow: hidden;
	background: var(--ba-black);
	aspect-ratio: 1 / 1;
}

.home-instagram__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease, filter 0.45s ease;
	filter: saturate(0.92);
}

.home-instagram__item:hover img {
	transform: scale(1.05);
	filter: saturate(1.05);
}

/* Products */
.home-products {
	padding: 3.5rem 0 4rem;
}

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.section-header h2 {
	font-size: 2rem;
	margin: 0;
}

.home-products ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.home-products ul.products::before,
.home-products ul.products::after {
	display: none;
}

.home-products ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	background: var(--ba-black);
	padding: 0.75rem;
}

.home-products ul.products li.product a {
	color: #fff;
}

.home-products ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--ba-display);
	font-size: 1rem;
	text-transform: uppercase;
}

.home-products ul.products li.product .price {
	color: var(--ba-muted);
}

/* Newsletter */
.home-newsletter {
	background: var(--ba-black);
	padding: 4rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-newsletter__inner {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 2.5rem;
	align-items: start;
}

.home-newsletter h2 {
	font-size: clamp(2rem, 4vw, 3rem);
}

.home-newsletter p {
	color: var(--ba-muted);
	max-width: 40ch;
}

.newsletter-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.newsletter-form label {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-size: 0.85rem;
	text-transform: uppercase;
	font-family: var(--ba-display);
	letter-spacing: 0.04em;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
	background: var(--ba-bg);
	border: 1px solid var(--ba-border);
	color: #fff;
	padding: 0.75rem 0.85rem;
	font: inherit;
	text-transform: none;
	letter-spacing: 0;
	font-family: var(--ba-font);
}

.newsletter-form__check {
	grid-column: 1 / -1;
	flex-direction: row !important;
	align-items: flex-start;
	gap: 0.65rem !important;
	text-transform: none;
	font-family: var(--ba-font);
	font-size: 0.9rem;
	letter-spacing: 0;
}

.newsletter-form .btn {
	grid-column: 1 / -1;
	justify-self: start;
}

/* Content pages */
.content-wrap {
	padding: 3rem 0 4rem;
}

.entry-title {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 1.25rem;
}

.entry-content {
	max-width: 70ch;
}

.entry-content p {
	color: var(--ba-muted);
}

/* Shop */
.shop-main {
	padding: 2.5rem 0 4rem;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.woocommerce ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	background: var(--ba-black);
	padding: 1rem;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce .price,
.woocommerce div.product .product_title {
	color: #fff;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--ba-red) !important;
	color: #fff !important;
	border-radius: 0 !important;
	font-family: var(--ba-display);
	text-transform: uppercase;
	font-weight: 600;
}

/* Footer */
.site-footer {
	background: var(--ba-bg-deep);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding-top: 3rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
	padding-bottom: 2.5rem;
}

.footer-col__title {
	font-size: 1rem;
	margin-bottom: 1rem;
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-col li + li {
	margin-top: 0.45rem;
}

.footer-col a {
	color: var(--ba-muted);
	font-size: 0.95rem;
}

.footer-col a:hover {
	color: #fff;
}

.footer-made {
	margin-top: 1.5rem;
}

.footer-made span {
	display: inline-block;
	background: var(--ba-red);
	color: #fff;
	padding: 0.35rem 1rem;
	font-family: var(--ba-display);
	text-transform: uppercase;
	font-weight: 600;
	font-size: 0.85rem;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	background: var(--ba-black);
}

.footer-bottom__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0;
	font-size: 0.85rem;
	color: var(--ba-muted);
}

.footer-bottom ul {
	display: flex;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-bottom a {
	color: var(--ba-muted);
}

@keyframes ba-kenburns {
	from {
		transform: scale(1.02);
	}
	to {
		transform: scale(1.08);
	}
}

@keyframes ba-rise {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 980px) {
	:root {
		--ba-header-h: 88px;
	}

	.nav-toggle {
		display: block;
		order: -1;
	}

	.header-main__inner {
		grid-template-columns: auto 1fr auto;
	}

	.site-logo {
		justify-self: center;
	}

	.nav-primary {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--ba-black);
		padding: 1rem 1.25rem 1.5rem;
		border-top: 1px solid var(--ba-border);
	}

	.nav-primary.is-open {
		display: block;
	}

	.nav-primary__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav-primary__list .sub-menu {
		position: static;
		display: block;
		box-shadow: none;
		padding-left: 0.75rem;
		background: transparent;
	}

	.hero-edition15__cols,
	.home-teasers__grid,
	.home-products ul.products,
	.woocommerce ul.products,
	.site-footer__grid,
	.home-newsletter__inner,
	.home-instagram__grid {
		grid-template-columns: 1fr 1fr;
	}

	.hero-edition15__gallery {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 640px) {
	:root {
		--ba-header-h: 76px;
	}

	.header-before {
		display: none;
	}

	.hero-edition15__cols,
	.home-teasers__grid,
	.home-products ul.products,
	.woocommerce ul.products,
	.site-footer__grid,
	.home-newsletter__inner,
	.newsletter-form,
	.footer-bottom__inner,
	.home-instagram__grid {
		grid-template-columns: 1fr;
	}

	.home-instagram__grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-bottom__inner {
		display: grid;
	}

	.hero-edition15__gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero-slide__content {
		min-height: 60vh;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
