/**
 * Kicks chrome — site header + footer styling.
 *
 * Header = minimal (Nike / Off-White style): logo left, nav inline,
 * cart icon right. Plain text nav, no pills, no CTA button, no fuss.
 *
 * Footer = dark editorial with mega watermark.
 */

:root {
	--kk-ink: #0a0a0a;
	--kk-bg: #ffffff;
	--kk-muted: #6b6b6b;
	--kk-border: #e6e6e6;
	--kk-surface: #f5f5f5;
	--kk-surface-2: #eeeeee;
	--kk-green: #c6f24a;
	--kk-green-ink: #0a0a0a;
	--kk-dark: #0b0b0b;
	--kk-radius: 14px;
	--kk-radius-sm: 8px;
	--kk-container: 1240px;
}

/* ============================================================
 * ANNOUNCEMENT BAR
 * ============================================================ */
.cb-announcement {
	background: var(--kk-ink);
	color: #fff;
	padding: 10px 0;
	font-family: "Archivo", "Inter", system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-align: center;
	border: 0;
}
.cb-announcement .cb-container {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.cb-announcement__text { margin: 0; }
.cb-announcement__close {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: 0;
	color: #fff;
	font-size: 18px;
	line-height: 1;
	opacity: .6;
	cursor: pointer;
	padding: 4px;
}
.cb-announcement__close:hover { opacity: 1; }

/* ============================================================
 * HEADER — minimal, Nike/Off-White style
 * ============================================================
 * Clean white bar. Logo on the left, nav items inline right after
 * the logo as plain text (no pills, no caps, no wide tracking).
 * Cart icon sits alone on the far right. That's it.
 */
.cb-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #fff;
	border-bottom: 1px solid var(--kk-border);
	padding: 18px 0;
	font-family: "Archivo", "Inter", system-ui, sans-serif;
}

.cb-header .cb-container,
.cb-header .cb-container--wide {
	max-width: var(--kk-container);
	padding: 0 24px;
}

.cb-header__inner {
	display: flex;
	align-items: center;
	gap: 40px;
}

/* Logo */
.cb-header__brand { flex-shrink: 0; }
.cb-header__site-name,
.cb-header__brand .custom-logo-link {
	font-family: "Archivo Black", "Arial Black", sans-serif;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--kk-ink);
	text-decoration: none;
	line-height: 1;
	display: inline-flex;
	align-items: center;
}
.cb-header__site-name:hover { color: var(--kk-ink); opacity: .7; }
.cb-header__brand .custom-logo {
	max-height: 28px;
	width: auto;
	display: block;
}

/* Nav — plain inline links, sits right after the logo */
.cb-nav {
	flex: 1;
	min-width: 0;
}
.cb-nav__list {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.cb-nav__list li {
	position: relative;
	margin: 0;
	padding: 0;
}
.cb-nav__list a {
	display: inline-block;
	padding: 4px 0;
	font-family: "Archivo", sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--kk-ink);
	text-decoration: none;
	background: transparent;
	border-radius: 0;
	line-height: 1.2;
	position: relative;
	transition: color .15s ease;
}
.cb-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 1px;
	background: var(--kk-ink);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .25s ease;
}
.cb-nav__list a:hover::after,
.cb-nav__list .current-menu-item > a::after,
.cb-nav__list .current_page_item > a::after {
	transform: scaleX(1);
}
.cb-nav__list a:hover,
.cb-nav__list .current-menu-item > a,
.cb-nav__list .current_page_item > a {
	background: transparent;
	color: var(--kk-ink);
}

/* Sub-menus */
.cb-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	transform: none;
	min-width: 200px;
	background: #fff;
	border: 1px solid var(--kk-border);
	border-radius: var(--kk-radius-sm);
	box-shadow: 0 8px 24px rgba(0,0,0,.08);
	padding: 6px;
	z-index: 10;
	list-style: none;
	margin: 0;
}
.cb-nav__list li:hover > .sub-menu { display: block; }
.cb-nav__list .sub-menu a {
	display: block;
	padding: 10px 14px;
	font-size: 13px;
	border-radius: 6px;
	white-space: nowrap;
}
.cb-nav__list .sub-menu a::after { display: none; }
.cb-nav__list .sub-menu a:hover {
	background: var(--kk-surface);
}

/* Hide the CTA button entirely in minimal mode */
.cb-header__actions { display: none; }

/* Cart icon — simple, no background */
.cb-header__cart {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	color: var(--kk-ink);
	background: transparent;
	border-radius: 0;
	text-decoration: none;
	flex-shrink: 0;
	transition: opacity .15s ease;
	margin-left: auto;
}
.cb-header__cart:hover {
	opacity: .6;
	background: transparent;
	color: var(--kk-ink);
}
.cb-header__cart svg {
	width: 22px;
	height: 22px;
	stroke-width: 1.8;
}
.cb-header__cart-count {
	position: absolute;
	top: -2px;
	right: -6px;
	background: var(--kk-ink);
	color: #fff;
	font-family: "Archivo", sans-serif;
	font-size: 10px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	line-height: 1;
	border: 0;
}

