/*
 * Bookybay Jerseys — theme styles.
 * Tokens come from theme.json (see DESIGN.md). Section order:
 * 1 base · 2 header · 3 buttons · 4 sections · 5 hero · 6 teams · 7 custom
 * 8 product cards · 9 services · 10 footer · 11 shop · 12 product page
 * 13 sticky bar · 14 pages · 15 motion
 */

:root {
	--bbj-ink: var(--wp--preset--color--ink, #0e2240);
	--bbj-paper: var(--wp--preset--color--paper, #f5f6f8);
	--bbj-white: var(--wp--preset--color--white, #fff);
	--bbj-tile: var(--wp--preset--color--tile, #e8ecf1);
	--bbj-line: var(--wp--preset--color--line, #d5dbe3);
	--bbj-muted: var(--wp--preset--color--muted, #55606c);
	--bbj-volt: var(--wp--preset--color--volt, #8fd3f4);
	--bbj-sale: var(--wp--preset--color--sale, #b8291f);
	--bbj-success: var(--wp--preset--color--success, #1d6b47);
	--bbj-field: var(--wp--preset--color--field, #8a8c88);
	--bbj-on-dark-muted: #aebccb;
	--bbj-photo: #e5e5e5; /* background of the product photos, so image tiles blend in */
	--bbj-display: var(--wp--preset--font-family--display, "Big Shoulders Display", "Arial Narrow", sans-serif);
	--bbj-body: var(--wp--preset--font-family--body, Barlow, "Helvetica Neue", Arial, sans-serif);
	--bbj-section: clamp(64px, 8vw, 96px);
	--bbj-shadow: 0 12px 32px rgb(14 34 64 / 0.14);
	--bbj-icon-zoom: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.75%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2711%27 cy=%2711%27 r=%278%27/%3E%3Cpath d=%27m21 21-4.3-4.3%27/%3E%3Cpath d=%27M11 8v6%27/%3E%3Cpath d=%27M8 11h6%27/%3E%3C/svg%3E");
	--bbj-icon-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E");
	--bbj-icon-return: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11'/%3E%3C/svg%3E");
	--bbj-icon-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
	--bbj-icon-ruler: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z'/%3E%3Cpath d='m14.5 12.5 2-2'/%3E%3Cpath d='m11.5 9.5 2-2'/%3E%3Cpath d='m8.5 6.5 2-2'/%3E%3Cpath d='m17.5 15.5 2-2'/%3E%3C/svg%3E");
	--bbj-icon-box: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z'/%3E%3Cpath d='M12 22V12'/%3E%3Cpath d='m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7'/%3E%3C/svg%3E");
	--bbj-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
	--bbj-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* 1 · Base ---------------------------------------------------------------- */

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

::selection {
	background: var(--bbj-volt);
	color: var(--bbj-ink);
}

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	text-decoration-thickness: 2px;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--bbj-ink);
	outline-offset: 3px;
}

.has-ink-background-color :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline-color: var(--bbj-volt);
}

/* Full-bleed sections sit flush against each other. */
.wp-site-blocks > * {
	margin-block-start: 0;
}

.bbj-home > *,
.bbj-site-header > *,
.bbj-site-footer > * {
	margin-block: 0;
}

.bbj-ico {
	position: relative;
	padding-left: 34px;
}

.bbj-ico::before {
	content: "";
	position: absolute;
	top: 0.1em;
	left: 0;
	width: 22px;
	height: 22px;
	background: currentColor;
	-webkit-mask: var(--bbj-icon) center / contain no-repeat;
	mask: var(--bbj-icon) center / contain no-repeat;
}

.bbj-ico--truck { --bbj-icon: var(--bbj-icon-truck); }
.bbj-ico--return { --bbj-icon: var(--bbj-icon-return); }
.bbj-ico--lock { --bbj-icon: var(--bbj-icon-lock); }
.bbj-ico--ruler { --bbj-icon: var(--bbj-icon-ruler); }
.bbj-ico--box { --bbj-icon: var(--bbj-icon-box); }

/* 2 · Header -------------------------------------------------------------- */

.bbj-announce {
	padding-block: 9px;
	font-size: 14px;
	letter-spacing: 0.02em;
	border-bottom: 1px solid rgb(255 255 255 / 0.12);
}

.bbj-announce p {
	margin: 0;
}

.bbj-announce strong {
	font-weight: 600;
}

/* The offer code: plain <code> in the markup, turned into a copy button by site.js. */
.bbj-offer code,
.bbj-code {
	display: inline-block;
	margin-left: 4px;
	padding: 2px 8px;
	border: 0;
	border-radius: 2px;
	background: var(--bbj-volt);
	color: var(--bbj-ink);
	font-family: var(--bbj-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.5;
}

/* Countdown after the code: "Ends in 12 days" (text set by site.js). */
.bbj-offer__ends {
	display: inline-block;
	margin-left: 10px;
	padding-left: 10px;
	border-left: 1px solid rgb(255 255 255 / 0.28);
	color: var(--bbj-volt);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

@media (max-width: 599px) {
	/* Phones: the countdown sits next to the code, on the same line. */
	.bbj-offer__ends {
		margin-left: 8px;
		padding-left: 8px;
	}
}

.bbj-code {
	cursor: pointer;
}

.bbj-code:hover {
	background: var(--bbj-paper);
}

.bbj-code__status {
	display: inline-block;
	min-width: 0;
	margin-left: 8px;
	color: var(--bbj-volt);
	font-size: 13px;
	font-weight: 600;
}

.bbj-code__status:empty {
	margin-left: 0;
}

.bbj-header {
	padding-block: 14px;
}

.bbj-header__row {
	gap: 24px;
	min-height: 48px;
}

/* Logo (header and footer) */
.bbj-logo {
	margin: 0 !important;
	flex: none;
}

.bbj-logo a {
	display: block;
}

.bbj-logo img {
	display: block;
	width: auto;
	height: 52px;
}

.bbj-footer .bbj-logo img {
	height: 72px;
}

.bbj-wordmark,
.bbj-wordmark a {
	color: inherit;
	text-decoration: none;
	margin: 0;
	white-space: nowrap;
}

.bbj-wordmark a:hover {
	text-decoration: none;
	color: var(--bbj-volt);
}

.bbj-nav .wp-block-navigation-item__content {
	color: inherit;
	text-decoration: none;
	padding-block: 6px;
}

.bbj-nav .wp-block-navigation-item__content:hover {
	color: var(--bbj-volt);
}

.bbj-nav .wp-block-navigation__container {
	gap: 28px;
}

.bbj-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px;
}

.bbj-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 20px;
	font-size: 22px;
}

/* Teams drop-down: every team, A–Z, in columns (built from the team list in patterns/header.php). */
.bbj-nav .bbj-nav__teams > .wp-block-navigation__submenu-container {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 20px;
	padding: 14px 18px 16px;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
	border: 1px solid rgb(255 255 255 / 0.14);
	box-shadow: 0 18px 40px rgb(0 0 0 / 0.28);
	left: 50%;
	transform: translateX(-50%);
	z-index: 30;
}

.bbj-nav .bbj-nav__teams:hover > .wp-block-navigation__submenu-container,
.bbj-nav .bbj-nav__teams:focus-within > .wp-block-navigation__submenu-container,
.bbj-nav .bbj-nav__teams > .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
	width: min(640px, 92vw);
	min-width: 0;
}

.bbj-nav .bbj-nav__teams .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 7px 2px;
	font-size: 15px;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
}

.bbj-nav .bbj-nav__teams .bbj-nav__all {
	grid-column: 1 / -1;
	margin-bottom: 6px;
	border-bottom: 1px solid rgb(255 255 255 / 0.16);
}

.bbj-nav .bbj-nav__teams .bbj-nav__all .wp-block-navigation-item__content {
	font-weight: 700;
	color: var(--bbj-volt);
}

@media (max-width: 899px) {
	.bbj-nav .bbj-nav__teams > .wp-block-navigation__submenu-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Phone menu (overlay): the teams list sits open under "Teams", in two columns. */
.bbj-nav .wp-block-navigation__responsive-container.is-menu-open .bbj-nav__teams > .wp-block-navigation__submenu-container {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: 100%;
	padding: 8px 0 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	left: auto;
	transform: none;
}

.bbj-nav .wp-block-navigation__responsive-container.is-menu-open .bbj-nav__teams .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 16px;
	padding: 6px 0;
	white-space: normal;
}

.bbj-header__tools {
	gap: 4px;
}

.bbj-header .wp-block-search__button,
.bbj-header .wc-block-mini-cart__button,
.bbj-header .wc-block-customer-account a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px;
	background: transparent;
	border: 0;
	color: inherit;
	box-shadow: none;
}

.bbj-header .wp-block-search__button:hover,
.bbj-header .wc-block-mini-cart__button:hover,
.bbj-header .wc-block-customer-account a:hover {
	color: var(--bbj-volt);
	background: transparent;
}

.bbj-header svg {
	fill: currentColor;
}

.bbj-header .wp-block-search__button svg {
	width: 26px;
	height: 26px;
}

.bbj-header .wp-block-search__inside-wrapper {
	border: 0;
	padding: 0;
}

.bbj-header .wp-block-search__input {
	height: 40px;
	border: 1.5px solid var(--bbj-field);
	border-radius: 2px;
	background: var(--bbj-white);
	color: var(--bbj-ink);
	padding: 0 12px;
	font-size: 16px;
}

.bbj-header .wc-block-mini-cart__badge {
	background: var(--bbj-volt) !important;
	color: var(--bbj-ink) !important;
	border-color: var(--bbj-ink) !important;
	font-weight: 600;
}

.bbj-header .wc-block-mini-cart__amount {
	display: none;
}

@media (max-width: 599px) {
	.bbj-header__row {
		gap: 8px;
	}

	.bbj-nav {
		order: 3;
	}

	.bbj-header__tools {
		margin-left: auto;
	}

	.bbj-wordmark {
		font-size: 24px !important;
	}

	.bbj-header .bbj-logo img {
		height: 40px;
	}
}

/* 3 · Buttons ------------------------------------------------------------- */

.wp-element-button,
.wp-block-button__link {
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--bbj-ink);
	border: 2px solid currentColor;
	padding: 12px 26px;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--bbj-ink);
	color: var(--bbj-white);
	border-color: var(--bbj-ink);
}

.bbj-btn-volt > .wp-block-button__link {
	background: var(--bbj-volt);
	color: var(--bbj-ink);
}

.bbj-btn-volt > .wp-block-button__link:hover,
.bbj-btn-volt > .wp-block-button__link:focus {
	background: var(--bbj-paper);
	color: var(--bbj-ink);
}

.bbj-btn-ghost.is-style-outline > .wp-block-button__link {
	color: var(--bbj-paper);
	border-color: var(--bbj-paper);
}

.bbj-btn-ghost.is-style-outline > .wp-block-button__link:hover {
	background: var(--bbj-paper);
	color: var(--bbj-ink);
	border-color: var(--bbj-paper);
}

.wp-element-button:disabled,
.wp-element-button.disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* 4 · Sections ------------------------------------------------------------ */

.bbj-section {
	padding-block: var(--bbj-section);
}

.bbj-section + .bbj-section {
	padding-top: 0;
}

.bbj-section__head {
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px 24px;
	margin-bottom: 32px;
}

.bbj-section-title {
	font-size: var(--wp--preset--font-size--xl);
	margin: 0;
}

.bbj-section__aside,
.bbj-section__link {
	margin: 0;
	color: var(--bbj-muted);
}

.bbj-section__link a {
	color: var(--bbj-ink);
	font-weight: 600;
}

.bbj-eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bbj-volt);
}

/* On light backgrounds volt is too pale to read; use ink with a volt marker. */
.bbj-eyebrow--dark {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--bbj-ink);
}

