/**
 * Fit Football — browse chrome, 2026.
 *
 * The bar that pins itself, the filter sheet from the right, and the
 * collection note that used to be a coloured banner above the products.
 * Loaded on top of search-2026.css, whose tokens it reuses.
 */

/**
 * The search drawer lives off-screen to the right: `position: fixed`,
 * translated past the edge. On a page that does not clip, that box widens the
 * layout viewport and a phone answers by zooming the whole page out — which is
 * exactly what "the proportions go wrong and I have to pinch" was. The product
 * page has always clipped; these pages now do too.
 */
body.ff-srch26 {
	overflow-x: clip;
}

/* ---- the bar --------------------------------------------------------- */

.ffb-bar {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--ffs-line, #e4e8ec);
	font-family: var(--ff-font-body, 'Inter', system-ui, sans-serif);
	color: var(--ffs-ink, #0b0f14);
}

.ffb-bar a {
	color: inherit;
	text-decoration: none;
}

.ffb-bar-controls {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 auto;
	min-width: 0;
}

.ffb-filters {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	padding: 9px 16px;
	border: 1px solid var(--ffs-line, #e4e8ec);
	border-radius: var(--ff-radius-pill, 999px);
	background: none;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: inherit;
	cursor: pointer;
	transition: border-color .15s ease;
}

.ffb-filters:hover {
	border-color: var(--ffs-ink, #0b0f14);
}

.ffb-filters.is-on {
	background: var(--ffs-ink, #0b0f14);
	border-color: var(--ffs-ink, #0b0f14);
	color: #fff;
}

.ffb-filters i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #fff;
	color: var(--ffs-ink, #0b0f14);
	font-style: normal;
	font-size: 11px;
	font-weight: 700;
}

.ffb-chips {
	display: flex;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.ffb-chips::-webkit-scrollbar {
	display: none;
}

.ffb-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: none;
	padding: 9px 15px;
	border: 1px solid var(--ffs-line, #e4e8ec);
	border-radius: var(--ff-radius-pill, 999px);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.ffb-chip span {
	font-weight: 400;
	color: var(--ffs-mute, #77808c);
	font-variant-numeric: tabular-nums;
}

.ffb-chip:hover {
	border-color: var(--ffs-ink, #0b0f14);
}

.ffb-chip.is-on {
	background: var(--ffs-ink, #0b0f14);
	border-color: var(--ffs-ink, #0b0f14);
	color: #fff;
}

.ffb-chip.is-on span {
	color: rgba(255, 255, 255, .68);
}

.ffb-sort {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex: none;
}

.ffb-sort select {
	appearance: none;
	-webkit-appearance: none;
	padding: 9px 34px 9px 14px;
	border: 1px solid var(--ffs-line, #e4e8ec);
	border-radius: var(--ff-radius-pill, 999px);
	background: none;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: inherit;
	cursor: pointer;
}

.ffb-sort svg {
	position: absolute;
	right: 13px;
	pointer-events: none;
	color: var(--ffs-mute, #77808c);
}

/* ---- the pinned twin -------------------------------------------------- */

/**
 * It slides over the site header rather than next to it: once you are deep in
 * a grid, what you need at the top is what you are looking at and how to
 * narrow it. Scrolling up any amount brings the real header back.
 */
.ffb-bar.is-pinned {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1002;
	gap: 20px;
	/* 100vw counts the scrollbar, so a padding worked out from it makes this
	   bar wider than the page it is pinned to and the whole document gains a
	   horizontal scroll. The bar is already stretched left-to-right, so its
	   own width is the honest number to measure against. */
	padding: 12px max(16px, calc((100% - 1240px) / 2 + 24px));
	box-sizing: border-box;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--ffs-line, #e4e8ec);
	transform: translateY(-100%);
	transition: transform .28s cubic-bezier(.32, .72, .35, 1);
}

.ffb-bar.is-pinned.is-in {
	transform: none;
}

.ffb-bar.is-pinned[hidden] {
	display: none;
}

.ffb-bar-id {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex: none;
	max-width: 38%;
}

.ffb-bar-name {
	font-family: var(--ff-font-display, 'Anton', sans-serif);
	font-size: 18px;
	letter-spacing: .02em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ffb-bar-count {
	flex: none;
	font-size: 12px;
	color: var(--ffs-mute, #77808c);
	font-variant-numeric: tabular-nums;
}

/* ---- the filter sheet ------------------------------------------------- */

.ffb-sheet {
	position: fixed;
	inset: 0;
	z-index: 2100;
	font-family: var(--ff-font-body, 'Inter', system-ui, sans-serif);
	color: var(--ffs-ink, #0b0f14);
}

.ffb-sheet[hidden] {
	display: none;
}

.ffb-sheet a {
	color: inherit;
	text-decoration: none;
}

.ffb-sheet-scrim {
	position: absolute;
	inset: 0;
	background: rgba(11, 15, 20, .42);
	opacity: 0;
	transition: opacity .26s ease;
}

.ffb-sheet.is-open .ffb-sheet-scrim {
	opacity: 1;
}

.ffb-sheet-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(420px, 92vw);
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: -24px 0 60px rgba(11, 15, 20, .22);
	transform: translateX(102%);
	transition: transform .3s cubic-bezier(.32, .72, .35, 1);
}

.ffb-sheet.is-open .ffb-sheet-panel {
	transform: none;
}

.ffb-sheet-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: none;
	padding: 20px 22px 16px;
	border-bottom: 1px solid var(--ffs-line, #e4e8ec);
}

.ffb-sheet-head h2 {
	margin: 0;
	font-family: var(--ff-font-display, 'Anton', sans-serif);
	font-weight: 400;
	font-size: 20px;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.ffb-sheet-x {
	width: 36px;
	height: 36px;
	border: 1px solid var(--ffs-line, #e4e8ec);
	border-radius: 50%;
	background: none;
	font-size: 20px;
	line-height: 1;
	color: inherit;
	cursor: pointer;
	transition: background .15s ease;
}

.ffb-sheet-x:hover {
	background: var(--ffs-soft, #f4f6f8);
}

.ffb-sheet-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 4px 22px 22px;
	-webkit-overflow-scrolling: touch;
}

.ffb-group {
	padding: 22px 0;
	border-bottom: 1px solid var(--ffs-line, #e4e8ec);
}

.ffb-group:last-child {
	border-bottom: 0;
}

.ffb-group h3 {
	margin: 0 0 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ffs-mute, #77808c);
}

.ffb-opts {
	display: grid;
	gap: 2px;
}

/* A filter row is a link wearing a checkbox: the familiar shape, but it works
   without script and can be opened in a new tab like any other link. */
.ffb-opt {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 4px;
	font-size: 14px;
	border-radius: 8px;
	transition: background .14s ease;
}

.ffb-opt:hover {
	background: var(--ffs-soft, #f4f6f8);
}

.ffb-tick {
	position: relative;
	flex: none;
	width: 18px;
	height: 18px;
	border: 1.5px solid var(--ffs-line, #e4e8ec);
	border-radius: 4px;
	transition: border-color .14s ease, background .14s ease;
}

.ffb-opt.is-on .ffb-tick {
	background: var(--ffs-ink, #0b0f14);
	border-color: var(--ffs-ink, #0b0f14);
}

.ffb-opt.is-on .ffb-tick::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 4px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.ffb-opt-name {
	flex: 1 1 auto;
	min-width: 0;
}

.ffb-opt.is-on .ffb-opt-name {
	font-weight: 600;
}

.ffb-opt-cnt {
	flex: none;
	font-size: 12px;
	color: var(--ffs-mute, #77808c);
	font-variant-numeric: tabular-nums;
}

.ffb-sheet-foot {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: none;
	padding: 16px 22px calc(16px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--ffs-line, #e4e8ec);
}

.ffb-clear {
	flex: none;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--ffs-mute, #77808c);
}

.ffb-done {
	flex: 1 1 auto;
	padding: 15px 20px;
	border: 0;
	border-radius: var(--ff-radius-pill, 999px);
	background: var(--ffs-ink, #0b0f14);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity .15s ease;
}

.ffb-done:hover {
	opacity: .88;
}

/* ---- the collection note --------------------------------------------- */

.ffs-note {
	max-width: 720px;
	margin: 64px 0 0;
	padding-top: 28px;
	border-top: 1px solid var(--ffs-line, #e4e8ec);
}

.ffs-note-h {
	margin: 0 0 12px;
	font-family: var(--ff-font-display, 'Anton', sans-serif);
	font-weight: 400;
	font-size: 18px;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.ffs-note-body {
	font-size: 14px;
	line-height: 1.7;
	color: var(--ffs-mute, #77808c);
}

.ffs-note-body p {
	margin: 0 0 12px;
}

.ffs-note-body p:last-child {
	margin-bottom: 0;
}

/* ---- phones ----------------------------------------------------------- */

@media (max-width: 699px) {
	.ffb-bar {
		display: block;
		padding: 14px 0;
	}

	.ffb-bar-controls {
		flex-wrap: wrap;
	}

	/* The chips take the whole row underneath, so Filters and Sort are never
	   pushed off the edge by a long list of teams. */
	.ffb-chips {
		order: 3;
		width: 100%;
		margin: 12px -16px 0;
		padding: 0 16px;
	}

	.ffb-sort {
		margin-left: auto;
	}

	.ffb-bar.is-pinned {
		padding: 10px 16px;
	}

	.ffb-bar.is-pinned .ffb-bar-id {
		max-width: 100%;
		margin-bottom: 10px;
	}
}

/* ---- sitting under the header ---------------------------------------- */

/**
 * Botiga puts a 60px top margin on its content wrapper. Under a header this
 * page already gives room to, that margin reads as a hole between the header
 * and the word "Search" — so it goes, and the page's own padding sets the
 * distance.
 */
.ff-srch26 .content-wrapper {
	margin-top: 0;
}

.ff-srch26 .ffs-head {
	padding-top: 26px;
}

@media (min-width: 700px) {
	.ff-srch26 .ffs-head {
		padding-top: 34px;
	}
}

/* =========================================================================
 * Endless browse.
 *
 * The list continues itself, so the numbered pager steps aside — but only
 * once the loader has said it is running. Until then, and again if a fetch
 * ever fails, the numbers are the pagination and they work.
 * ====================================================================== */

.ffb-endless [data-ffb-pager] {
	display: none;
}

.ffs-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin: 40px 0 8px;
	text-align: center;
}

/* The trigger. It has to occupy a little height or an observer watching a
   zero-height box at the very end of the document can miss it entirely. */
.ffs-more-mark {
	width: 100%;
	height: 1px;
	margin-top: -1px;
}

.ffs-more-tally {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ffs-mute, #6b7280);
}

/* How far through the collection you are — a hairline, not a widget. */
.ffs-more-track {
	position: relative;
	width: 168px;
	height: 2px;
	border-radius: 999px;
	background: var(--ffs-line, #e5e7eb);
	overflow: hidden;
}

.ffs-more-track i {
	position: absolute;
	inset: 0 auto 0 0;
	display: block;
	background: var(--ffs-ink, #111);
	transition: width .45s cubic-bezier(.4, 0, .2, 1);
}

.ffs-more-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	height: 48px;
	padding: 0 30px;
	border: 1px solid var(--ffs-ink, #111);
	border-radius: var(--ff-radius-pill, 999px);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ffs-ink, #111);
	background: transparent;
	transition: background-color .18s ease, color .18s ease;
}

.ffs-more-btn:hover,
.ffs-more-btn:focus-visible {
	background: var(--ffs-ink, #111);
	color: #fff;
}

.ffs-more-end {
	margin: 0;
	font-size: 13px;
	color: var(--ffs-mute, #6b7280);
}

/* Loading. The button keeps its place and says what it is doing; the tally
   dims rather than being replaced, so nothing under the cursor moves. */
.ffs-more.is-busy .ffs-more-tally {
	opacity: .45;
}

.ffs-more.is-busy .ffs-more-btn {
	pointer-events: none;
	opacity: .55;
}

/* The bar sweeps while a page is on its way, so an empty stretch of screen
   still says "something is coming". */
.ffs-more.is-busy .ffs-more-track {
	background-image: linear-gradient(90deg, transparent 0%, var(--ffs-ink, #111) 50%, transparent 100%);
	background-size: 40% 100%;
	background-repeat: no-repeat;
	animation: ffs-more-sweep 1.1s linear infinite;
}

@keyframes ffs-more-sweep {
	0%   { background-position: -60% 0; }
	100% { background-position: 160% 0; }
}

/* Cards that arrive after the page did should look like they were always
   going to be there — a short rise, not a pop. Only the appended ones: the
   cards PHP printed are already the thing the visitor is waiting for, and
   starting them at opacity 0 would delay the only paint that matters. */
.ffs-grid .pdp-rcard.is-added {
	animation: ffs-card-in .45s cubic-bezier(.2, .7, .3, 1) both;
}

@keyframes ffs-card-in {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.ffs-more-track i { transition: none; }
	.ffs-more.is-busy .ffs-more-track { animation-duration: 2.4s; }
	.ffs-grid .pdp-rcard.is-added { animation: none; }
}