/* Mobile nav toggle — simple hamburger, no background */
.cb-nav__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 8px;
	width: auto;
	height: auto;
	border-radius: 0;
	align-items: center;
	justify-content: center;
	margin-left: auto;
}
.cb-nav__toggle-bar {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--kk-ink);
	border-radius: 0;
	transition: transform .25s ease, opacity .15s ease;
}

@media (max-width: 900px) {
	.cb-nav__toggle { display: inline-flex; }

	.cb-header__inner {
		gap: 16px;
	}

	.cb-nav {
		flex: 0 0 auto;
		position: static;
		order: 3;
	}
	.cb-nav__list {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-top: 1px solid var(--kk-border);
		flex-direction: column;
		padding: 16px 24px;
		gap: 0;
		align-items: stretch;
	}
	.cb-nav__list li {
		border-bottom: 1px solid var(--kk-border);
	}
	.cb-nav__list li:last-child { border-bottom: 0; }
	.cb-nav__list a {
		width: 100%;
		padding: 16px 0;
		font-size: 16px;
		font-weight: 500;
	}
	.cb-nav__list a::after { display: none; }
	.cb-nav__list .sub-menu {
		position: static;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0 0 12px 16px;
		min-width: 0;
		background: transparent;
	}
	.cb-nav__list .sub-menu a {
		font-size: 14px;
		padding: 8px 0;
	}
	.cb-nav__list .sub-menu a:hover { background: transparent; }

	.cb-header__cart {
		order: 2;
		margin-left: auto;
	}

	body.cb-menu-open .cb-nav__list { display: flex; }
	body.cb-menu-open .cb-nav__toggle-bar:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}
	body.cb-menu-open .cb-nav__toggle-bar:nth-child(2) { opacity: 0; }
	body.cb-menu-open .cb-nav__toggle-bar:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}
}

/* ============================================================
 * FOOTER — unchanged (you liked it)
 * ============================================================ */
.cb-footer {
	background: var(--kk-dark);
	color: #e5e5e5;
	border-top: 0;
	padding: 80px 0 32px;
	font-family: "Archivo", "Inter", system-ui, sans-serif;
	position: relative;
	overflow: hidden;
}

.cb-footer::before {
	content: "KICKS";
	position: absolute;
	left: 50%;
	bottom: -42px;
	transform: translateX(-50%);
	font-family: "Archivo Black", "Arial Black", sans-serif;
	font-size: clamp(120px, 22vw, 360px);
	font-weight: 900;
	letter-spacing: -0.04em;
	color: rgba(255, 255, 255, 0.04);
	line-height: 1;
	pointer-events: none;
	white-space: nowrap;
	z-index: 0;
}

.cb-footer .cb-container,
.cb-footer .cb-container--wide {
	max-width: var(--kk-container);
	padding: 0 20px;
	position: relative;
	z-index: 1;
}

.cb-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 60px;
}
@media (max-width: 900px) {
	.cb-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}
	.cb-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
	.cb-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

.cb-footer__logo {
	font-family: "Archivo Black", "Arial Black", sans-serif;
	font-size: 32px;
	font-weight: 900;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	display: inline-block;
	margin-bottom: 16px;
	line-height: 1;
}
.cb-footer__logo:hover { color: var(--kk-green); }

.cb-footer__tagline {
	color: #9ca3af;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 28px;
	max-width: 340px;
}

.cb-footer__social {
	display: flex;
	gap: 10px;
}
.cb-footer__social-link {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: transparent;
	color: #e5e5e5;
	display: grid;
	place-items: center;
	transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
	text-decoration: none;
}
.cb-footer__social-link:hover {
	background: var(--kk-green);
	color: var(--kk-ink);
	border-color: var(--kk-green);
	transform: translateY(-2px);
}
.cb-footer__social-link svg {
	width: 16px;
	height: 16px;
}

.cb-footer__heading {
	font-family: "Archivo", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 18px;
	padding: 0;
}

.cb-footer__menu {
	display: flex;
	flex-direction: column;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.cb-footer__menu a {
	font-size: 14px;
	font-weight: 500;
	color: #9ca3af;
	text-decoration: none;
	transition: color .15s ease;
	display: inline-block;
}
.cb-footer__menu a:hover { color: #fff; }

.cb-footer__contact-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 14px;
	color: #9ca3af;
	list-style: none;
	margin: 0;
	padding: 0;
}
.cb-footer__contact-list a {
	color: #9ca3af;
	text-decoration: none;
	transition: color .15s ease;
}
.cb-footer__contact-list a:hover { color: #fff; }

.cb-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 12px;
	color: #9ca3af;
	font-weight: 500;
	letter-spacing: 0.02em;
	flex-wrap: wrap;
}
.cb-footer__copyright { margin: 0; }

.cb-footer__legal {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.cb-footer__legal a {
	font-size: 12px;
	color: #9ca3af;
	text-decoration: none;
	transition: color .15s ease;
}
.cb-footer__legal a:hover { color: #fff; }

@media (max-width: 640px) {
	.cb-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
}

/* Remove default cb-main padding when scoped Kicks pages manage their own */
.cb-main:has(> .cb-kicks-checkout),
.cb-main:has(> .cb-kicks-cart),
.cb-main:has(> .cb-kicks-product),
.cb-main:has(> .cb-kicks) {
	padding: 0;
}