.bbj-eyebrow--dark::before {
	content: "";
	width: 10px;
	height: 10px;
	background: var(--bbj-volt);
	box-shadow: 0 0 0 1px var(--bbj-ink);
}

.bbj-section__titles > * {
	margin-block: 0;
}

.bbj-section__titles .bbj-eyebrow {
	margin-bottom: 10px;
}

/* 5 · Hero ---------------------------------------------------------------- */
/* Light, like the product pages: copy left, one cut-out jersey right. */

.bbj-hero {
	padding-block: clamp(32px, 5vw, 72px) clamp(16px, 2vw, 32px);
	overflow-x: clip; /* let the jersey's shadow fall into the next section (no hard edge) */
}

/* Keep "Shop by team" close to the banner. */
.bbj-hero + .bbj-teams {
	padding-top: clamp(24px, 3vw, 48px);
}

.bbj-hero__cols {
	gap: clamp(24px, 4vw, 64px);
	margin: 0;
}

.bbj-hero__title {
	font-size: clamp(56px, 8vw, 112px);
	line-height: 0.88;
	margin: 18px 0 22px;
}

.bbj-hero__lead {
	max-width: 40ch;
	margin: 0 0 32px;
	font-size: clamp(18px, 1.5vw, 20px);
	line-height: 1.55;
	color: var(--bbj-muted);
}

.bbj-hero__actions {
	gap: 12px;
}

/* Check-mark lists (hero promises, personalize section) */
.bbj-checks {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bbj-checks li {
	position: relative;
	padding-left: 28px;
}

.bbj-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 18px;
	height: 18px;
	background: var(--bbj-ink);
	-webkit-mask: var(--bbj-icon-check) center / contain no-repeat;
	mask: var(--bbj-icon-check) center / contain no-repeat;
}

.has-ink-background-color .bbj-checks li::before {
	background: var(--bbj-volt);
}

.bbj-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin-top: 36px !important;
	padding-top: 24px;
	border-top: 1px solid var(--bbj-line);
	color: var(--bbj-muted);
	font-size: 15px;
}

.bbj-hero__media {
	text-align: center;
}

.bbj-hero__jersey {
	margin: 0 auto !important;
	max-width: 620px;
}

.bbj-hero__jersey a {
	display: block;
}

.bbj-hero__jersey img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	filter: drop-shadow(0 26px 30px rgb(14 34 64 / 0.16));
	transition: transform 0.4s ease;
}

.bbj-hero__jersey a:hover img {
	transform: translateY(-6px);
}

@media (max-width: 781px) {
	.bbj-hero__media {
		order: 2;
	}

	.bbj-hero__trust {
		margin-top: 28px !important;
	}

	.bbj-hero__jersey {
		max-width: 420px;
	}
}

/* 6 · Teams --------------------------------------------------------------- */

.bbj-team-grid {
	margin-top: 0;
}

.bbj-team-tiles {
	display: grid;
	/* Wide screens: even rows, column count set per team count in bbj_team_tiles_html(). */
	grid-template-columns: repeat(var(--bbj-team-cols, 6), minmax(0, 1fr));
	gap: clamp(12px, 1.5vw, 20px);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Tablets and phones: one swipeable row, so there is never a half-empty last row.
   The next tile peeks in at the edge to show there is more. */
@media (max-width: 1023px) {
	.bbj-team-tiles {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: calc((100% - 3 * 14px) / 4.4);
		gap: 14px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding-bottom: 2px;
	}

	.bbj-team-tiles::-webkit-scrollbar {
		display: none;
	}

	.bbj-team-tile {
		scroll-snap-align: start;
	}
}

.bbj-team-tile {
	margin: 0;
}

.bbj-team-tile__link {
	position: relative; /* keeps the hidden team name inside the tile (and the swipe row) */
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--bbj-white);
	border: 1px solid var(--bbj-line);
	color: var(--bbj-ink);
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.2s ease;
}

.bbj-team-tile__link:hover {
	border-color: var(--bbj-ink);
	box-shadow: 0 10px 24px rgb(14 34 64 / 0.08);
}

.bbj-team-tile__media {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

/* Team image: the Blank jersey, cut out, shown whole on the white card. It sits on
   the card's left edge, so a sleeve cut off by the original photo meets the border. */
.bbj-team-tile__media--cutout {
	padding: 14px 14px 14px 0;
}

.bbj-team-tile__media--cutout .bbj-team-tile__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: left center;
	transform-origin: left center;
	transition: transform 0.4s ease;
}

/* No team image yet: the newest jersey photo on its grey. */
.bbj-team-tile__media--photo {
	background: var(--bbj-photo);
}

.bbj-team-tile__media--photo .bbj-team-tile__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	transition: transform 0.4s ease;
}

.bbj-team-tile__link:hover .bbj-team-tile__img {
	transform: scale(1.03);
}

@media (max-width: 599px) {
	.bbj-team-tiles {
		grid-auto-columns: calc((100% - 2 * 10px) / 2.4);
		gap: 10px;
	}
}

/* Fallback list (only used if the tiles can't be built). */
.bbj-team-list ul.wc-block-product-categories-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bbj-team-list .wc-block-product-categories-list-item > a {
	display: block;
	padding: 16px 20px;
	background: var(--bbj-white);
	border: 1px solid var(--bbj-line);
	color: var(--bbj-ink);
	font-family: var(--bbj-display);
	font-size: 24px;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
}

/* 7 · Your name and number ------------------------------------------------ */

.bbj-personalize {
	padding-block: var(--bbj-section);
}

.bbj-personalize__cols {
	gap: clamp(32px, 6vw, 96px);
	margin: 0;
}

.bbj-personalize__image {
	margin: 0 auto !important;
	max-width: 600px;
}

.bbj-personalize__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	filter: drop-shadow(0 26px 30px rgb(14 34 64 / 0.14));
}

.bbj-personalize__title {
	margin: 16px 0 20px !important;
	font-size: clamp(40px, 5.2vw, 72px);
	line-height: 0.92;
}

.bbj-personalize__lead {
	max-width: 42ch;
	margin: 0 0 28px;
	color: var(--bbj-muted);
	font-size: clamp(17px, 1.4vw, 19px);
	line-height: 1.55;
}

.bbj-personalize__points {
	display: grid;
	gap: 12px;
	margin: 0 0 36px !important;
	font-size: 17px;
}

/* 8 · Product cards ------------------------------------------------------- */

.bbj-cards.wc-block-product-template,
.bbj-cards {
	gap: clamp(12px, 2vw, 24px) !important;
	margin: 0;
	padding: 0;
}

/* Homepage collection, shop and team pages: a steady 4 / 3 / 2 grid that fills its rows. */
.bbj-collection .bbj-cards.wc-block-product-template,
.bbj-shop .bbj-cards.wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 40px clamp(12px, 2vw, 24px) !important;
}

.bbj-collection .bbj-cards .wc-block-product,
.bbj-shop .bbj-cards .wc-block-product {
	width: auto !important;
}

@media (max-width: 1023px) {
	.bbj-collection .bbj-cards.wc-block-product-template,
	.bbj-shop .bbj-cards.wc-block-product-template {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 899px) {
	.bbj-collection .bbj-cards.wc-block-product-template,
	.bbj-shop .bbj-cards.wc-block-product-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 781px) {
	.bbj-collection .bbj-cards.wc-block-product-template,
	.bbj-shop .bbj-cards.wc-block-product-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 28px 12px !important;
	}

	.bbj-card__title {
		font-size: 15px;
	}
}

.bbj-cards .wc-block-product {
	margin: 0;
	text-align: left;
}

.bbj-cards .wc-block-product > * {
	margin-block: 0;
}

.bbj-cards .wc-block-components-product-image {
	position: relative;
	margin: 0 0 16px !important;
	background: var(--bbj-photo);
	overflow: hidden;
}

.bbj-cards .wc-block-components-product-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.bbj-cards .wc-block-product:hover .wc-block-components-product-image img {
	transform: scale(1.03);
}

.wc-block-components-product-sale-badge {
	border: 0 !important;
	border-radius: 2px !important;
	background: var(--bbj-sale) !important;
	color: var(--bbj-white) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 8px !important;
}

.bbj-card__team {
	margin: 0 0 4px !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bbj-muted);
}

.bbj-card__team a {
	color: inherit;
	text-decoration: none;
}

.bbj-card__title {
	margin: 0 0 6px !important;
	font-family: var(--bbj-body);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	text-align: left;
}

.bbj-card__title a {
	color: var(--bbj-ink);
	text-decoration: none;
}

.bbj-card__title a:hover {
	text-decoration: underline;
}

.bbj-card__price,
.bbj-card__price .wc-block-components-product-price {
	font-family: var(--bbj-display);
	font-size: 24px;
	font-weight: 800;
	text-align: left;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
}

/* Prices (cards, product page, sticky bar) */
.bbj-card__price del,
.bbj-pdp__price del,
.bbj-sticky-atc__price del {
	color: var(--bbj-muted);
	font-size: 0.66em;
	font-weight: 700;
	opacity: 1;
}

.bbj-card__price ins,
.bbj-pdp__price ins,
.bbj-sticky-atc__price ins {
	text-decoration: none;
	color: var(--bbj-sale);
	background: none;
	font-weight: 800;
}

.bbj-save {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 2px;
	background: var(--bbj-sale);
	color: var(--bbj-white);
	font-family: var(--bbj-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	vertical-align: middle;
	align-self: center;
}

/* 9 · Services ------------------------------------------------------------ */

.bbj-services {
	padding-block: clamp(48px, 6vw, 80px) 0;
}

.bbj-services__cols {
	gap: 0;
	margin: 0;
	border-block: 1px solid var(--bbj-line);
}

.bbj-service {
	padding: clamp(28px, 3vw, 40px) clamp(20px, 2vw, 32px);
}

.bbj-service + .bbj-service {
	border-left: 1px solid var(--bbj-line);
}

.bbj-service > * {
	margin: 0;
}

.bbj-service__title.bbj-ico {
	margin-bottom: 8px !important;
	padding-top: 44px;
	padding-left: 0;
	font-size: 24px;
}

.bbj-service__title.bbj-ico::before {
	top: 0;
	width: 30px;
	height: 30px;
}

.bbj-service__text {
	color: var(--bbj-muted);
	font-size: 16px;
	line-height: 1.5;
}

@media (max-width: 781px) {
	.bbj-service {
		padding-inline: 0;
	}

	.bbj-service + .bbj-service {
		border-left: 0;
		border-top: 1px solid var(--bbj-line);
	}
}

/* Homepage questions */
.bbj-home-faq {
	padding-top: var(--bbj-section) !important;
}

.bbj-faq.bbj-faq--home {
	margin-top: 0 !important;
	padding-top: 0;
	border-top: 0;
}

.bbj-faq__intro > * {
	margin-block: 0;
}

.bbj-faq__contact {
	margin-top: 16px !important;
	color: var(--bbj-muted);
}

.bbj-faq__contact a {
	color: var(--bbj-ink);
	font-weight: 600;
}

@media (min-width: 900px) {
	.bbj-faq.bbj-faq--home {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}

	.bbj-faq.bbj-faq--home > .bbj-faq__intro {
		grid-column: 1;
		grid-row: 1 / span 40;
	}

	.bbj-faq.bbj-faq--home > :not(.bbj-faq__intro) {
		grid-column: 2;
	}

	.bbj-faq.bbj-faq--home > .bbj-faq__item:first-of-type {
		border-top: 1px solid var(--bbj-line);
	}
}

@media (max-width: 899px) {
	.bbj-faq__intro {
		margin-bottom: 16px !important;
	}
}

/* 10 · Footer ------------------------------------------------------------- */

.bbj-footer {
	padding-block: clamp(48px, 6vw, 80px) 32px;
}

.bbj-footer__cols {
	gap: clamp(24px, 4vw, 48px);
	margin: 0 0 48px;
}

.bbj-footer__lead {
	max-width: 34ch;
	margin-top: 16px;
	color: var(--bbj-on-dark-muted);
}

.bbj-footer__title {
	margin: 0 0 16px;
	font-family: var(--bbj-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--bbj-volt);
}

.bbj-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.bbj-footer__links a {
	color: var(--bbj-paper);
	text-decoration: none;
}

.bbj-footer__links a:hover {
	text-decoration: underline;
}

.bbj-footer__muted {
	margin: 0;
	color: var(--bbj-on-dark-muted);
	font-size: 15px;
}

.bbj-footer__base {
	gap: 8px 24px;
	padding-top: 24px;
	border-top: 1px solid rgb(255 255 255 / 0.16);
}

/* 11 · Shop --------------------------------------------------------------- */

.bbj-shop {
	padding-bottom: var(--bbj-section);
}

.bbj-shop__head {
	padding-block: 24px 8px;
}

.bbj-shop__head > * {
	margin-block: 0 8px;
}

.bbj-shop__title {
	font-size: var(--wp--preset--font-size--xl);
}

.bbj-shop__bar {
	align-items: center;
	padding-block: 12px;
	margin-bottom: 24px;
	border-block: 1px solid var(--bbj-line);
	color: var(--bbj-muted);
	font-size: 15px;
}

.bbj-shop__bar p,
.bbj-shop__bar form {
	margin: 0;
}

.woocommerce-ordering select,
.bbj-pdp table.variations select {
	height: 44px;
	padding: 0 36px 0 12px;
	border: 1.5px solid var(--bbj-field);
	border-radius: 2px;
	background-color: var(--bbj-white);
	color: var(--bbj-ink);
	font: 500 16px/1 var(--bbj-body);
}

.bbj-pagination {
	margin-top: 48px;
	gap: 8px;
	font-weight: 600;
}

.bbj-pagination a,
.bbj-pagination .current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1.5px solid var(--bbj-line);
	color: var(--bbj-ink);
	text-decoration: none;
}

.bbj-pagination .current {
	background: var(--bbj-ink);
	border-color: var(--bbj-ink);
	color: var(--bbj-white);
}

/* 12 · Product page (landing) --------------------------------------------- */

.bbj-pdp {
	padding-bottom: var(--bbj-section);
}

.bbj-pdp > * {
	margin-block-start: 0;
}

/* Holds store notices only (no breadcrumb line above the photos). */
.bbj-pdp__crumbs {
	padding-block: 24px 16px;
	font-size: 14px;
	color: var(--bbj-muted);
}

.bbj-pdp__crumbs > * {
	margin: 0;
}

.bbj-pdp__crumbs a {
	color: inherit;
}

.bbj-pdp__buy {
	gap: clamp(24px, 4vw, 64px);
	align-items: flex-start !important;
	margin: 0;
}

@media (min-width: 1024px) {
	.bbj-pdp__media {
		position: sticky;
		top: 24px;
	}

	.admin-bar .bbj-pdp__media {
		top: 56px;
	}
}

/* Gallery */
.bbj-pdp .wp-block-woocommerce-product-image-gallery {
	position: relative;
	width: 100%;
	max-width: none;
}

.bbj-pdp div.images,
.bbj-pdp .woocommerce-product-gallery {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	position: relative;
}

.bbj-pdp .woocommerce-product-gallery .flex-viewport,
.bbj-pdp .woocommerce-product-gallery__wrapper {
	background: var(--bbj-white);
}

.bbj-pdp .woocommerce-product-gallery .flex-viewport {
	border: 1px solid var(--bbj-line);
}

.bbj-pdp .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: var(--bbj-white);
}

.bbj-pdp .woocommerce-product-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.bbj-pdp .woocommerce-product-gallery .flex-control-thumbs li {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

.bbj-pdp .woocommerce-product-gallery .flex-control-thumbs img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: var(--bbj-white);
	border: 1.5px solid var(--bbj-line);
	opacity: 1 !important;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.bbj-pdp .woocommerce-product-gallery .flex-control-thumbs img:hover,
.bbj-pdp .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
	border-color: var(--bbj-ink);
	box-shadow: inset 0 0 0 1px var(--bbj-ink);
}

.bbj-pdp.bbj-pdp .woocommerce-product-gallery.woocommerce-product-gallery .woocommerce-product-gallery__trigger.woocommerce-product-gallery__trigger {
	box-sizing: border-box;
	position: absolute;
	top: 12px;
	right: 12px;
	left: auto;
	z-index: 9;
	display: block;
	width: 44px;
	height: 44px;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--bbj-line);
	border-radius: 2px;
	background: var(--bbj-white);
	font-size: 0;
	text-indent: 0;
	color: var(--bbj-ink);
}

.bbj-pdp.bbj-pdp .woocommerce-product-gallery.woocommerce-product-gallery .woocommerce-product-gallery__trigger.woocommerce-product-gallery__trigger > * {
	display: none;
}

.bbj-pdp.bbj-pdp .woocommerce-product-gallery.woocommerce-product-gallery .woocommerce-product-gallery__trigger.woocommerce-product-gallery__trigger::before {
	content: "";
	box-sizing: border-box;
	top: 0;
	left: 0;
	position: absolute;
	inset: 0;
	width: auto;
	height: auto;
	margin: auto;
	border: 0;
	border-radius: 0;
	transform: none;
	background: currentColor;
	-webkit-mask: var(--bbj-icon-zoom) center / 22px no-repeat;
	mask: var(--bbj-icon-zoom) center / 22px no-repeat;
}

.bbj-pdp.bbj-pdp .woocommerce-product-gallery.woocommerce-product-gallery .woocommerce-product-gallery__trigger.woocommerce-product-gallery__trigger::after {
	display: none;
}

.bbj-pdp.bbj-pdp .woocommerce-product-gallery.woocommerce-product-gallery .woocommerce-product-gallery__trigger.woocommerce-product-gallery__trigger:hover {
	border-color: var(--bbj-ink);
}

.woocommerce .bbj-pdp span.onsale,
.bbj-pdp span.onsale {
	position: absolute;
	top: 12px;
	left: 12px;
	right: auto;
	z-index: 10;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 8px 12px;
	border-radius: 2px;
	background: var(--bbj-sale);
	color: var(--bbj-white);
	font-family: var(--bbj-display);
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
}

/* Info column */
.bbj-pdp__info > * {
	margin-block: 0;
}

.bbj-pdp__team {
	margin-bottom: 8px !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bbj-muted);
}

.bbj-pdp__team a {
	color: inherit;
	text-decoration: none;
}

.bbj-pdp__title {
	margin-bottom: 8px !important;
	font-size: clamp(30px, 2.7vw, 40px);
	line-height: 1;
}

.bbj-pdp .wc-block-components-product-rating {
	margin-bottom: 8px;
}

.bbj-pdp__price,
.bbj-pdp__price .wc-block-components-product-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin: 8px 0 12px !important;
	font-family: var(--bbj-display);
	font-size: 40px;
	font-weight: 800;
	line-height: 1;
}

.bbj-pdp__price .wc-block-components-product-price,
.bbj-card__price .wc-block-components-product-price {
	margin: 0 !important;
}

.bbj-pdp__excerpt {
	margin-bottom: 22px !important;
	color: var(--bbj-muted);
	font-size: 16px;
	line-height: 1.5;
}

.bbj-pdp__excerpt p {
	margin: 0;
}

/* Add to cart form */
.bbj-pdp form.cart {
	margin: 0 0 8px;
	padding: 0;
}

.bbj-pdp table.variations,
.bbj-pdp table.variations tbody,
.bbj-pdp table.variations tr,
.bbj-pdp table.variations th,
.bbj-pdp table.variations td {
	display: block;
	box-sizing: border-box;
	width: auto;
	max-width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	text-align: left;
	line-height: 1.3;
}

/* WooCommerce's own CSS adds 24px padding and 2em line height to every label and option row;
   these stronger rules remove that so the groups sit close together. */
.woocommerce .bbj-pdp table.variations tr th,
.woocommerce .bbj-pdp table.variations tr td,
.woocommerce div.product.bbj-pdp form.cart .variations th,
.woocommerce div.product.bbj-pdp form.cart .variations td,
.bbj-pdp table.variations tr th,
.bbj-pdp table.variations tr td {
	padding: 0 !important;
	line-height: 1.3 !important;
}

.bbj-pdp table.variations {
	margin: 0 0 4px !important;
}

.bbj-pdp table.variations tr {
	margin-bottom: 18px;
}

.bbj-pdp table.variations th.label {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 10px;
}

.bbj-pdp table.variations label {
	margin: 0 !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.bbj-pdp .bbj-chosen {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--bbj-ink);
}

.bbj-pdp .bbj-chosen:not(:empty)::before {
	content: "· ";
	color: var(--bbj-muted);
}

.bbj-sizelink {
	margin-left: auto;
	font-size: 14px;
	font-weight: 600;
	color: var(--bbj-ink);
	text-underline-offset: 3px;
}

/* "Clear" link: not needed with buttons (tap another option to change). */
.bbj-pdp table.variations .reset_variations {
	display: none !important;
}

.bbj-pdp table.variations select {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin: 0;
}

.bbj-select-hidden {
	display: none !important;
}

.bbj-swatches {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(var(--bbj-chip, 64px), 1fr));
	gap: 8px;
}

.bbj-swatches[data-attr*="player"] {
	--bbj-chip: 150px;
}

.bbj-swatches[data-attr*="gender"] {
	--bbj-chip: 96px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bbj-swatches[data-attr*="size"] {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 420px) {
	.bbj-swatches[data-attr*="player"] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.bbj-swatch {
	min-width: 0;
	min-height: 48px;
	padding: 6px 10px;
	border: 1.5px solid var(--bbj-field);
	border-radius: 2px;
	background: var(--bbj-white);
	color: var(--bbj-ink);
	font: 600 15px/1.2 var(--bbj-body);
	cursor: pointer;
	transition: border-color 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}

.bbj-swatch:hover {
	border-color: var(--bbj-ink);
}

.bbj-swatch[aria-checked="true"] {
	background: var(--bbj-ink);
	border-color: var(--bbj-ink);
	color: var(--bbj-white);
}

.bbj-swatch[aria-disabled="true"] {
	color: var(--bbj-muted);
	background: var(--bbj-paper);
	border-style: dashed;
	text-decoration: line-through;
	cursor: not-allowed;
}

/* Custom name & number */
.bbj-custom {
	margin: 0 0 20px;
	padding: 14px 16px 16px;
	border: 1.5px solid var(--bbj-ink);
	border-radius: 2px;
	background: var(--bbj-white);
}

.bbj-custom[hidden] {
	display: none;
}

.bbj-custom__legend {
	margin-left: -6px;
	padding: 0 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.bbj-custom__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 96px;
	gap: 12px;
}

.bbj-custom__field {
	margin: 0;
}

.bbj-custom__field label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
}

.bbj-custom input {
	width: 100%;
	height: 52px;
	padding: 0 12px;
	border: 1.5px solid var(--bbj-field);
	border-radius: 2px;
	background: var(--bbj-white);
	color: var(--bbj-ink);
	font: 800 24px/1 var(--bbj-display);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bbj-custom input::placeholder {
	color: #9a9c98;
}

.bbj-custom input:focus {
	border-color: var(--bbj-ink);
}

.bbj-custom__hint {
	margin: 10px 0 0;
	font-size: 14px;
	color: var(--bbj-muted);
}

.bbj-custom__error {
	margin: 10px 0 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--bbj-sale);
}

.bbj-pdp .woocommerce-variation-availability p,
.bbj-pdp form.cart p.stock {
	margin: 0 0 12px;
	font-weight: 600;
}

.bbj-pdp .stock.in-stock {
	color: var(--bbj-success);
}

.bbj-pdp .stock.out-of-stock,
.bbj-pdp .stock.available-on-backorder {
	color: var(--bbj-sale);
}

.bbj-pdp .woocommerce-variation-price {
	margin-bottom: 12px;
	font-family: var(--bbj-display);
	font-size: 28px;
	font-weight: 800;
}

.bbj-pdp .woocommerce-variation-add-to-cart,
.bbj-pdp form.cart:not(.variations_form) {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
}

.bbj-pdp form.cart div.quantity {
	float: none;
	margin: 0;
}

.bbj-pdp form.cart .quantity .qty {
	width: 76px;
	height: 58px;
	border: 1.5px solid var(--bbj-field);
	border-radius: 2px;
	background: var(--bbj-white);
	color: var(--bbj-ink);
	font: 600 18px/1 var(--bbj-body);
	text-align: center;
}

.bbj-pdp form.cart button.single_add_to_cart_button.button,
.bbj-pdp form.cart button.single_add_to_cart_button.button.alt {
	flex: 1 1 220px;
	float: none;
	min-height: 58px;
	margin: 0;
	padding: 0 24px;
	border: 0;
	border-radius: 2px;
	background: var(--bbj-ink);
	color: var(--bbj-white);
	font: 600 17px/1 var(--bbj-body);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bbj-pdp form.cart button.single_add_to_cart_button.button.alt:hover,
.bbj-pdp form.cart button.single_add_to_cart_button.button.alt:focus-visible {
	background: var(--bbj-volt);
	color: var(--bbj-ink);
}

.bbj-pdp form.cart button.single_add_to_cart_button.button.alt.disabled,
.bbj-pdp form.cart button.single_add_to_cart_button.button.alt.disabled:hover {
	background: var(--bbj-ink);
	color: var(--bbj-white);
	opacity: 0.6;
}

/* Deal box under the price */
.bbj-deal {
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid #b9dff2;
	border-left: 4px solid var(--bbj-volt);
	border-radius: 2px;
	background: #eef8fd;
}

.bbj-deal p {
	margin: 0;
}

.bbj-deal__line {
	font-size: 16px;
	line-height: 1.4;
}

.bbj-deal__tag {
	display: inline-block;
	margin-right: 4px;
	padding: 2px 8px;
	border-radius: 2px;
	background: var(--bbj-ink);
	color: var(--bbj-white);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	vertical-align: 2px;
}

.bbj-deal__price {
	font-family: var(--bbj-display);
	font-size: 24px;
	font-weight: 800;
}

.bbj-deal__code {
	margin-top: 6px !important;
	font-size: 14px;
	color: var(--bbj-muted);
}

.bbj-deal code,
.bbj-deal .bbj-code {
	margin-left: 2px;
	padding: 3px 9px;
	border: 1px dashed var(--bbj-ink);
	background: var(--bbj-white);
	color: var(--bbj-ink);
	font: 700 13px/1.4 var(--bbj-body);
	letter-spacing: 0.08em;
}

.bbj-deal .bbj-code:hover {
	background: var(--bbj-volt);
}

.bbj-deal .bbj-code__status {
	color: var(--bbj-success);
}

/* Order tracking (Track your order page, My account) */
.bbj-track {
	max-width: 560px;
	margin: 8px 0 32px;
}

.bbj-track label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.bbj-track__row {
	display: flex;
	gap: 8px;
}

.bbj-track__row input {
	flex: 1;
	min-width: 0;
	height: 52px;
	padding: 0 14px;
	border: 1.5px solid var(--bbj-field);
	border-radius: 2px;
	background: var(--bbj-white);
	font-size: 17px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bbj-track__row .wp-element-button {
	min-height: 52px;
}

.bbj-track-status {
	margin: 0 0 24px;
	padding: 16px 18px;
	border: 1px solid var(--bbj-line);
	background: var(--bbj-white);
}

.bbj-track-status p {
	margin: 0 0 10px;
}

.bbj-track-status p:last-child {
	margin-bottom: 0;
}

/* Promise lines under the button */
.bbj-assure {
	margin-top: 16px !important;
	padding-top: 16px;
	border-top: 1px solid var(--bbj-line);
}

.bbj-assure > * {
	margin-block: 0;
}

.bbj-assure__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 18px;
	font-size: 15px !important;
	margin: 0 0 14px !important;
	padding: 0;
	list-style: none;
	font-size: 16px;
}

.bbj-assure__size {
	font-size: 15px;
	font-weight: 600;
}

.bbj-assure__size a {
	color: var(--bbj-ink);
}

/* Details (product description) */
.bbj-pdp__story {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px 48px;
	margin-top: var(--bbj-section) !important;
	padding-top: 32px;
	border-top: 2px solid var(--bbj-ink);
}

.bbj-pdp__story > * {
	margin: 0;
}

@media (min-width: 900px) {
	.bbj-pdp__story,
	.bbj-faq {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	}
}

.bbj-pdp__description > * {
	max-width: 68ch;
	margin-block: 0 16px;
}

.bbj-pdp__description h3 {
	margin-top: 8px;
	font-size: 28px;
}

.bbj-pdp__description ul {
	display: grid;
	gap: 12px;
	padding: 0;
	list-style: none;
}

.bbj-pdp__description li {
	position: relative;
	padding-left: 32px;
}

.bbj-pdp__description li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	background: var(--bbj-ink);
	-webkit-mask: var(--bbj-icon-check) center / contain no-repeat;
	mask: var(--bbj-icon-check) center / contain no-repeat;
}

/* Size guide + shipping */
.bbj-help {
	margin-top: var(--bbj-section) !important;
	padding: clamp(24px, 4vw, 48px);
	background: var(--bbj-white);
	border: 1px solid var(--bbj-line);
	scroll-margin-top: 24px;
}

.bbj-help__cols {
	gap: clamp(32px, 5vw, 64px);
	margin: 0;
}

.bbj-help .bbj-section-title {
	font-size: var(--wp--preset--font-size--lg);
	margin-bottom: 12px;
}

.bbj-help__note--after {
	margin-top: 14px !important;
}

.bbj-help__note {
	margin: 0 0 16px;
	font-size: 15px;
	color: var(--bbj-muted);
}

.bbj-size-heading {
	margin: 24px 0 10px !important;
	font-size: 22px;
}

.bbj-size-table {
	margin: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.bbj-size-table table {
	min-width: 520px;
	table-layout: auto;
}

.bbj-size-table th,
.bbj-size-table td {
	white-space: normal;
	vertical-align: top;
}

.bbj-size-table td:first-child,
.bbj-size-table th:first-child {
	white-space: nowrap;
	width: 76px;
	padding-right: 20px;
}

.bbj-size-table table {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
	font-size: 16px;
}

.bbj-size-table th,
.bbj-size-table td {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid var(--bbj-line);
	text-align: left;
}

.bbj-size-table thead th {
	background: var(--bbj-ink);
	color: var(--bbj-paper);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: 0;
}

.bbj-size-table tbody td:first-child {
	font-weight: 600;
}

.bbj-help__list {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Reviews / additional information tabs */
.bbj-pdp__reviews {
	margin-top: var(--bbj-section) !important;
}

.bbj-pdp .woocommerce-tabs {
	margin: 0;
	padding: 0;
}

.bbj-pdp .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin: 0 0 32px !important;
	padding: 0 !important;
	border-bottom: 2px solid var(--bbj-ink);
	list-style: none;
	overflow: visible;
}

.bbj-pdp .woocommerce-tabs ul.tabs::before,
.bbj-pdp .woocommerce-tabs ul.tabs li::before,
.bbj-pdp .woocommerce-tabs ul.tabs li::after {
	display: none !important;
}

.bbj-pdp .woocommerce-tabs ul.tabs li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
}

.bbj-pdp .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 14px 0 !important;
	color: var(--bbj-muted) !important;
	font-family: var(--bbj-display);
	font-size: 26px;
	font-weight: 800;
	text-transform: uppercase;
	text-decoration: none;
}

.bbj-pdp .woocommerce-tabs ul.tabs li.active a {
	color: var(--bbj-ink) !important;
	box-shadow: 0 4px 0 0 var(--bbj-ink);
}

.bbj-pdp .woocommerce-Tabs-panel {
	margin: 0 !important;
	padding: 0 !important;
}

.bbj-pdp .woocommerce-Tabs-panel--additional_information > h2:first-child {
	display: none;
}

.bbj-pdp table.woocommerce-product-attributes {
	width: 100%;
	max-width: 720px;
	border-collapse: collapse;
}

.bbj-pdp .woocommerce-product-attributes th,
.bbj-pdp .woocommerce-product-attributes td {
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--bbj-line);
	background: none;
	font-style: normal;
	text-align: left;
}

.bbj-pdp .woocommerce-product-attributes td p {
	margin: 0;
}

.bbj-pdp #reviews input[type="text"],
.bbj-pdp #reviews input[type="email"],
.bbj-pdp #reviews textarea {
	width: 100%;
	padding: 12px;
	border: 1.5px solid var(--bbj-field);
	border-radius: 2px;
	background: var(--bbj-white);
	font: 400 16px/1.5 var(--bbj-body);
}

.bbj-pdp #reviews .stars a {
	color: var(--bbj-ink);
}

/* FAQ */
.bbj-faq {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 48px;
	margin-top: var(--bbj-section) !important;
	padding-top: 32px;
	border-top: 2px solid var(--bbj-ink);
}

.bbj-faq > .bbj-section-title {
	margin-bottom: 16px !important;
}

@media (min-width: 900px) {
	.bbj-faq > .bbj-section-title {
		grid-column: 1;
		grid-row: 1 / span 40;
		margin-bottom: 0 !important;
	}

	.bbj-faq > :not(.bbj-section-title) {
		grid-column: 2;
	}
}

.bbj-faq__item {
	margin: 0 !important;
	border-bottom: 1px solid var(--bbj-line);
}

.bbj-faq__item summary {
	position: relative;
	padding: 20px 48px 20px 0;
	list-style: none;
	cursor: pointer;
	font-size: 19px;
	font-weight: 600;
}

.bbj-faq__item summary::-webkit-details-marker {
	display: none;
}

.bbj-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--bbj-display);
	font-size: 32px;
	font-weight: 800;
	line-height: 1;
}

.bbj-faq__item[open] summary::after {
	content: "–";
}

.bbj-faq__item > p {
	max-width: 68ch;
	margin: 0 0 20px;
}

/* Related ("You might also like"): 4 in one row, 2 x 2 on tablets and phones. */
.bbj-related {
	margin-top: var(--bbj-section) !important;
}

.bbj-related .bbj-cards.wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 40px clamp(12px, 2vw, 24px) !important;
}

.bbj-related .bbj-cards .wc-block-product {
	width: auto !important;
}

@media (max-width: 899px) {
	.bbj-related .bbj-cards.wc-block-product-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 28px 12px !important;
	}
}

.bbj-related > .bbj-section-title {
	margin-bottom: 32px;
}

/* 13 · Sticky add-to-cart bar (phones) ------------------------------------ */

.bbj-sticky-atc {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
	background: var(--bbj-white);
	border-top: 1px solid var(--bbj-line);
	box-shadow: var(--bbj-shadow);
	transform: translateY(110%);
	visibility: hidden;
	transition: transform 0.2s ease, visibility 0s linear 0.2s;
}

.bbj-sticky-atc.is-visible {
	transform: none;
	visibility: visible;
	transition: transform 0.2s ease;
}

.bbj-sticky-atc[hidden] {
	display: none;
}

.bbj-sticky-atc__info {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.bbj-sticky-atc__title {
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.bbj-sticky-atc__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-family: var(--bbj-display);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.1;
}

.bbj-sticky-atc__price .bbj-save,
.bbj-sticky-atc__price .screen-reader-text {
	display: none;
}

.bbj-sticky-atc__button.wp-element-button {
	flex: none;
	padding: 14px 18px;
}

@media (min-width: 782px) {
	.bbj-sticky-atc {
		display: none !important;
	}
}

@media (max-width: 781px) {
	.single-product .bbj-site-footer .bbj-footer {
		padding-bottom: 96px;
	}
}

/* 14 · Pages -------------------------------------------------------------- */

.bbj-page {
	padding-block: clamp(32px, 5vw, 64px) var(--bbj-section);
}

.bbj-page__title {
	font-size: var(--wp--preset--font-size--xl);
}

.bbj-page__meta {
	color: var(--bbj-muted);
	font-size: 15px;
}

.bbj-404 .bbj-page__title {
	font-size: var(--wp--preset--font-size--xxl);
}

/* 15 · Motion ------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Delivery estimate takes the full row in the promise grid. */
.bbj-assure__eta {
	grid-column: 1 / -1;
}

/* Size label row: label · chosen size … Size guide (right). */
.bbj-pdp table.variations th.label .bbj-sizelink {
	order: 2;
}

.bbj-custom input {
	box-sizing: border-box;
	min-width: 0;
}

/* Track your order page */
.bbj-track {
	max-width: var(--wp--style--global--content-size, 720px) !important;
}

.bbj-track__row {
	max-width: 560px;
}

.bbj-track + * {
	margin-top: 48px !important;
}

.woocommerce-form-track-order > p:first-child {
	display: none;
}

.woocommerce-form-track-order .form-row label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.woocommerce-form-track-order input.input-text {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 0 14px;
	border: 1.5px solid var(--bbj-field);
	border-radius: 2px;
	background: var(--bbj-white);
	font-size: 16px;
}

.woocommerce-form-track-order .button {
	min-height: 52px;
	padding: 0 28px;
}


/* Reviews from our eBay store */
.bbj-reviews .bbj-section__head {
	align-items: flex-end;
}

.bbj-reviews__score {
	margin: 0 !important;
	color: var(--bbj-muted);
	font-size: 15px;
	line-height: 1.6;
	text-align: right;
}

.bbj-reviews__score strong {
	color: var(--bbj-ink);
	font-family: var(--bbj-display);
	font-size: 22px;
	font-weight: 800;
}

.bbj-reviews__score a {
	color: var(--bbj-ink);
	font-weight: 600;
}

.bbj-reviews__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(12px, 1.5vw, 20px);
}

.bbj-reviews__list > * {
	margin: 0 !important;
}

.bbj-review {
	display: flex;
	flex-direction: column;
	padding: 22px 22px 20px;
	border: 1px solid var(--bbj-line);
	background: var(--bbj-white);
}

.bbj-review > * {
	margin: 0 !important;
}

.bbj-review__badge {
	position: relative;
	padding-left: 24px;
	color: var(--bbj-success);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bbj-review__badge::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.05em;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--bbj-icon-check) center / contain no-repeat;
	mask: var(--bbj-icon-check) center / contain no-repeat;
}

.bbj-review__text {
	flex: 1;
	margin: 14px 0 18px !important;
	font-size: 17px;
	line-height: 1.55;
}

.bbj-review__meta {
	padding-top: 14px;
	border-top: 1px solid var(--bbj-line);
	color: var(--bbj-muted);
	font-size: 14px;
}

.bbj-review__meta strong {
	color: var(--bbj-ink);
}

.bbj-pdp .bbj-reviews {
	padding-inline: 0;
}

@media (max-width: 899px) {
	.bbj-reviews__score {
		text-align: left;
	}

	/* Swipe through the reviews on phones and tablets. */
	.bbj-reviews__list {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(270px, 82%);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 8px;
		scrollbar-width: thin;
	}

	.bbj-review {
		scroll-snap-align: start;
	}
}
