/*
 * Save The Banger design
 * Layout: dark ink header and hero with a UK number-plate wordmark, light grey page,
 * white listing cards, plate yellow for actions. Every rule is scoped to body.stb or .stb-*.
 */

/* Fonts (bundled, SIL Open Font License) */
@font-face {
	font-family: 'STB Archivo';
	src: url('../fonts/archivo-latin-wght-normal.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'STB Barlow Condensed';
	src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'STB Barlow Condensed';
	src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Tokens */
body.stb {
	--stb-ink: #111418;
	--stb-ink-2: #1C2026;
	--stb-text: #1A1D21;
	--stb-muted: #5B6470;
	--stb-muted-2: #4A525C;
	--stb-line: #E3E6EA;
	--stb-line-2: #EEF0F3;
	--stb-field: #CDD2D9;
	--stb-bg: #F4F5F7;
	--stb-white: #FFFFFF;
	--stb-plate: #FFCC00;
	--stb-plate-soft: #FFF3C4;
	--stb-uk: #1D4ED8;
	--stb-buyer-bg: #EAF1FF;
	--stb-buyer-line: #BFD3FF;
	--stb-buyer-ink: #133B8A;
	--stb-seller-bg: #FFF6D1;
	--stb-seller-line: #EBCB57;
	--stb-seller-ink: #5C4200;
	--stb-on-ink: #E7EAEE;
	--stb-on-ink-muted: #C9CED6;
	--stb-good: #136C3A;
	--stb-good-bg: #E6F4EA;
	--stb-warn: #6B4E00;
	--stb-warn-bg: #FFF3C4;
	--stb-bad: #B42318;
	--stb-bad-bg: #FDECEA;
	--stb-focus: #1D4ED8;
	--stb-font: 'STB Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--stb-font-num: 'STB Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
	--stb-radius: 14px;
	--stb-gutter: 24px;
}

/* Base */
body.stb {
	font-family: var(--stb-font);
	color: var(--stb-text);
	background-color: var(--stb-bg);
}
body.stb button,
body.stb input,
body.stb select,
body.stb textarea {
	font-family: var(--stb-font);
}
body.stb h1,
body.stb h2,
body.stb h3,
body.stb h4,
body.stb h5,
body.stb h6,
body.stb .entry-title,
body.stb .product_title {
	font-family: var(--stb-font);
	letter-spacing: -0.015em;
}
body.stb :focus-visible {
	outline: 2px solid var(--stb-focus);
	outline-offset: 2px;
}

.stb-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding-left: max(var(--stb-gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--stb-gutter), env(safe-area-inset-right, 0px));
}
.stb-stack {
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.stb-stack--tight {
	gap: 12px;
}
.stb-icon {
	flex: none;
	display: inline-block;
	vertical-align: middle;
}

/* Reset theme typography inside our sections */
body.stb .stb-section,
body.stb .stb-header,
body.stb .stb-footer {
	box-sizing: border-box;
	font-family: var(--stb-font);
}
body.stb .stb-section *,
body.stb .stb-header *,
body.stb .stb-footer * {
	box-sizing: border-box;
}
body.stb .stb-section p,
body.stb .stb-section h1,
body.stb .stb-section h2,
body.stb .stb-section h3,
body.stb .stb-section ul,
body.stb .stb-section ol,
body.stb .stb-section li,
body.stb .stb-header p,
body.stb .stb-header ul,
body.stb .stb-header li,
body.stb .stb-footer p {
	margin: 0;
	padding: 0;
}
/* The Elementor kit capitalises every word in headings; keep sentence case. */
body.stb .stb-section h1,
body.stb .stb-section h2,
body.stb .stb-section h3,
body.stb .stb-section h4,
body.stb .stb-header *,
body.stb .stb-footer * {
	text-transform: none;
}
body.stb .stb-section ul,
body.stb .stb-section ol,
body.stb .stb-header ul {
	list-style: none;
}
body.stb .stb-section a,
body.stb .stb-header a,
body.stb .stb-footer a {
	text-decoration: none;
	box-shadow: none;
}

/* Buttons */
body.stb .stb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 10px;
	font-family: var(--stb-font);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.15s ease;
}
body.stb .stb-btn:hover {
	filter: brightness(0.94);
	text-decoration: none;
}
body.stb .stb-btn--plate,
body.stb .stb-btn--plate:hover,
body.stb .stb-btn--plate:focus {
	background: var(--stb-plate);
	color: var(--stb-ink);
}
body.stb .stb-btn--ink,
body.stb .stb-btn--ink:hover,
body.stb .stb-btn--ink:focus {
	background: var(--stb-ink);
	color: var(--stb-white);
}
body.stb .stb-btn--lg {
	min-height: 52px;
	padding: 0 24px;
	font-size: 16px;
}

/* Number-plate wordmark */
body.stb .stb-plate {
	display: inline-flex;
	align-items: stretch;
	flex: none;
	border-radius: 7px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.stb-plate__uk {
	display: flex;
	align-items: flex-end;
	padding: 0 7px 7px;
	background: var(--stb-uk);
	color: var(--stb-white);
	font-family: var(--stb-font-num);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
}
.stb-plate__text {
	padding: 9px 14px 8px;
	background: var(--stb-plate);
	color: var(--stb-ink);
	font-family: var(--stb-font-num);
	font-size: 25px;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1;
	white-space: nowrap;
}
.stb-plate__tm {
	position: relative;
	top: -1.25em;
	margin-left: 0.05em;
	font-family: var(--stb-font);
	font-size: 0.4em;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 0;
}

/* Header */
body.stb .stb-header {
	position: relative;
	z-index: 50;
	background: var(--stb-ink);
	color: var(--stb-white);
}
.stb-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	min-height: 72px;
	padding-top: 12px;
	padding-bottom: 12px;
}
.stb-nav {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px 28px;
}
body.stb .stb-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 26px;
	margin: 0;
	padding: 0;
}
body.stb .stb-nav__list > li {
	position: relative;
}
body.stb .stb-nav__list a,
body.stb .stb-nav__account {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--stb-on-ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}
body.stb .stb-nav__list a:hover,
body.stb .stb-nav__list a:focus-visible,
body.stb .stb-nav__account:hover {
	color: var(--stb-white);
	text-decoration: underline;
	text-underline-offset: 4px;
}
body.stb .stb-nav__list .current-menu-item > a {
	color: var(--stb-white);
	text-decoration: underline;
	text-decoration-color: var(--stb-plate);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}
body.stb .stb-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: -10px;
	z-index: 60;
	display: none;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--stb-ink-2);
	border-radius: 10px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
body.stb .stb-nav__list li:hover > .sub-menu,
body.stb .stb-nav__list li:focus-within > .sub-menu {
	display: block;
}
body.stb .stb-nav__list .sub-menu a {
	display: flex;
	width: 100%;
	padding: 0 10px;
}
.stb-nav__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
}
body.stb .stb-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 10px;
	background: transparent;
	color: var(--stb-white);
	cursor: pointer;
}
.stb-menu-toggle__close {
	display: none;
}
.stb-header.is-open .stb-menu-toggle__open {
	display: none;
}
.stb-header.is-open .stb-menu-toggle__close {
	display: inline-flex;
}

/* Hero */
body.stb .stb-hero {
	padding: 40px 0 56px;
	background: var(--stb-ink);
	color: var(--stb-white);
}
.stb-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.stb-hero__copy {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 820px;
}
body.stb .stb-hero__title {
	color: var(--stb-white);
	font-size: clamp(34px, 5.2vw, 56px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.025em;
	text-wrap: balance;
}
body.stb .stb-hero__text {
	max-width: 640px;
	color: var(--stb-on-ink-muted);
	font-size: 18px;
	line-height: 1.55;
}
.stb-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
body.stb .stb-tab {
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	background: transparent;
	color: var(--stb-on-ink);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}
body.stb .stb-tab[aria-pressed="true"] {
	border-color: var(--stb-plate);
	background: var(--stb-plate);
	color: var(--stb-ink);
}

/* Search form */
body.stb .stb-search {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 14px;
	margin: 0;
	padding: 20px;
	border-radius: 16px;
	background: var(--stb-white);
	color: var(--stb-text);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
body.stb .stb-search--compact {
	box-shadow: none;
	border: 1px solid var(--stb-line);
}
.stb-field {
	display: flex;
	flex: 1 1 170px;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.stb-field--grow {
	flex: 2 1 260px;
}
body.stb .stb-field label {
	margin: 0;
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
body.stb .stb-field input,
body.stb .stb-field select {
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--stb-field);
	border-radius: 10px;
	background: var(--stb-white);
	color: var(--stb-text);
	font-size: 16px;
	line-height: normal;
	box-shadow: none;
}
body.stb .stb-field input::placeholder {
	color: #6B7380;
	opacity: 1;
}
body.stb .stb-search__submit {
	flex: 1 1 170px;
	height: 52px;
	font-size: 16px;
}
body.stb .stb-search select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111418' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}
/* Postcode and distance sit side by side, also on phones. */
body.stb .stb-search__near {
	display: grid;
	flex: 2 1 300px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 14px;
	min-width: 0;
}
/* Where distance search works: a line of its own under the form's fields. */
body.stb .stb-search__note {
	flex: 1 1 100%;
	margin: -4px 0 0;
}

/* Chips */
.stb-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.stb-chips__label {
	margin-right: 4px;
	color: var(--stb-on-ink-muted);
	font-size: 14px;
	font-weight: 600;
}
body.stb .stb-chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.26);
	border-radius: 999px;
	color: var(--stb-white);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
body.stb .stb-chip:hover {
	border-color: var(--stb-plate);
	color: var(--stb-white);
}
body.stb .stb-chips--light .stb-chip {
	border-color: var(--stb-field);
	color: var(--stb-text);
	font-size: 15px;
}
body.stb .stb-chips--light .stb-chip:hover {
	border-color: var(--stb-ink);
	color: var(--stb-ink);
}

/* Trust strip */
body.stb .stb-trust {
	padding: 28px 0;
	background: var(--stb-white);
	border-bottom: 1px solid var(--stb-line);
}
.stb-trust__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}
.stb-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.stb-trust__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--stb-plate-soft);
	color: var(--stb-ink);
}
body.stb .stb-trust__title {
	color: var(--stb-text);
	font-size: 16px;
	font-weight: 700;
}
body.stb .stb-trust__text {
	margin-top: 4px;
	color: var(--stb-muted);
	font-size: 14px;
	line-height: 1.5;
}

/* Bands and section headings */
body.stb .stb-band {
	padding: 56px 0;
}
body.stb .stb-band--white {
	background: var(--stb-white);
}
/* Two grey bands in a row read as one: close the double gap between them. */
body.stb .stb-band:not(.stb-band--white) + .stb-band:not(.stb-band--white) {
	padding-top: 8px;
}
.stb-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}
.stb-section__titles {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
body.stb .stb-section__title {
	color: var(--stb-text);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}
body.stb .stb-section__title--page {
	font-size: clamp(30px, 3.6vw, 42px);
}
body.stb .stb-section__text {
	color: var(--stb-muted);
	font-size: 15px;
	line-height: 1.5;
}
/* A link inside a sentence is underlined, so it doesn't rely on colour alone. */
body.stb .stb-section__text a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.stb .stb-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--stb-ink);
	font-size: 15px;
	font-weight: 700;
}
body.stb .stb-more:hover {
	text-decoration: underline;
}

/* Listing cards */
.stb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
}
body.stb .stb-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--stb-line);
	border-radius: var(--stb-radius);
	background: var(--stb-white);
	text-align: left;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
body.stb .stb-card:hover {
	box-shadow: 0 10px 24px rgba(17, 20, 24, 0.1);
	transform: translateY(-2px);
}
body.stb .stb-card__link,
body.stb .stb-card__link:hover,
body.stb .stb-card__link:focus {
	display: flex;
	flex: 1;
	flex-direction: column;
	color: var(--stb-text);
	text-decoration: none;
}
body.stb .stb-card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	max-width: 100%;
	overflow: hidden;
}
body.stb .stb-card__media img.stb-card__img,
body.stb ul.products li.product .stb-card__media img.stb-card__img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}
.stb-car {
	width: 56%;
	max-width: 220px;
	height: auto;
}
.stb-pill {
	position: absolute;
	top: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(17, 20, 24, 0.86);
	color: var(--stb-white);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}
.stb-pill--urgent {
	background: var(--stb-bad);
}
.stb-pill--ended {
	background: var(--stb-muted-2);
}
.stb-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 9px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}
.stb-badge--featured {
	background: var(--stb-plate);
	color: var(--stb-ink);
}
.stb-photos {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 8px;
	border-radius: 6px;
	background: rgba(17, 20, 24, 0.78);
	color: var(--stb-white);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}
.stb-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
}
body.stb .stb-card__price {
	display: block;
	margin: 0;
	color: var(--stb-text);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
}
body.stb .stb-card__price del {
	margin-right: 6px;
	color: var(--stb-muted);
	font-size: 16px;
	font-weight: 600;
}
body.stb .stb-card__price ins {
	text-decoration: none;
}
body.stb .stb-card__title {
	margin: 0;
	padding: 0;
	color: var(--stb-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.005em;
}
body.stb .stb-card--auction .stb-card__title {
	font-size: 17px;
}
body.stb .stb-card__specs {
	margin: 0;
	color: var(--stb-muted);
	font-size: 14px;
	line-height: 1.45;
}
body.stb .stb-card__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: auto 0 0;
	padding-top: 12px;
	border-top: 1px solid var(--stb-line-2);
	color: var(--stb-muted-2);
	font-size: 13px;
}
.stb-card__bid {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
}
.stb-label {
	display: block;
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.stb-card__bidmeta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	color: var(--stb-muted);
	font-size: 14px;
	text-align: right;
}
.stb-reserve {
	padding: 4px 8px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}
.stb-reserve--met {
	background: var(--stb-good-bg);
	color: var(--stb-good);
}
.stb-reserve--not-met {
	background: var(--stb-line-2);
	color: var(--stb-muted-2);
}
.stb-reserve--none {
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
}

/* Empty state */
.stb-empty {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 20px;
	padding: 24px;
	border: 1px dashed var(--stb-field);
	border-radius: var(--stb-radius);
	background: var(--stb-white);
}
.stb-empty__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--stb-plate-soft);
	color: var(--stb-ink);
}
.stb-empty__text {
	display: flex;
	flex: 1 1 280px;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	color: var(--stb-muted);
	font-size: 15px;
	line-height: 1.5;
}
body.stb .stb-empty__title {
	color: var(--stb-text);
	font-size: 17px;
	font-weight: 700;
}

/* Browse by type */
.stb-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}
body.stb .stb-tile {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px;
	border: 1px solid var(--stb-line);
	border-radius: var(--stb-radius);
	background: var(--stb-white);
	color: var(--stb-text);
	text-decoration: none;
	transition: border-color 0.15s ease;
}
body.stb .stb-tile:hover {
	border-color: var(--stb-ink);
	color: var(--stb-text);
}
.stb-tile__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--stb-ink);
	color: var(--stb-plate);
}
.stb-tile__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.stb-tile__label {
	font-size: 16px;
	font-weight: 700;
}
.stb-tile__sub {
	color: var(--stb-muted);
	font-size: 14px;
}
.stb-makes {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 10px;
}
body.stb .stb-makes__title {
	color: var(--stb-text);
	font-size: 22px;
	font-weight: 800;
}

/* Sell band */
body.stb .stb-sell {
	padding: 64px 0;
	background: var(--stb-plate);
	color: var(--stb-ink);
}
.stb-sell__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px;
}
.stb-sell__copy {
	display: flex;
	flex: 1 1 420px;
	flex-direction: column;
	gap: 26px;
	min-width: 0;
}
body.stb .stb-sell__title {
	color: var(--stb-ink);
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.025em;
}
body.stb .stb-sell__text {
	max-width: 520px;
	color: #2B2F36;
	font-size: 18px;
	line-height: 1.5;
}
.stb-steps {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.stb-step {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.stb-step__num {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: var(--stb-ink);
	color: var(--stb-plate);
	font-family: var(--stb-font-num);
	font-size: 20px;
	font-weight: 700;
}
body.stb .stb-step__title {
	color: var(--stb-ink);
	font-size: 17px;
	font-weight: 800;
}
body.stb .stb-step__text {
	margin-top: 3px;
	color: #2B2F36;
	font-size: 15px;
	line-height: 1.5;
}
.stb-plans {
	display: grid;
	flex: 1 1 520px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
	min-width: 0;
}
.stb-plan {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 22px;
	border-radius: var(--stb-radius);
	background: var(--stb-white);
}
.stb-plan--featured {
	box-shadow: inset 0 0 0 2px var(--stb-ink);
}
body.stb .stb-plan__name {
	color: var(--stb-muted);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
body.stb .stb-plan__price {
	color: var(--stb-ink);
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.stb-plan__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
body.stb .stb-plan__list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: #2B2F36;
	font-size: 14px;
	line-height: 1.4;
}
.stb-plan__list .stb-icon {
	margin-top: 1px;
	color: var(--stb-good);
}

/* Footer */
body.stb .stb-footer {
	padding: 48px 0 28px;
	background: var(--stb-ink);
	color: var(--stb-on-ink-muted);
}
.stb-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.stb-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 28px 48px;
}
.stb-footer__brand {
	display: flex;
	flex: 1 1 260px;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}
body.stb .stb-footer__brand p {
	max-width: 300px;
	color: var(--stb-on-ink-muted);
	font-size: 14px;
	line-height: 1.6;
}
.stb-footer__col {
	display: flex;
	flex: 0 1 160px;
	flex-direction: column;
}
body.stb .stb-footer__heading {
	margin: 0 0 4px;
	color: var(--stb-white);
	font-size: 14px;
	font-weight: 700;
}
body.stb .stb-footer__col a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--stb-on-ink-muted);
	font-size: 14px;
}
body.stb .stb-footer__col a:hover {
	color: var(--stb-white);
	text-decoration: underline;
}
@media (pointer: fine) {
	body.stb .stb-footer__col a {
		min-height: 34px;
	}
}
.stb-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 13px;
}
.stb-footer__data {
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 11px;
	line-height: 1.5;
}

/* Full-width pages: let the homepage sections run edge to edge inside Astra */
body.stb-full #content > .ast-container,
body.stb-full .site-content > .ast-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
body.stb-full #content,
body.stb-full .site-main,
body.stb-full #primary,
body.stb-full .content-area {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}
body.stb-full #secondary,
body.stb-full .entry-header,
body.stb-full .ast-breadcrumbs-wrapper {
	display: none !important;
}
body.stb-full article.page,
body.stb-full .ast-article-single,
body.stb-full .ast-article-post {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
body.stb-full .entry-content {
	margin: 0 !important;
}
/* Astra caps every direct child of the content area at the content width. */
body.stb .entry-content > .stb-home,
body.stb .entry-content > .stb-section,
body.stb .entry-content[data-ast-blocks-layout] > .stb-home,
body.stb .entry-content[data-ast-blocks-layout] > .stb-section {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* WooCommerce grids use the same cards */
body.stb ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
	gap: 20px !important;
	margin: 0 0 32px !important;
	padding: 0 !important;
	list-style: none !important;
}
body.stb ul.products::before,
body.stb ul.products::after {
	display: none !important;
}
body.stb ul.products li.product.stb-loop-item {
	float: none !important;
	clear: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
}

/* Product page touches */
body.stb.single-product div.product .product_title {
	color: var(--stb-text);
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}
body.stb.single-product div.product p.price,
body.stb.single-product div.product span.price {
	color: var(--stb-text);
	font-size: 30px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}
body.stb.single-product div.product .woocommerce-product-gallery {
	overflow: hidden;
	border-radius: 16px;
}
body.stb.woocommerce .single_add_to_cart_button,
body.stb.woocommerce button.single_add_to_cart_button.button.alt,
body.stb.woocommerce .auction_form button,
body.stb.woocommerce .auction_form .button {
	min-height: 48px;
	padding: 0 22px;
	border-radius: 10px;
	background: var(--stb-plate) !important;
	color: var(--stb-ink) !important;
	font-weight: 800;
}
body.stb.single-product .woocommerce-tabs ul.tabs li a {
	font-weight: 700;
}

/* Narrower desktops: the menu's links sit closer, so they stay on one line beside the logo. */
@media (min-width: 1181px) and (max-width: 1240px) {
	.stb-header__inner {
		column-gap: 22px;
	}
	.stb-nav {
		column-gap: 18px;
	}
	body.stb .stb-nav__list {
		column-gap: 18px;
	}
	body.stb .stb-nav__list a,
	body.stb .stb-nav__account {
		font-size: 14px;
	}
}

/* Phones, tablets and small laptops: the menu opens from its button. */
@media (max-width: 1180px) {
	body.stb .stb-menu-toggle {
		display: inline-flex;
	}
	.stb-nav {
		display: none;
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding-bottom: 12px;
	}
	.stb-header.is-open .stb-nav {
		display: flex;
	}
	body.stb .stb-nav__list {
		flex-direction: column;
		align-items: stretch;
	}
	body.stb .stb-nav__list a {
		width: 100%;
	}
	body.stb .stb-nav__list .sub-menu {
		position: static;
		display: block;
		padding: 0 0 0 14px;
		background: transparent;
		box-shadow: none;
	}
	.stb-nav__actions {
		justify-content: space-between;
	}
}
@media (max-width: 600px) {
	body.stb {
		--stb-gutter: 16px;
	}
	.stb-plate__text {
		font-size: 21px;
		padding: 8px 11px 7px;
	}
	body.stb .stb-band {
		padding: 44px 0;
	}
	body.stb .stb-section__title {
		font-size: 26px;
	}
	body.stb .stb-search {
		padding: 16px;
	}
	.stb-card__bid {
		flex-wrap: wrap;
	}
}

/* ---------------------------------------------------------------------------
 * Shared bits
 * ------------------------------------------------------------------------ */
body.stb .stb-hide,
body.stb .stb-hp {
	display: none !important;
}
/* Screen-reader text and skip links stay hidden until focused, whatever the cache plugin does. */
body.stb .screen-reader-text:not(:focus):not(:focus-within),
body.stb .ea11y-skip-to-content-link:not(:focus) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
body.stb .skip-link:focus,
body.stb .ea11y-skip-to-content-link:focus {
	position: fixed !important;
	top: 10px;
	left: 10px;
	z-index: 100000;
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--stb-white);
	color: var(--stb-ink);
	font-weight: 700;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
body.stb .stb-ad-box,
body.stb .stb-ad-box *,
body.stb .stb-ad-details,
body.stb .stb-ad-details *,
body.stb .stb-adform,
body.stb .stb-adform *,
body.stb .stb-pay *,
body.stb .stb-thanks,
body.stb .stb-thanks *,
body.stb .stb-signup-intro,
body.stb .stb-signup-intro *,
body.stb .stb-seller-fields,
body.stb .stb-seller-fields * {
	box-sizing: border-box;
}
body.stb .stb-btn--block {
	display: flex;
	width: 100%;
}
/* Checkout and order payment buttons in the site's colours. */
body.stb #place_order,
body.stb .woocommerce .button.alt,
body.stb .woocommerce button.button.alt {
	min-height: 52px;
	border: 0;
	border-radius: 10px;
	background: var(--stb-plate) !important;
	color: var(--stb-ink) !important;
	font-size: 16px;
	font-weight: 800;
}
body.stb .stb-btn--ghost,
body.stb .stb-btn--ghost:hover,
body.stb .stb-btn--ghost:focus {
	border: 1px solid var(--stb-field);
	background: var(--stb-white);
	color: var(--stb-ink);
}
body.stb .stb-btn--ghost:hover {
	border-color: var(--stb-ink);
}
body.stb .stb-notice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin: 0 0 18px;
	padding: 14px 16px;
	border-radius: 12px;
	font-size: 15px;
	line-height: 1.45;
}
body.stb .stb-notice .stb-btn {
	margin-left: auto;
}
body.stb .stb-notice--good {
	background: var(--stb-good-bg);
	color: var(--stb-good);
}
body.stb .stb-notice--warn {
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
}
body.stb .stb-notice--bad {
	background: var(--stb-bad-bg);
	color: var(--stb-bad);
}
body.stb .stb-status {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}
body.stb .stb-status--good {
	background: var(--stb-good-bg);
	color: var(--stb-good);
}
body.stb .stb-status--warn {
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
}
body.stb .stb-status--muted {
	background: var(--stb-line-2);
	color: var(--stb-muted-2);
}
.stb-badge--sold {
	background: var(--stb-ink);
	color: var(--stb-white);
}
.stb-badge--inline {
	position: static;
	display: inline-block;
}
body.stb .stb-card--sold .stb-card__media img,
body.stb .stb-card--sold .stb-card__media .stb-car {
	opacity: 0.55;
	filter: grayscale(0.6);
}

/* Shop grids: start below the result count and sorting, never squeezed between them. */
body.stb ul.products {
	clear: both;
}
/* The product gallery is visible before its script runs (cache plugins can delay scripts). */
body.stb .woocommerce-product-gallery {
	opacity: 1 !important;
}

/* ---------------------------------------------------------------------------
 * Ad page
 * ------------------------------------------------------------------------ */
@media (min-width: 922px) {
	body.stb-ad-page div.product {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 380px;
		grid-template-rows: auto 1fr;
		gap: 24px 40px;
		align-items: start;
	}
	body.stb-ad-page div.product > .woocommerce-product-gallery,
	body.stb-ad-page div.product > .stb-ad-details,
	body.stb-ad-page div.product > .stb-ad-more {
		grid-column: 1;
		float: none !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
	}
	body.stb-ad-page div.product > .woocommerce-product-gallery {
		grid-row: 1;
	}
	body.stb-ad-page div.product > .stb-ad-details {
		grid-row: 2;
	}
	body.stb-ad-page div.product > .summary {
		grid-column: 2;
		grid-row: 1 / span 2;
		position: sticky;
		top: 24px;
		float: none !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
	}
	body.admin-bar.stb-ad-page div.product > .summary {
		top: 56px;
	}
	body.stb-ad-page div.product > .stb-ad-more {
		grid-column: 1 / -1;
		grid-row: 3;
		margin-top: 40px !important;
	}
}
body.stb-ad-page div.product > .stb-ad-details,
body.stb-ad-page div.product > .stb-ad-more {
	clear: both;
}
body.stb-ad-page .woocommerce-product-gallery {
	overflow: hidden;
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb-ad-page .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 8px 0 0 !important;
	padding: 0 8px 8px !important;
}
body.stb-ad-page .woocommerce-product-gallery .flex-control-thumbs li {
	width: calc(20% - 7px) !important;
	margin: 0 !important;
}
body.stb-ad-page .woocommerce-product-gallery .flex-control-thumbs img {
	border-radius: 8px;
	opacity: 0.7;
}
body.stb-ad-page .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
body.stb-ad-page .woocommerce-product-gallery .flex-control-thumbs img:hover {
	opacity: 1;
}
body.stb-ad-page div.product .summary {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb-ad-page div.product .summary > * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
body.stb-ad-page div.product .summary .woocommerce-breadcrumb {
	color: var(--stb-muted);
	font-size: 13px;
}
body.stb-ad-page div.product .summary .single-product-category {
	display: none;
}
body.stb-ad-page div.product .product_title {
	font-size: clamp(24px, 2.6vw, 30px) !important;
	text-transform: none;
}
body.stb-ad-page div.product .summary p.price,
body.stb-ad-page div.product .summary span.price {
	font-size: 34px !important;
	line-height: 1.1;
}
body.stb-ad-page .product_meta,
body.stb-ad-page .product-totals-html,
body.stb-ad-page .wcv_ships_from,
body.stb-ad-page .wcvendors_sold_by_in_loop,
body.stb-ad-page .first-payment-date,
body.stb-ad-page .wcpay-express-checkout-wrapper,
body.stb-ad-page .ppc-button-wrapper,
body.stb-ad-page #wc-stripe-express-checkout-element,
body.stb-ad-page #wc-stripe-express-checkout-button-separator,
body.stb-ad-page #wc-stripe-payment-request-wrapper,
body.stb-ad-page #wc-stripe-payment-request-button-separator,
body.stb-ad-page .summary > .yith-wcwl-add-to-wishlist,
body.stb-ad-page .woocommerce-product-details__short-description:empty,
body.stb-ad-page #payment-method-message,
body.stb-ad-page .summary > .StripeElement,
body.stb-ad-page .wcv-store-header {
	display: none !important;
}
.stb-ad-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	color: var(--stb-muted-2);
	font-size: 14px;
}
.stb-ad-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.stb-ad-reduced {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--stb-good);
	font-size: 14px;
	font-weight: 600;
}
.stb-ad-reduced del {
	color: var(--stb-muted);
	font-weight: 500;
}
body.stb .stb-ad-quick {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-ad-quick li {
	margin: 0;
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--stb-line-2);
	color: var(--stb-text);
	font-size: 14px;
	font-weight: 600;
}
.stb-ad-box {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 14px;
	border-top: 1px solid var(--stb-line-2);
}
body.stb .stb-ad-box__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--stb-text);
	font-size: 16px;
	font-weight: 800;
}
.stb-ad-box--sold {
	padding: 16px;
	border: 0;
	border-radius: 12px;
	background: var(--stb-line-2);
}
.stb-contact > summary {
	list-style: none;
	cursor: pointer;
}
.stb-contact > summary::-webkit-details-marker {
	display: none;
}
.stb-contact[open] > summary {
	margin-bottom: 12px;
}
.stb-contact__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
body.stb .stb-contact__small {
	margin: 0;
	color: var(--stb-muted);
	font-size: 12px;
	line-height: 1.45;
}
.stb-ad-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	font-size: 14px;
}
body.stb .stb-ad-tools__btn,
body.stb .stb-ad-tools .yith-wcwl-add-to-wishlist a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--stb-ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
}
body.stb .stb-ad-tools .yith-wcwl-add-to-wishlist {
	margin: 0;
}
.stb-ad-seller {
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
}
.stb-ad-seller__avatar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: var(--stb-ink);
	color: var(--stb-plate);
	font-family: var(--stb-font-num);
	font-size: 22px;
	font-weight: 700;
}
.stb-ad-seller__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
body.stb .stb-ad-seller__name {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
}
body.stb .stb-ad-seller__meta {
	margin: 0;
	color: var(--stb-muted);
	font-size: 14px;
}
.stb-ad-seller .stb-more {
	min-height: 32px;
	font-size: 14px;
}
body.stb .stb-ad-safety ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0 0 0 18px;
	color: var(--stb-muted-2);
	font-size: 14px;
	line-height: 1.45;
}
body.stb .stb-ad-safety__small {
	margin: 0;
	color: var(--stb-muted);
	font-size: 12px;
	line-height: 1.45;
}
.stb-ad-details {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-top: 24px;
}
.stb-ad-section {
	padding: 22px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb .stb-ad-section__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	color: var(--stb-text);
	font-size: 20px;
	font-weight: 800;
	text-transform: none;
}
.stb-ad-section--faults {
	border-color: #F2D38A;
	background: #FFFBEB;
}
body.stb .stb-facts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 14px 18px;
	margin: 0;
}
.stb-fact {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	min-height: 40px;
	padding-left: 52px;
}
.stb-fact__icon {
	position: absolute;
	top: 50%;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--stb-line-2);
	color: var(--stb-ink);
	transform: translateY(-50%);
}
body.stb .stb-fact dt {
	margin: 0;
	color: var(--stb-muted);
	font-size: 13px;
	font-weight: 600;
}
body.stb .stb-fact dd {
	margin: 0;
	color: var(--stb-text);
	font-size: 15px;
	font-weight: 700;
	overflow-wrap: anywhere;
}
body.stb .stb-ad-text {
	color: var(--stb-text);
	font-size: 16px;
	line-height: 1.65;
}
body.stb .stb-ad-text p {
	margin: 0 0 1em;
}
body.stb .stb-ad-text p:last-child {
	margin-bottom: 0;
}
.stb-ad-more {
	margin-top: 32px;
	padding: 0;
	border: 0;
	background: transparent;
}
body.stb-ad-page .stb-notice {
	margin-bottom: 20px;
}

/* Ad page: the auction box (price, time left, bid form) */
body.stb-ad-page div.product .summary p.price .auction {
	display: block;
	margin-bottom: 4px;
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
/* An ended auction with no amount ("Auction ended") reads as the headline, not a label. */
body.stb-ad-page div.product .summary p.price:not(:has(.amount)) .auction {
	margin: 0;
	color: var(--stb-text);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.01em;
	text-transform: none;
}
.stb-ad-bidinfo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	color: var(--stb-muted-2);
	font-size: 14px;
	font-weight: 600;
}
body.stb .stb-ad-bidinfo a {
	color: var(--stb-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.stb-ad-page div.product .summary .auction-ajax-change {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
body.stb-ad-page div.product .summary .auction-ajax-change > * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
/* The reserve line under the price says the same, and doesn't flash when it changes. */
body.stb-ad-page div.product .summary .auction-ajax-change .reserve {
	display: none !important;
}
body.stb-ad-page div.product .summary .auction-time {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 10px 12px;
	padding: 14px;
	border-radius: 12px;
	background: var(--stb-bg);
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
body.stb-ad-page div.product .summary .auction-time .stb-countdown__when {
	justify-self: end;
	color: var(--stb-muted-2);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	text-align: right;
	text-transform: none;
}
body.stb-ad-page div.product .summary .auction-time .auction-time-countdown {
	grid-column: 1 / -1;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	letter-spacing: 0;
	text-transform: none;
}
body.stb-ad-page div.product .summary .auction-time .countdown_row {
	display: grid !important;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 0;
}
body.stb-ad-page div.product .summary .auction-time .countdown_row::before,
body.stb-ad-page div.product .summary .auction-time .countdown_row::after {
	display: none !important;
}
body.stb-ad-page div.product .summary .auction-time .countdown_section {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 10px 2px 9px;
	border-radius: 10px;
	background: var(--stb-white);
	color: var(--stb-muted);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
}
body.stb-ad-page div.product .summary .auction-time .countdown_section br {
	display: none;
}
body.stb-ad-page div.product .summary .auction-time .countdown_amount {
	display: block;
	color: var(--stb-text);
	font-family: var(--stb-font-num);
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
body.stb-ad-page div.product .summary p.max-bid {
	color: var(--stb-muted-2);
	font-size: 14px;
}
body.stb-ad-page div.product .summary form.auction_form {
	display: grid !important;
	gap: 10px;
	width: 100%;
	margin: 0 !important;
	padding: 0;
	border: 0;
}
body.stb-ad-page div.product .summary form.auction_form::before,
body.stb-ad-page div.product .summary form.auction_form::after {
	display: none !important;
}
body.stb .stb-bid-label {
	margin: 0;
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
/* One control: minus, the amount, plus */
body.stb-ad-page div.product .summary form.auction_form div.quantity {
	display: flex !important;
	align-items: stretch;
	float: none !important;
	width: 100% !important;
	height: 56px;
	margin: 0 !important;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--stb-field);
	border-radius: 12px;
	background: var(--stb-white);
}
body.stb-ad-page div.product .summary form.auction_form div.quantity:focus-within {
	border-color: var(--stb-focus);
	box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18);
}
body.stb-ad-page div.product .summary form.auction_form div.quantity input[type="button"] {
	flex: none;
	width: 56px !important;
	min-width: 0;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background-color: var(--stb-bg) !important;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 20px 20px;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}
body.stb-ad-page div.product .summary form.auction_form div.quantity input.minus-bid {
	border-right: 1px solid var(--stb-line) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111418' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
body.stb-ad-page div.product .summary form.auction_form div.quantity input.plus-bid {
	border-left: 1px solid var(--stb-line) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111418' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
body.stb-ad-page div.product .summary form.auction_form div.quantity input[type="button"]:hover {
	background-color: var(--stb-line) !important;
}
body.stb-ad-page div.product .summary form.auction_form div.quantity input[type="button"]:focus-visible {
	outline: 2px solid var(--stb-focus);
	outline-offset: -2px;
}
body.stb-ad-page div.product .summary form.auction_form div.quantity input.bid {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 8px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--stb-text) !important;
	font-family: var(--stb-font);
	font-size: 22px !important;
	font-weight: 800;
	line-height: 1;
	text-align: center !important;
	font-variant-numeric: tabular-nums;
	box-shadow: none !important;
	outline: 0;
}
body.stb.woocommerce.stb-ad-page div.product .summary form.auction_form .bid_button {
	float: none !important;
	width: 100%;
	min-height: 56px;
	margin: 0 !important;
	border-radius: 12px;
	font-size: 17px;
	line-height: 1.2;
}
body.stb-ad-page div.product .summary .wsawl-link {
	text-align: center;
	font-size: 14px;
}
body.stb-ad-page div.product .summary .wsawl-link a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	color: var(--stb-ink);
	font-weight: 700;
	text-decoration: none;
}
body.stb-ad-page div.product .summary .wsawl-link a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.stb-ad-page div.product .summary .wsawl-link a::before {
	margin: 0 !important;
	color: inherit;
}
/* The seller looking at their own auction can't bid or watch it. */
body.stb-ad-own div.product .summary .wsawl-link {
	display: none !important;
}

/* ---------------------------------------------------------------------------
 * Fields (ad form, contact form, pay page)
 * ------------------------------------------------------------------------ */
.stb-fields {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px 18px;
}
.stb-field--wide,
.stb-field--textarea,
.stb-field--check {
	grid-column: 1 / -1;
}
body.stb .stb-field input[type="text"],
body.stb .stb-field input[type="email"],
body.stb .stb-field input[type="tel"],
body.stb .stb-field input[type="number"],
body.stb .stb-field input[type="month"],
body.stb .stb-field textarea {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--stb-field);
	border-radius: 10px;
	background: var(--stb-white);
	color: var(--stb-text);
	font-size: 16px;
	line-height: 1.4;
	box-shadow: none;
}
body.stb .stb-field textarea {
	min-height: 110px;
	resize: vertical;
}
body.stb .stb-field input:focus,
body.stb .stb-field select:focus,
body.stb .stb-field textarea:focus {
	border-color: var(--stb-ink);
	outline: 2px solid var(--stb-focus);
	outline-offset: 1px;
}
body.stb .stb-field input:disabled {
	background: var(--stb-line-2);
	color: var(--stb-muted);
}
body.stb .stb-field label {
	text-transform: none;
	letter-spacing: 0;
	color: var(--stb-text);
	font-size: 14px;
	font-weight: 700;
}
body.stb .stb-field__help {
	margin: 0;
	color: var(--stb-muted);
	font-size: 13px;
	line-height: 1.45;
}
.stb-req {
	color: var(--stb-bad);
}
.stb-field__other {
	margin-top: 8px !important;
}
.stb-input-suffix {
	position: relative;
	display: flex;
	align-items: center;
}
.stb-input-suffix input {
	padding-right: 70px !important;
}
.stb-input-suffix__text {
	position: absolute;
	right: 12px;
	color: var(--stb-muted);
	font-size: 14px;
	pointer-events: none;
}
/* A tick box with its words. Only labels: the Car check page's section is also "stb-check". */
body.stb label.stb-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
}
body.stb label.stb-check input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--stb-ink);
}
.stb-check--inline {
	margin-top: 8px;
}
body.stb .stb-reg-input {
	max-width: 220px;
	border-color: #E8B900 !important;
	background: var(--stb-plate) !important;
	color: var(--stb-ink) !important;
	font-family: var(--stb-font-num) !important;
	font-size: 22px !important;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
body.stb .stb-reg-input::placeholder {
	color: rgba(17, 20, 24, 0.45);
}

/* ---------------------------------------------------------------------------
 * Seller's ad form (WC Vendors product form)
 * ------------------------------------------------------------------------ */
body.stb-adform-page .wcv-tab-page-heading {
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 800;
	text-transform: none;
}
body.stb-adform-page #wcv-product-edit {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 880px;
}
body.stb-adform-page #wcv-product-edit > .all-100,
body.stb-adform-page #wcv-product-edit .wcv-product-basic {
	width: 100%;
}
body.stb-adform-page .wcv-product-basic {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 22px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
.stb-adform {
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.stb-adform__step {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--stb-line-2);
}
.stb-adform__step[hidden],
body.stb .stb-adform[hidden],
body.stb [data-stb-for-cats][hidden],
body.stb [data-stb-for-format][hidden] {
	display: none !important;
}
/* WC Vendors capitalises every label in its forms and adds a second asterisk to required ones. */
body.stb .stb-adform label,
body.stb .stb-adform label *,
body.stb .stb-seller-fields label,
body.stb #wcv-store-settings label {
	text-transform: none;
}
body.stb .stb-adform label > .required {
	display: none;
}
/* One height for every box in the form, whatever WC Vendors sets. */
body.stb .stb-field input[type="text"],
body.stb .stb-field input[type="email"],
body.stb .stb-field input[type="tel"],
body.stb .stb-field input[type="number"],
body.stb .stb-field input[type="month"],
body.stb .stb-field select,
body.stb-adform-page #wcv-product-edit input[type="text"],
body.stb-adform-page #wcv-product-edit input[type="number"],
body.stb-adform-page #wcv-product-edit select {
	height: 50px;
	min-height: 50px;
	padding-top: 10px;
	padding-bottom: 10px;
	line-height: 1.4;
}
body.stb .stb-adform__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: var(--stb-text);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: none;
}
.stb-adform__title--bare {
	margin-top: 4px !important;
}
.stb-adform--inline {
	gap: 8px;
}
.stb-adform__num {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: var(--stb-ink);
	color: var(--stb-plate);
	font-family: var(--stb-font-num);
	font-size: 17px;
	font-weight: 700;
}
body.stb .stb-adform__sub {
	margin: 6px 0 0;
	color: var(--stb-text);
	font-size: 15px;
	font-weight: 700;
}
body.stb .stb-adform__help {
	margin: 0;
	color: var(--stb-muted);
	font-size: 14px;
	line-height: 1.5;
}
.stb-choice-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}
.stb-choice-grid--two {
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.stb-choice {
	position: relative;
	display: block;
	cursor: pointer;
}
.stb-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.stb-choice__box {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 14px 16px;
	border: 2px solid var(--stb-line);
	border-radius: 12px;
	background: var(--stb-white);
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.stb-choice:hover .stb-choice__box {
	border-color: var(--stb-field);
}
.stb-choice input:checked + .stb-choice__box {
	border-color: var(--stb-ink);
	background: var(--stb-plate-soft);
}
.stb-choice input:focus-visible + .stb-choice__box {
	outline: 2px solid var(--stb-focus);
	outline-offset: 2px;
}
.stb-choice:has(input:disabled) {
	cursor: not-allowed;
}
.stb-choice input:disabled + .stb-choice__box {
	opacity: 0.45;
	border-color: var(--stb-line);
	background: var(--stb-white);
}
.stb-choice__icon {
	color: var(--stb-ink);
}
.stb-choice__label {
	font-size: 16px;
	font-weight: 800;
}
.stb-choice__note {
	color: var(--stb-muted-2);
	font-size: 13px;
	line-height: 1.4;
}
/* WC Vendors parts an ad doesn't use. */
body.stb-adform-page .control-group:has(> .control > #post_excerpt),
body.stb-adform-page .wcv-cols-group:has(#product_cat),
body.stb-adform-page .wcv-product-type,
body.stb-adform-page .wcv-accordion-title,
body.stb-adform-page .stb-acc--off,
body.stb-adform-page .wcv_desktop,
body.stb-adform-page .wcv_mobile,
body.stb-adform-page .control-group:has(#_sale_price),
body.stb-adform-page .sale_schedule,
body.stb-adform-page .sale_price_dates_fields,
body.stb-adform-page .wcv-auction-extend-duration,
body.stb-adform-page .wcv-relist,
body.stb-adform-page .product_type_options {
	display: none !important;
}
body.stb-adform-page #wcv-product-edit.stb-format-auction .stb-acc--price,
body.stb-adform-page #wcv-product-edit.stb-format-simple .stb-acc-panel--auction,
body.stb-adform-page #wcv-product-edit.stb-format-simple .stb-acc--auction {
	display: none !important;
}
body.stb-adform-page .wcv-accordions,
body.stb-adform-page .wcv-product-accordion {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
body.stb-adform-page .wcv-accordions {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 22px;
	border: 1px solid var(--stb-line) !important;
	border-radius: 16px;
	background: var(--stb-white) !important;
}
body.stb-adform-page .tabs-content.active,
body.stb-adform-page .stb-acc-panel--auction {
	padding: 0 !important;
	background: transparent !important;
}
body.stb-adform-page #wcv-product-edit .control-group label,
body.stb-adform-page #wcv-product-edit .control-group > label {
	color: var(--stb-text);
	font-size: 14px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
}
body.stb-adform-page #wcv-product-edit input[type="text"],
body.stb-adform-page #wcv-product-edit input[type="number"],
body.stb-adform-page #wcv-product-edit textarea,
body.stb-adform-page #wcv-product-edit select {
	min-height: 48px;
	border: 1px solid var(--stb-field);
	border-radius: 10px;
	font-size: 16px;
	box-shadow: none;
}
body.stb-adform-page #wcv-product-edit textarea {
	min-height: 150px;
}
body.stb-adform-page .wcv-product-media {
	padding: 16px;
	border-radius: 12px;
	background: var(--stb-bg);
}
body.stb-adform-page .blue-title,
body.stb-adform-page .text-blue {
	color: var(--stb-ink) !important;
}
body.stb-adform-page .wcv-button-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
}
/* WordPress's photo picker, opened from the ad form. The theme makes every button's text white and
   gives it a coloured background, which hid the "Upload files" tab (white on white) and coloured the
   close button. Its own colours, put back. */
body .media-modal .media-router .media-menu-item:not(.active) {
	color: #1d2327;
}
body .media-modal .media-router .media-menu-item:not(.active):hover,
body .media-modal .media-router .media-menu-item:not(.active):focus {
	color: #135e96;
}
body .media-modal .media-modal-close {
	background: transparent;
	color: #646970;
}
body .media-modal .media-modal-close:hover,
body .media-modal .media-modal-close:focus {
	background: transparent;
	color: #135e96;
}
body.stb-adform-page #product_save_button,
body.stb-adform-page #wcv-product-edit .wcv-button-blue {
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 10px;
	background: var(--stb-plate) !important;
	color: var(--stb-ink) !important;
	font-size: 16px;
	font-weight: 800;
}
body.stb-adform-page #draft_button {
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid var(--stb-field) !important;
	border-radius: 10px;
	background: var(--stb-white) !important;
	color: var(--stb-ink) !important;
	font-size: 15px;
	font-weight: 700;
}

/* ---------------------------------------------------------------------------
 * Seller dashboard
 * ------------------------------------------------------------------------ */
body.stb-dashboard .wcv-navigation,
body.stb-dashboard .wcv-dashboard-navigation {
	border-radius: 14px;
}
body.stb-dashboard .stb-action--primary a,
body.stb-dashboard a.stb-action--primary {
	color: var(--stb-ink) !important;
	font-weight: 800;
}
/*
 * My ads list (WC Vendors' table): the Search button's white text sat on the page grey, the
 * category was a 10px orange link, and the titles, counts and small print were too light to read.
 */
body.stb-dashboard .wcv-search-button {
	align-self: center;
	gap: 6px;
	margin: 4px;
	padding: 0 16px;
	min-height: 40px;
	border: 0;
	border-radius: 10px;
	background: var(--stb-ink);
	color: var(--stb-white);
	font-weight: 700;
}
body.stb-dashboard .wcv-search-button:hover,
body.stb-dashboard .wcv-search-button:focus-visible {
	background: var(--stb-ink-2);
	color: var(--stb-white);
}
body.stb-dashboard .wcv-search-button .wcv-icon {
	fill: currentColor;
	color: inherit;
}
body.stb-dashboard .quick-link-btn a .wcv-ql-count {
	color: var(--stb-muted);
}
body.stb-dashboard .wcvendors-table .wcv-product-title .wcv-product-title-text,
body.stb-dashboard .wcv-product-title-text {
	color: var(--stb-ink);
}
body.stb-dashboard .wcv-status.product-status--publish {
	background: var(--stb-good-bg);
	color: var(--stb-good);
}
body.stb-dashboard .wcv_mobile small,
body.stb-dashboard #product-imgs-gallery-parent > small {
	color: var(--stb-muted);
}
body.stb-dashboard .wcv-grid .wcv-product-details-table a.wcv-product-cat {
	color: var(--stb-text);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------------------------------------------------------------------------
 * Pay for your ad
 * ------------------------------------------------------------------------ */
.stb-pay__grid {
	display: grid;
	grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}
.stb-pay__ad {
	overflow: hidden;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
.stb-pay__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	max-width: 100%;
	overflow: hidden;
}
body.stb .stb-pay__img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}
.stb-pay__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px;
}
body.stb .stb-pay__title {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
}
.stb-pay__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.stb-pay__packages {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
}
.stb-package {
	position: relative;
	display: block;
	cursor: pointer;
}
.stb-package input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.stb-package__box {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	padding: 18px;
	border: 2px solid var(--stb-line);
	border-radius: 14px;
	background: var(--stb-white);
}
.stb-package input:checked + .stb-package__box {
	border-color: var(--stb-ink);
	box-shadow: 0 0 0 3px var(--stb-plate-soft);
}
.stb-package input:focus-visible + .stb-package__box {
	outline: 2px solid var(--stb-focus);
	outline-offset: 2px;
}
.stb-package__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}
.stb-package__name {
	font-size: 16px;
	font-weight: 800;
}
.stb-package__price {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.stb-package--featured .stb-package__name::after {
	content: "\2605";
	margin-left: 6px;
	color: #C79A00;
}
.stb-package__lines {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--stb-muted-2);
	font-size: 14px;
}
.stb-package__lines span {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}
.stb-package__lines .stb-icon {
	margin-top: 2px;
	color: var(--stb-good);
}
.stb-pay__submit {
	align-self: flex-start;
}
body.stb .stb-pay__small {
	margin: 0;
	color: var(--stb-muted);
	font-size: 13px;
}
.stb-thanks {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	margin: 0 0 24px;
	padding: 20px;
	border-radius: 16px;
	background: var(--stb-good-bg);
	color: var(--stb-good);
}
.stb-thanks__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--stb-white);
}
.stb-thanks__text {
	flex: 1 1 260px;
	min-width: 0;
}
body.stb .stb-thanks__title {
	margin: 0 0 2px;
	color: var(--stb-text);
	font-size: 18px;
	font-weight: 800;
}
body.stb .stb-thanks__text p {
	margin: 0;
}

/* ---------------------------------------------------------------------------
 * Sign in and sign up
 * ------------------------------------------------------------------------ */
body.stb.woocommerce-account:not(.logged-in) .woocommerce {
	max-width: 1040px;
	margin: 0 auto;
}
body.stb.woocommerce-account .u-columns.col2-set {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}
body.stb.woocommerce-account .u-columns.col2-set::before,
body.stb.woocommerce-account .u-columns.col2-set::after {
	display: none;
}
body.stb.woocommerce-account .u-columns .u-column1,
body.stb.woocommerce-account .u-columns .u-column2 {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
}
body.stb.woocommerce-account form.woocommerce-form-login,
body.stb.woocommerce-account form.woocommerce-form-register {
	margin: 0;
	padding: 24px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb.woocommerce-account h2 {
	font-size: 24px;
	font-weight: 800;
	text-transform: none;
}
body.stb .woocommerce-form-login .button,
body.stb .woocommerce-form-register .button,
body.stb .woocommerce-ResetPassword .button,
body.stb.woocommerce-account .woocommerce-Button {
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: 10px;
	background: var(--stb-plate) !important;
	color: var(--stb-ink) !important;
	font-weight: 800;
}
body.stb.woocommerce-account .woocommerce-form-row label,
body.stb.woocommerce-account .form-row label {
	color: var(--stb-text);
	font-size: 14px;
	font-weight: 700;
}
body.stb.woocommerce-account .input-text {
	min-height: 48px;
	border: 1px solid var(--stb-field);
	border-radius: 10px;
	box-shadow: none;
}
.stb-form-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0 14px;
}
.stb-seller-fields {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 6px 0 12px;
	padding: 16px;
	border-radius: 12px;
	background: var(--stb-bg);
}
.stb-seller-fields[hidden] {
	display: none;
}
.stb-seller-type {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0 0 8px;
	padding: 0;
	border: 0;
}
.stb-seller-type legend {
	width: 100%;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
}
.stb-seller-type label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	cursor: pointer;
}
.stb-signup-intro {
	margin: 0 0 24px;
	padding: 24px;
	border-radius: 16px;
	background: var(--stb-ink);
	color: var(--stb-on-ink);
}
body.stb .stb-signup-intro__kicker {
	margin: 0 0 6px;
	color: var(--stb-plate);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
body.stb .stb-signup-intro__title {
	margin: 0 0 18px;
	color: var(--stb-white);
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	text-transform: none;
}
body.stb .stb-steps--row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-signup-intro .stb-step__num {
	background: var(--stb-plate);
	color: var(--stb-ink);
}
body.stb .stb-signup-intro .stb-step__title {
	margin: 0;
	color: var(--stb-white);
}
body.stb .stb-signup-intro .stb-step__text {
	margin: 3px 0 0;
	color: var(--stb-on-ink-muted);
}
body.stb .stb-signup-intro__small {
	margin: 18px 0 0;
	color: var(--stb-on-ink-muted);
	font-size: 14px;
}

/* ---------------------------------------------------------------------------
 * Ad search filters (shop, categories, search results)
 * ------------------------------------------------------------------------ */
body.stb .stb-filters {
	margin: 0 0 14px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb .stb-filters__toggle {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 14px 16px;
	color: var(--stb-ink);
	font-size: 16px;
	font-weight: 800;
	list-style: none;
	cursor: pointer;
}
body.stb .stb-filters__toggle::-webkit-details-marker {
	display: none;
}
body.stb .stb-filters__toggle::after {
	content: "";
	width: 9px;
	height: 9px;
	margin-left: auto;
	border-right: 2px solid var(--stb-ink);
	border-bottom: 2px solid var(--stb-ink);
	transform: translateY(-3px) rotate(45deg);
}
body.stb .stb-filters[open] > .stb-filters__toggle::after {
	transform: translateY(2px) rotate(-135deg);
}
body.stb .stb-filters__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--stb-plate);
	color: var(--stb-ink);
	font-size: 13px;
	font-weight: 800;
}
body.stb .stb-filters__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 18px;
}
body.stb .stb-filters__row {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
	gap: 12px 14px;
}
@media (min-width: 900px) {
	body.stb .stb-filters__row {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
body.stb .stb-filters .stb-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
body.stb .stb-filters .stb-field label {
	margin: 0;
	color: var(--stb-muted-2);
	font-size: 13px;
	font-weight: 700;
}
body.stb .stb-filters select,
body.stb .stb-filters input[type="text"] {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--stb-field);
	border-radius: 10px;
	background-color: var(--stb-white);
	color: var(--stb-text);
	font-size: 15px;
	line-height: 1.3;
	box-shadow: none;
}
body.stb .stb-filters select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111418' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}
body.stb .stb-filters select:focus,
body.stb .stb-filters input[type="text"]:focus {
	border-color: var(--stb-ink);
	outline: 2px solid var(--stb-focus);
	outline-offset: 1px;
}
body.stb .stb-filters__more > summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--stb-ink);
	font-size: 14px;
	font-weight: 800;
	list-style: none;
	cursor: pointer;
}
body.stb .stb-filters__more > summary::-webkit-details-marker {
	display: none;
}
body.stb .stb-filters__more > summary::before {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 6px;
	background: var(--stb-line-2);
	font-size: 15px;
	line-height: 1;
}
body.stb .stb-filters__more[open] > summary::before {
	content: "\2212";
}
body.stb .stb-filters__more[open] > summary {
	margin-bottom: 12px;
}
body.stb .stb-filters__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
}
body.stb .stb-filters__clear {
	color: var(--stb-ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
}
body.stb .stb-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}
body.stb .stb-chip--remove {
	gap: 6px;
	min-height: 36px;
	padding: 0 12px;
	border-color: var(--stb-field);
	background: var(--stb-white);
	color: var(--stb-text);
	font-size: 14px;
}
body.stb .stb-chip--remove:hover,
body.stb .stb-chip--remove:focus {
	border-color: var(--stb-ink);
	color: var(--stb-ink);
}
body.stb .stb-filters__note {
	margin: -4px 0 16px;
	color: var(--stb-muted-2);
	font-size: 14px;
}
body.stb .stb-filters__hint {
	margin: 8px 0 0;
}
@media (max-width: 767px) {
	body.stb .stb-filters__toggle {
		display: flex;
	}
	body.stb .stb-filters[open] > .stb-filters__toggle {
		border-bottom: 1px solid var(--stb-line-2);
	}
	body.stb .stb-filters__form {
		padding: 14px 16px 16px;
	}
	body.stb .stb-filters__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
}

/* My account: the seller's ads at a glance, or how to start selling. */
body.stb .stb-account-box {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 24px;
	padding: 20px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb .stb-account-box p {
	margin: 0;
}
body.stb .stb-account-box__title {
	color: var(--stb-text);
	font-size: 18px;
	font-weight: 800;
}
body.stb .stb-account-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-account-stats li {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 0;
	padding: 8px 12px;
	border-radius: 10px;
	background: var(--stb-line-2);
	color: var(--stb-muted-2);
	font-size: 14px;
}
body.stb .stb-account-stats strong {
	color: var(--stb-text);
	font-family: var(--stb-font-num);
	font-size: 22px;
	line-height: 1;
}
body.stb .stb-account-box__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
/* The account menu lines up with the page title instead of sitting in from it, as a card like
 * the rest of the site, with the page you're on marked. */
body.stb .woocommerce-MyAccount-navigation ul {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
	overflow: hidden;
	border: 1px solid var(--stb-line);
	border-radius: var(--stb-radius);
	background: var(--stb-white);
}
body.stb .woocommerce-MyAccount-navigation ul li {
	margin: 0;
	border: 0;
	border-bottom: 1px solid var(--stb-line);
}
body.stb .woocommerce-MyAccount-navigation ul li:last-child {
	border-bottom: 0;
}
body.stb .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 12px 16px;
	color: var(--stb-text);
	font-weight: 600;
	text-decoration: none;
}
body.stb .woocommerce-MyAccount-navigation ul li a:hover {
	background: var(--stb-bg);
	color: var(--stb-ink);
}
body.stb .woocommerce-MyAccount-navigation ul li a:focus-visible {
	outline: 2px solid var(--stb-focus);
	outline-offset: -2px;
}
body.stb .woocommerce-MyAccount-navigation ul li.is-active a {
	background: var(--stb-plate-soft);
	box-shadow: inset 4px 0 0 var(--stb-plate);
	color: var(--stb-ink);
}
/* WC Vendors' icon font isn't loaded, so its dashboard link showed an empty box. */
body.stb .woocommerce-MyAccount-navigation-link--vendor-dashboard a::before {
	content: none !important;
	display: none !important;
}
/* Your Details: its parts as tabs above each of its pages, the one you're on filled in the plate
 * yellow (0.4.28.10, includes/account.php). They wrap onto a second row on a phone. */
body.stb .stb-subnav {
	margin: 0 0 24px;
}
body.stb .stb-subnav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-subnav li {
	margin: 0;
}
body.stb .stb-subnav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--stb-line);
	border-radius: 999px;
	background: var(--stb-white);
	color: var(--stb-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}
body.stb .stb-subnav a:hover {
	border-color: var(--stb-ink);
	color: var(--stb-ink);
}
body.stb .stb-subnav a:focus-visible {
	outline: 2px solid var(--stb-focus);
	outline-offset: 2px;
}
body.stb .stb-subnav a[aria-current="page"] {
	border-color: var(--stb-plate);
	background: var(--stb-plate);
	color: var(--stb-ink);
}
/* Where the menu sits above the page instead of beside it (up to 921px wide, as the theme's
 * small-screen styles stack them), a gap between the two, so the page's first line doesn't touch
 * the menu (0.4.28.11). */
@media only screen and (max-width: 921px) {
	body.stb .woocommerce-MyAccount-navigation {
		margin-bottom: 20px;
	}
}

/* ---------------------------------------------------------------------------
 * Prices, ad packs and the trader plan; auction fees; postage; vehicle history
 * ------------------------------------------------------------------------ */
body.stb .stb-btn[hidden],
body.stb [data-stb-postage][hidden],
body.stb [data-stb-delivery-cost][hidden],
body.stb [data-stb-offer-min][hidden],
body.stb .stb-field__status[hidden],
body.stb .stb-regok[hidden],
body.stb .stb-pay__lock[hidden],
body.stb .stb-mot[hidden] {
	display: none !important;
}

/* An auction fee to pay before new ads go live */
body.stb .stb-owed {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 24px;
	padding: 20px;
	border: 1px solid #F2D38A;
	border-radius: 16px;
	background: #FFFBEB;
	color: var(--stb-text);
}
body.stb .stb-owed p {
	margin: 0;
	line-height: 1.5;
}
body.stb .stb-owed__title {
	font-size: 18px;
	font-weight: 800;
}
body.stb .stb-owed__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-owed__list li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin: 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--stb-white);
}
body.stb .stb-owed__list li span {
	flex: 1 1 200px;
	min-width: 0;
	font-weight: 600;
}
body.stb .stb-owed__list li strong {
	font-size: 18px;
}

/* Prices page */
body.stb .stb-prices .stb-plans {
	flex: none;
}
/* My account → How Do You Want to Pay for Your Ads? (0.4.28.5) */
.stb-plan-ask {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
body.stb .stb-plan-ask__lead {
	max-width: 65ch;
	margin: 0;
	color: var(--stb-text);
	font-size: 16px;
	line-height: 1.5;
}
body.stb .stb-plan-ask .stb-plans {
	flex: none;
}
body.stb .stb-plan-ask .stb-plan {
	border: 1px solid var(--stb-line);
}
body.stb .stb-plan-ask .stb-plan--featured {
	border-color: transparent;
}
body.stb .stb-plan-ask .stb-plan .stb-btn,
body.stb .stb-plan-ask .stb-prices__buy {
	margin-top: auto;
}
body.stb .stb-plan-ask .stb-prices__buy .stb-btn {
	width: 100%;
}
body.stb .stb-plan-ask__small {
	margin: 0;
	color: var(--stb-muted-2);
	font-size: 14px;
	line-height: 1.5;
}
body.stb .stb-plans--row {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
body.stb .stb-prices .stb-plan {
	border: 1px solid var(--stb-line);
}
body.stb .stb-prices .stb-plan--featured {
	border-color: transparent;
}
body.stb .stb-prices__heading {
	margin: 14px 0 0;
	color: var(--stb-text);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.01em;
}
body.stb .stb-prices__text {
	max-width: 65ch;
	margin: -6px 0 0;
	color: var(--stb-muted-2);
	font-size: 15px;
	line-height: 1.5;
}
body.stb .stb-prices__mine {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--stb-plate-soft);
	color: var(--stb-ink);
	font-size: 15px;
	font-weight: 700;
}
body.stb .stb-prices__buy {
	margin: auto 0 0;
}
body.stb .stb-prices__buy .stb-btn,
body.stb .stb-prices .stb-plan > .stb-btn {
	width: 100%;
	margin-top: auto;
}
body.stb .stb-plan--wide {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(200px, auto);
	align-items: center;
	gap: 18px 28px;
}
body.stb .stb-plan--wide .stb-prices__buy,
body.stb .stb-plan--wide > .stb-btn {
	margin: 0;
}
/* A line above a plan's button ("This is your plan."): it goes to the bottom with the button. */
body.stb .stb-plan__note {
	margin: auto 0 0;
	color: var(--stb-muted-2);
	font-size: 14px;
	line-height: 1.45;
}
body.stb .stb-plan__note + .stb-prices__buy,
body.stb .stb-prices .stb-plan__note + .stb-btn {
	margin-top: 0;
}
body.stb .stb-prices__small {
	margin-top: 0;
	font-size: 14px;
}
.stb-sell__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 22px;
}
body.stb .stb-sell__actions .stb-more {
	color: var(--stb-ink);
}
body.stb .stb-pay__small a {
	color: var(--stb-ink);
	font-weight: 700;
}
.stb-pay__lock {
	display: inline-flex;
}
body.stb .stb-account-box__extra {
	color: var(--stb-muted-2);
	font-size: 14px;
	font-weight: 600;
}

/* Parts: postage */
.stb-input-prefix {
	position: relative;
	display: flex;
	align-items: center;
}
body.stb .stb-input-prefix input {
	padding-left: 30px !important;
}
.stb-input-prefix__text {
	position: absolute;
	left: 12px;
	color: var(--stb-muted);
	font-size: 15px;
	pointer-events: none;
}
body.stb .stb-card__post {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 2px 0 0;
	color: var(--stb-good);
	font-size: 13px;
	font-weight: 700;
}

/* Ad form: looking up a registration */
.stb-reg-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
body.stb .stb-reg-row .stb-reg-input {
	flex: 1 1 160px;
}
body.stb .stb-field__status {
	margin: 4px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--stb-good-bg);
	color: var(--stb-good);
	font-size: 14px;
	line-height: 1.45;
}
body.stb .stb-field__status.is-bad {
	background: var(--stb-bad-bg);
	color: var(--stb-bad);
}

/* Ad form: "Is this your car?" under the registration */
.stb-regok {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 8px;
	padding: 14px 16px;
	border: 1px solid var(--stb-line);
	border-left: 4px solid var(--stb-plate);
	border-radius: 12px;
	background: var(--stb-white);
}
body.stb .stb-regok__q {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
body.stb .stb-regok__car {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
}
body.stb .stb-regok__car strong {
	color: var(--stb-text);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
}
body.stb .stb-regok__car span {
	color: var(--stb-muted-2);
	font-size: 14px;
	line-height: 1.4;
}
body.stb .stb-regok__warn {
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}
body.stb label.stb-regok__yes {
	font-weight: 700;
}
body.stb .stb-regok .stb-field__help {
	margin: 0;
}

/* Ad page: the official record */
body.stb .stb-record__verdict {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 14px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}
body.stb .stb-record__verdict svg {
	flex: none;
	margin-top: 1px;
}
body.stb .stb-record__verdict--good {
	background: var(--stb-good-bg);
	color: var(--stb-good);
}
body.stb .stb-record__verdict--warn {
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
}
body.stb .stb-record__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 10px;
	margin: 0;
}
.stb-record__row {
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid var(--stb-line);
	border-radius: 10px;
	background: var(--stb-bg);
}
.stb-record__row--warn {
	border-color: #F2D38A;
	background: var(--stb-warn-bg);
}
body.stb .stb-record__row dt {
	margin: 0;
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
body.stb .stb-record__row dd {
	margin: 2px 0 0;
	color: var(--stb-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	overflow-wrap: anywhere;
}
body.stb .stb-record__row--good dd {
	color: var(--stb-good);
}
body.stb .stb-record__row dd.stb-record__note {
	margin-top: 4px;
	color: var(--stb-warn);
	font-size: 13px;
	font-weight: 600;
}
body.stb .stb-record__source {
	margin: 14px 0 0;
	color: var(--stb-muted);
	font-size: 13px;
	line-height: 1.5;
}

/* Ad page: vehicle history */
.stb-history__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 14px;
}
.stb-history__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	padding: 18px;
	border: 1px solid var(--stb-line);
	border-radius: 14px;
	background: var(--stb-bg);
}
.stb-history__card--mot.is-open {
	grid-column: 1 / -1;
}
body.stb .stb-history__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--stb-text);
	font-size: 16px;
	font-weight: 800;
}
body.stb .stb-history__text {
	margin: 0;
	color: var(--stb-muted-2);
	font-size: 14px;
	line-height: 1.5;
}
body.stb .stb-history__small {
	margin: 0;
	color: var(--stb-muted);
	font-size: 12px;
}
.stb-mot {
	width: 100%;
	outline: none;
}
body.stb .stb-mot__summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	margin: 4px 0 12px;
}
.stb-mot__fact {
	padding: 10px 12px;
	border: 1px solid var(--stb-line);
	border-radius: 10px;
	background: var(--stb-white);
}
body.stb .stb-mot__fact dt {
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
body.stb .stb-mot__fact dd {
	margin: 2px 0 0;
	color: var(--stb-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}
body.stb .stb-mot__fact--good dd {
	color: var(--stb-good);
}
.stb-mot__fact--warn {
	border-color: #F2D38A;
	background: var(--stb-warn-bg);
}
body.stb .stb-mot__mileage {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}
.stb-mot__mileage .stb-icon {
	flex: none;
	margin-top: 1px;
}
.stb-mot__mileage--good {
	background: var(--stb-good-bg);
	color: var(--stb-good);
}
.stb-mot__mileage--warn {
	background: var(--stb-bad-bg);
	color: var(--stb-bad);
}
body.stb .stb-mot__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-mot__test {
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--stb-line);
	border-radius: 10px;
	background: var(--stb-white);
}
.stb-mot__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
}
.stb-mot__date {
	flex: 1 1 140px;
	font-weight: 700;
}
.stb-mot__result {
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
}
.stb-mot__result--pass {
	background: var(--stb-good-bg);
	color: var(--stb-good);
}
.stb-mot__result--fail {
	background: var(--stb-bad-bg);
	color: var(--stb-bad);
}
.stb-mot__miles {
	min-width: 7.5em;
	color: var(--stb-muted-2);
	font-family: var(--stb-font-num);
	font-size: 17px;
	font-weight: 700;
	text-align: right;
}
body.stb .stb-mot__defects {
	margin-top: 6px;
}
body.stb .stb-mot__defects summary {
	color: var(--stb-muted-2);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
body.stb .stb-mot__defects ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-mot__defect {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
}
.stb-mot__type {
	flex: none;
	padding: 1px 8px;
	border-radius: 6px;
	background: var(--stb-line-2);
	color: var(--stb-muted-2);
	font-size: 12px;
	font-weight: 800;
}
.stb-mot__defect--danger .stb-mot__type {
	background: var(--stb-bad-bg);
	color: var(--stb-bad);
}
body.stb .stb-mot__source,
body.stb .stb-mot__empty {
	margin: 10px 0 0;
	color: var(--stb-muted);
	font-size: 13px;
	line-height: 1.45;
}
body.stb .stb-mot__error {
	margin: 4px 0 0;
	color: var(--stb-bad);
	font-size: 14px;
	font-weight: 600;
}

/* Homepage: check a car before you buy */
body.stb .stb-checkband {
	padding-block: 8px 40px;
}
.stb-checkband__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	padding: 28px;
	border: 1px solid var(--stb-line);
	border-radius: var(--stb-radius);
	background: var(--stb-white);
}
.stb-checkband__copy {
	flex: 1 1 340px;
	min-width: 0;
}
body.stb .stb-checkband__kicker {
	margin: 0 0 6px;
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
body.stb .stb-checkband__title {
	margin: 0 0 6px;
	color: var(--stb-text);
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.015em;
}
body.stb .stb-checkband__text {
	max-width: 560px;
	margin: 0;
	color: var(--stb-muted-2);
	font-size: 16px;
	line-height: 1.5;
}
.stb-checkband__form {
	display: flex;
	flex: 1 1 320px;
	flex-wrap: wrap;
	gap: 12px;
	max-width: 460px;
	margin: 0;
}
body.stb .stb-checkband__form .stb-reg-input {
	flex: 1 1 190px;
	max-width: none;
	min-height: 52px;
}
@media (max-width: 600px) {
	.stb-checkband__inner {
		padding: 20px;
	}
	.stb-checkband__form .stb-btn {
		flex: 1 1 100%;
	}
}

/* Paid history checks: the Car check page and the report */
.stb-check__form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
body.stb .stb-check__form .stb-reg-input {
	flex: 1 1 220px;
	max-width: 320px;
	min-height: 52px;
}
.stb-check__points {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-check__points li {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--stb-muted-2);
	font-size: 14px;
	font-weight: 600;
}
.stb-check__points .stb-icon {
	color: var(--stb-good);
}
body.stb .stb-report.stb-check-report {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
/* The top: dark, like the site's hero, with the plate and the check's name. */
.stb-report__head {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 24px 26px 26px;
	border-radius: 18px;
	background: var(--stb-ink);
	color: var(--stb-on-ink);
	box-shadow: 0 12px 32px rgba(17, 20, 24, 0.14);
}
.stb-report__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
}
body.stb .stb-check-report .stb-report__brand {
	margin: 0;
	color: var(--stb-on-ink-muted);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
body.stb .stb-check-report .stb-report__kicker {
	margin: 0;
	padding: 5px 12px 4px;
	border-radius: 8px;
	background: var(--stb-plate);
	color: var(--stb-ink);
	font-family: var(--stb-font-num);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}
.stb-report__headline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 24px;
}
body.stb .stb-check-report .stb-report__img {
	display: block;
	width: 180px;
	max-width: 100%;
	height: auto;
	margin: 0;
	border-radius: 12px;
	background: var(--stb-ink-2);
}
.stb-report__title {
	flex: 1 1 320px;
	min-width: 0;
}
body.stb .stb-check-report .stb-report__name {
	margin: 0;
	color: var(--stb-white);
	font-family: var(--stb-font-num);
	font-size: clamp(32px, 4.6vw, 48px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: 0.01em;
	text-transform: none;
	text-wrap: balance;
}
.stb-report__idline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin-top: 14px;
}
body.stb .stb-check-report .stb-report__plate {
	display: inline-flex;
	align-items: stretch;
	margin: 0;
	overflow: hidden;
	border-radius: 7px;
	background: var(--stb-plate);
	color: var(--stb-ink);
	font-family: var(--stb-font-num);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
}
.stb-report__plate-uk {
	display: flex;
	align-items: flex-end;
	padding: 0 6px 6px;
	background: var(--stb-uk);
	color: var(--stb-white);
	font-size: 11px;
	letter-spacing: 0.06em;
}
.stb-report__plate > span:last-child {
	padding: 7px 13px 6px;
	white-space: nowrap;
}
body.stb .stb-check-report .stb-report__id {
	margin: 0;
	color: var(--stb-on-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}
body.stb .stb-check-report .stb-report__when {
	margin: 14px 0 0;
	color: var(--stb-on-ink-muted);
	font-size: 13px;
	overflow-wrap: anywhere;
}
.stb-report__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
body.stb .stb-btn--on-ink,
body.stb .stb-btn--on-ink:hover,
body.stb .stb-btn--on-ink:focus {
	background: rgba(255, 255, 255, 0.08);
	color: var(--stb-white);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
body.stb .stb-btn--sm {
	min-height: 36px;
	padding: 0 13px;
	font-size: 14px;
}
/* The answer, in one line. */
.stb-report__verdict {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border-left: 6px solid currentColor;
	border-radius: 16px;
}
.stb-report__verdict--good {
	background: var(--stb-good-bg);
	color: var(--stb-good);
}
.stb-report__verdict--bad {
	background: var(--stb-bad-bg);
	color: var(--stb-bad);
}
.stb-report__verdict--warn {
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
}
.stb-report__verdict-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: currentColor;
}
.stb-report__verdict-icon .stb-icon {
	color: var(--stb-white);
}
.stb-report__verdict--good .stb-report__verdict-icon {
	background: var(--stb-good);
}
.stb-report__verdict--bad .stb-report__verdict-icon {
	background: var(--stb-bad);
}
.stb-report__verdict--warn .stb-report__verdict-icon {
	background: #B7791F;
}
/* The MOT tests keep their own spacing inside a report section. */
body.stb .stb-check-report .stb-mot__test {
	padding: 10px 12px;
}
body.stb .stb-check-report .stb-report__verdict p {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
}
body.stb .stb-check-report .stb-report__verdict strong {
	font-family: var(--stb-font-num);
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
body.stb .stb-check-report .stb-report__verdict p span {
	color: var(--stb-text);
	font-size: 14px;
	line-height: 1.45;
}
/* With what's on record listed under it: the list takes its own row, under the words. */
.stb-report__verdict--list {
	flex-wrap: wrap;
	align-items: flex-start;
}
.stb-report__verdict--list > p {
	flex: 1 1 200px;
	min-width: 0;
}
/* What's on record, one row each, in red: under the verdict. */
body.stb .stb-check-report .stb-report__alerts {
	display: grid;
	flex: 1 1 100%;
	gap: 8px;
	margin: 0 0 0 64px;
	padding: 0;
	list-style: none;
}
body.stb .stb-check-report .stb-report__alerts li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 10px 12px;
	border-left: 4px solid var(--stb-bad);
	border-radius: 8px;
	background: var(--stb-white);
}
body.stb .stb-check-report .stb-report__verdict .stb-report__alerts strong {
	color: var(--stb-bad);
	font-family: var(--stb-font);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}
body.stb .stb-check-report .stb-report__alerts span {
	color: var(--stb-text);
	font-size: 14px;
	line-height: 1.45;
	overflow-wrap: anywhere;
}
/* The same, as red badges at the top of the report. */
body.stb .stb-check-report .stb-report__flags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-check-report .stb-report__flags li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 5px 10px 5px 8px;
	border-radius: 6px;
	background: var(--stb-bad);
	color: var(--stb-white);
	font-family: var(--stb-font-num);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
body.stb .stb-check-report .stb-report__flags .stb-icon {
	flex: none;
}
/* Sections. */
.stb-report__section {
	padding: 22px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb .stb-check-report .stb-report__section h2 {
	position: relative;
	margin: 0 0 16px;
	padding-bottom: 9px;
	color: var(--stb-ink);
	font-family: var(--stb-font-num);
	font-size: 25px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-transform: none;
}
body.stb .stb-check-report .stb-report__section h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 34px;
	height: 3px;
	border-radius: 2px;
	background: var(--stb-plate);
}
body.stb .stb-check-report .stb-report__section h3 {
	margin: 0 0 8px;
	color: var(--stb-text);
	font-size: 15px;
	font-weight: 800;
	text-transform: none;
}
body.stb .stb-check-report .stb-report__section p {
	max-width: 72ch;
	margin: 0 0 10px;
	line-height: 1.55;
}
.stb-report__section--bad {
	border-color: #F5C2BD;
	box-shadow: inset 4px 0 0 var(--stb-bad);
}
.stb-report__section--note {
	background: var(--stb-bg);
}
/* Key checks: a dot for each, coloured by what it found. */
body.stb .stb-check-report .stb-report__summary {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 10px;
	margin: 0;
}
.stb-report__item {
	position: relative;
	padding: 12px 14px 12px 36px;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	background: var(--stb-white);
}
.stb-report__item::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 14px;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	border-radius: 50%;
	background: var(--stb-muted);
}
.stb-report__item--good::before {
	background: var(--stb-good);
}
.stb-report__item--bad::before {
	background: var(--stb-bad);
}
.stb-report__item--warn::before {
	background: #B7791F;
}
.stb-report__item--off::before {
	background: var(--stb-field);
}
body.stb .stb-check-report .stb-report__item dt,
body.stb .stb-check-report .stb-report__facts dt {
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
body.stb .stb-check-report .stb-report__item dd {
	margin: 4px 0 0;
	color: var(--stb-text);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
}
body.stb .stb-check-report .stb-report__item--good dd {
	color: var(--stb-good);
}
.stb-report__item--bad {
	border-color: #F5C2BD;
	background: var(--stb-bad-bg);
}
body.stb .stb-check-report .stb-report__item--bad dd {
	color: var(--stb-bad);
}
.stb-report__item--warn {
	border-color: #F2D38A;
	background: var(--stb-warn-bg);
}
body.stb .stb-check-report .stb-report__item--warn dd {
	color: var(--stb-warn);
}
body.stb .stb-check-report .stb-report__facts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px 20px;
	margin: 0;
}
body.stb .stb-check-report .stb-report__facts dd {
	margin: 3px 0 0;
	font-weight: 700;
}
body.stb .stb-check-report .stb-report__section p.stb-report__tax {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	max-width: none;
	margin: 16px 0 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--stb-plate-soft);
	color: var(--stb-text);
	font-size: 14px;
}
.stb-report__tax .stb-icon {
	flex: none;
	margin-top: 2px;
}
.stb-report__spec {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px 28px;
}
body.stb .stb-check-report .stb-report__list,
body.stb .stb-check-report .stb-report__readings,
body.stb .stb-check-report .stb-report__events {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-check-report .stb-report__list li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--stb-bad-bg);
}
body.stb .stb-check-report .stb-report__readings li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--stb-line);
	border-radius: 10px;
}
body.stb .stb-check-report .stb-report__readings li.is-bad {
	border-color: #F5C2BD;
	background: var(--stb-bad-bg);
}
.stb-report__readings li > span:first-child,
.stb-report__events li > span {
	min-width: 9.5em;
	color: var(--stb-muted-2);
	font-size: 14px;
}
.stb-report__source {
	margin-left: auto;
	color: var(--stb-muted);
	font-size: 12px;
}
body.stb .stb-check-report .stb-report__small {
	margin: 12px 0 0;
	color: var(--stb-muted);
	font-size: 13px;
}
/* The mileage graph. */
.stb-report__graphwrap {
	margin: 6px 0 14px;
}
.stb-report__graph {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}
.stb-report__graph--narrow {
	display: none;
}
@media (max-width: 640px) {
	.stb-report__graph--wide {
		display: none;
	}
	.stb-report__graph--narrow {
		display: block;
	}
}
.stb-graph__grid {
	stroke: var(--stb-line);
	stroke-width: 1;
}
.stb-graph__ylabel,
.stb-graph__xlabel {
	fill: var(--stb-muted);
	font-family: var(--stb-font);
	font-size: 12px;
}
.stb-graph__area {
	fill: var(--stb-plate-soft);
}
.stb-graph__line {
	fill: none;
	stroke: var(--stb-ink);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.stb-graph__dot {
	fill: var(--stb-ink);
}
.stb-graph__dot--bad {
	fill: var(--stb-bad);
	stroke: var(--stb-white);
	stroke-width: 2;
}
.stb-graph__drop {
	stroke: var(--stb-bad);
	stroke-width: 4;
	stroke-linecap: round;
}
.stb-graph__droplabel {
	fill: var(--stb-bad);
	font-family: var(--stb-font);
	font-size: 12px;
	font-weight: 800;
}
.stb-graph__last {
	fill: var(--stb-ink);
	font-family: var(--stb-font);
	font-size: 12px;
	font-weight: 800;
}
body.stb .stb-check-report .stb-report__more summary {
	color: var(--stb-uk);
	font-weight: 800;
	cursor: pointer;
}
body.stb .stb-check-report .stb-report__more[open] summary {
	margin-bottom: 12px;
}
/* The latest logbook, and the timeline. */
.stb-report__logbook {
	margin: 0 0 16px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--stb-bg);
}
.stb-report__logbook--recent {
	background: var(--stb-warn-bg);
}
body.stb .stb-check-report .stb-report__logbook p {
	margin: 0 0 6px;
}
body.stb .stb-check-report .stb-report__logbook-label {
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
body.stb .stb-check-report .stb-report__logbook-date {
	color: var(--stb-text);
	font-size: 17px;
	font-weight: 800;
}
.stb-report__logbook--recent .stb-report__logbook-date {
	color: var(--stb-warn);
}
body.stb .stb-check-report .stb-report__logbook-recent {
	display: flex;
	gap: 8px;
	color: var(--stb-warn);
	font-weight: 700;
}
.stb-report__logbook-recent .stb-icon {
	flex: none;
	margin-top: 3px;
}
body.stb .stb-check-report .stb-report__events {
	gap: 0;
}
body.stb .stb-check-report .stb-report__events li {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 14px;
	margin: 0;
	padding: 6px 0 6px 26px;
}
body.stb .stb-check-report .stb-report__events li::before {
	content: "";
	position: absolute;
	top: 13px;
	left: 4px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--stb-ink);
}
body.stb .stb-check-report .stb-report__events li::after {
	content: "";
	position: absolute;
	top: 22px;
	bottom: -6px;
	left: 8px;
	width: 2px;
	background: var(--stb-line);
}
body.stb .stb-check-report .stb-report__events li:last-child::after {
	display: none;
}
/* Sharing. */
.stb-report__share {
	border-color: var(--stb-ink);
}
body.stb .stb-check-report .stb-report__sharerow {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
body.stb .stb-check-report .stb-report__sharerow input {
	flex: 1 1 260px;
	min-width: 0;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--stb-field);
	border-radius: 10px;
	background: var(--stb-bg);
	color: var(--stb-text);
	font-size: 14px;
}
body.stb .stb-check-report .stb-report__share-pdf {
	margin: 14px 0 0;
}
.stb-report__newlink {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--stb-line);
	color: var(--stb-muted);
	font-size: 13px;
}
body.stb .stb-link-btn {
	padding: 0;
	border: 0;
	background: none;
	color: var(--stb-uk);
	font-size: 14px;
	font-weight: 800;
	text-decoration: underline;
	cursor: pointer;
}
/* My account → History checks. */
body.stb .stb-history-checks {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-history-checks__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 18px;
	margin: 0;
	padding: 16px 18px;
	border: 1px solid var(--stb-line);
	border-radius: 14px;
	background: var(--stb-white);
}
.stb-history-checks__main {
	flex: 1 1 260px;
	min-width: 0;
}
body.stb .stb-history-checks__title {
	margin: 0;
	color: var(--stb-text);
	font-size: 17px;
	font-weight: 800;
}
body.stb .stb-history-checks__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 6px 0 0;
	color: var(--stb-muted);
	font-size: 14px;
}
.stb-history-checks__plate {
	padding: 2px 8px;
	border-radius: 5px;
	background: var(--stb-plate);
	color: var(--stb-ink);
	font-family: var(--stb-font-num);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
}
body.stb .stb-history-checks__verdict {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0 0;
	font-size: 14px;
	font-weight: 800;
}
.stb-history-checks__verdict--good {
	color: var(--stb-good);
}
.stb-history-checks__verdict--bad {
	color: var(--stb-bad);
}
.stb-history-checks__verdict--warn {
	color: var(--stb-warn);
}
.stb-history-checks__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.stb-history-checks__state {
	color: var(--stb-muted);
	font-weight: 700;
}
body.stb .stb-account-checks {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-account-checks li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
	margin: 0;
}
.stb-account-checks__date {
	color: var(--stb-muted);
	font-size: 13px;
}
body.stb .stb-account-box__more {
	margin: 12px 0 0;
	font-weight: 700;
}
body.stb .stb-thanks--warn {
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
}
@media (max-width: 700px) {
	.stb-report__head {
		padding: 18px 16px 20px;
		border-radius: 14px;
	}
	body.stb .stb-check-report .stb-report__img {
		width: 100%;
		max-width: 280px;
	}
	.stb-report__source {
		margin-left: 0;
	}
	body.stb .stb-check-report .stb-report__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.stb-report__item {
		padding: 10px 12px 10px 32px;
	}
	.stb-report__item::before {
		left: 12px;
	}
	.stb-report__section {
		padding: 16px;
	}
	.stb-report__verdict {
		align-items: flex-start;
		padding: 14px 16px;
	}
	.stb-report__verdict-icon {
		width: 40px;
		height: 40px;
	}
	body.stb .stb-check-report .stb-report__alerts {
		margin-left: 0;
	}
	body.stb .stb-check-report .stb-report__verdict strong {
		font-size: 28px;
	}
	.stb-report__actions .stb-btn {
		flex: 1 1 140px;
	}
	body.stb .stb-check-report .stb-report__events li {
		flex-direction: column;
		gap: 0;
	}
}
@media (max-width: 460px) {
	body.stb .stb-check-report .stb-report__summary {
		grid-template-columns: minmax(0, 1fr);
	}
}
/* Printing a report: the report only. */
@media print {
	body.stb .stb-header,
	body.stb .stb-footer,
	body.stb .stb-report__actions,
	body.stb .stb-report__share {
		display: none !important;
	}
	.stb-report__head,
	.stb-report__verdict,
	.stb-report__item,
	.stb-report__tax,
	.stb-report__logbook {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	.stb-report__head {
		box-shadow: none;
	}
	.stb-report__section {
		break-inside: avoid;
	}
}

@media (max-width: 860px) {
	body.stb .stb-plan--wide {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 600px) {
	body.stb .stb-mot__summary,
	body.stb .stb-record__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.stb-mot__miles {
		flex-basis: 100%;
		min-width: 0;
		text-align: left;
	}
}

@media (max-width: 700px) {
	.stb-pay__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	body.stb-ad-page div.product .summary {
		margin-top: 16px !important;
		padding: 18px;
	}
	body.stb-adform-page .wcv-product-basic,
	body.stb-adform-page .wcv-accordions {
		padding: 16px;
	}
	.stb-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px 12px;
	}
	.stb-field--reg,
	.stb-field--make,
	.stb-field--mot,
	.stb-field--textarea,
	.stb-field--check {
		grid-column: 1 / -1;
	}
	body.stb .stb-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px 10px;
	}
	.stb-fact {
		justify-content: flex-start;
		min-height: 34px;
		padding-left: 42px;
	}
	.stb-fact__icon {
		top: 0;
		width: 34px;
		height: 34px;
		transform: none;
	}
	.stb-ad-section {
		padding: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.stb .stb-card,
	body.stb .stb-btn,
	body.stb .stb-tile {
		transition: none;
	}
	body.stb .stb-card:hover {
		transform: none;
	}
}

/* ---------------------------------------------------------------------------
 * 0.3.3: one-tap bid amounts, the history check picker, the free look-up, the How it works page
 * ------------------------------------------------------------------------ */
body.stb-ad-page div.product .summary form.auction_form .stb-bid-label {
	order: 0;
}
body.stb-ad-page div.product .summary form.auction_form div.quantity {
	order: 1;
}
body.stb-ad-page div.product .summary form.auction_form .stb-bid-quick {
	order: 2;
}
body.stb.woocommerce.stb-ad-page div.product .summary form.auction_form .bid_button {
	order: 3;
}
body.stb-ad-page div.product .summary form.auction_form .stb-bid-note {
	order: 4;
}
.stb-bid-quick {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}
.stb-bid-quick[hidden] {
	display: none;
}
body.stb .stb-bid-quick__btn {
	min-height: 40px;
	margin: 0;
	padding: 0 6px;
	border: 1px solid var(--stb-field);
	border-radius: 999px;
	background: var(--stb-white);
	color: var(--stb-ink);
	font-family: var(--stb-font);
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	box-shadow: none;
	cursor: pointer;
}
body.stb .stb-bid-quick__btn:hover {
	border-color: var(--stb-ink);
	background: var(--stb-white);
	color: var(--stb-ink);
}
body.stb .stb-bid-quick__btn:focus-visible {
	outline: 2px solid var(--stb-focus);
	outline-offset: 2px;
}
body.stb .stb-bid-note {
	margin: 0;
	color: var(--stb-muted);
	font-size: 13px;
	line-height: 1.45;
	text-align: center;
}
body.stb .stb-bid-note a {
	color: var(--stb-ink);
	font-weight: 600;
}

/* The check picker */
.stb-pick {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	margin: 0;
}
.stb-pick__reg {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
body.stb .stb-pick__reg label {
	color: var(--stb-text);
	font-size: 14px;
	font-weight: 700;
}
.stb-pick__tiers {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
.stb-check__buy .stb-pick__tiers {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
body.stb .stb-pick__legend {
	margin: 0 0 2px;
	padding: 0;
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.stb-pick__tier {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}
.stb-pick__tier input {
	position: absolute;
	top: 18px;
	left: 16px;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--stb-ink);
}
.stb-pick__card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	padding: 14px 16px 14px 46px;
	border: 1px solid var(--stb-field);
	border-radius: 12px;
	background: var(--stb-white);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.stb-pick__tier:hover .stb-pick__card {
	border-color: var(--stb-ink);
}
.stb-pick__tier input:checked + .stb-pick__card {
	border-color: var(--stb-ink);
	box-shadow: 0 0 0 1px var(--stb-ink);
	background: var(--stb-plate-soft);
}
.stb-pick__tier input:focus-visible + .stb-pick__card {
	outline: 2px solid var(--stb-focus);
	outline-offset: 2px;
}
.stb-pick__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}
.stb-pick__name {
	color: var(--stb-text);
	font-size: 16px;
	font-weight: 800;
}
.stb-pick__price {
	color: var(--stb-text);
	font-size: 18px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}
.stb-pick__list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.stb-pick__line {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	color: var(--stb-muted-2);
	font-size: 13px;
	line-height: 1.4;
}
.stb-pick__line .stb-icon {
	flex: none;
	margin-top: 2px;
	color: var(--stb-good);
}
body.stb .stb-pick__go {
	align-self: stretch;
	justify-content: center;
}
.stb-history__card--check .stb-pick {
	margin-top: 2px;
}

/* The Car check page */
.stb-check__buy {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb .stb-check__heading {
	margin: 0;
	color: var(--stb-text);
	font-size: 20px;
	font-weight: 800;
	text-transform: none;
}
.stb-check__buy .stb-pick__reg .stb-reg-input {
	max-width: 260px;
	min-height: 48px;
}
body.stb .stb-check__buy .stb-pick__go {
	align-self: flex-start;
}
body.stb .stb-check__soon {
	margin: 0;
	color: var(--stb-muted-2);
	font-size: 15px;
}
.stb-free {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
.stb-free__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
}
body.stb .stb-free__plate {
	margin: 0;
	padding: 6px 12px 5px;
	border: 1px solid #E8B900;
	border-radius: 6px;
	background: var(--stb-plate);
	color: var(--stb-ink);
	font-family: var(--stb-font-num);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
}
body.stb .stb-free__name {
	margin: 0;
	color: var(--stb-text);
	font-size: 22px;
	font-weight: 800;
	text-transform: none;
}
body.stb .stb-free__facts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 10px 18px;
	margin: 0;
}
body.stb .stb-free__facts dt {
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
body.stb .stb-free__facts dd {
	margin: 2px 0 0;
	color: var(--stb-text);
	font-weight: 700;
}
.stb-free__mot > summary {
	color: var(--stb-ink);
	font-weight: 700;
	cursor: pointer;
}
.stb-free__mot[open] > summary {
	margin-bottom: 12px;
}
body.stb .stb-free__small {
	margin: 0;
	color: var(--stb-muted);
	font-size: 13px;
}

/* The report: parts a check doesn't cover, the valuation and the detailed spec */
.stb-report__item--off {
	background: var(--stb-bg);
}
body.stb .stb-report__item--off dd {
	color: var(--stb-muted);
	font-weight: 700;
}
body.stb .stb-report__values {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
	margin: 0;
}
body.stb .stb-report__values > div {
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--stb-bg);
}
body.stb .stb-report__values dt {
	color: var(--stb-muted);
	font-size: 13px;
	font-weight: 600;
}
body.stb .stb-report__values dd {
	margin: 4px 0 0;
	color: var(--stb-text);
	font-family: var(--stb-font-num);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.stb-report__spec {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px 28px;
}
body.stb .stb-report__specgroup h3 {
	margin: 0 0 10px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--stb-line);
	color: var(--stb-text);
	font-size: 15px;
	font-weight: 800;
	text-transform: none;
}
body.stb .stb-report__specgroup .stb-report__facts {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* An administrator's test check on an ad */
.stb-history__test {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* How it works */
.stb-how__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
body.stb .stb-how__nav a {
	padding: 8px 14px;
	border: 1px solid var(--stb-field);
	border-radius: 999px;
	background: var(--stb-white);
	color: var(--stb-ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
body.stb .stb-how__nav a:hover {
	border-color: var(--stb-ink);
}
.stb-how__section {
	scroll-margin-top: 90px;
	padding: 22px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb .stb-how__title {
	margin: 0 0 14px;
	color: var(--stb-text);
	font-size: 22px;
	font-weight: 800;
	text-transform: none;
}
body.stb .stb-how__costs {
	display: flex;
	flex-direction: column;
	margin: 0;
}
body.stb .stb-how__costs > div {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 4px 20px;
	padding: 12px 0;
	border-top: 1px solid var(--stb-line-2);
}
body.stb .stb-how__costs > div:first-child {
	border-top: 0;
}
body.stb .stb-how__costs dt {
	color: var(--stb-text);
	font-weight: 700;
}
body.stb .stb-how__costs dd {
	margin: 0;
	color: var(--stb-muted-2);
}
body.stb .stb-how__small {
	margin: 12px 0 0;
	color: var(--stb-muted);
	font-size: 13px;
}
.stb-faq {
	display: flex;
	flex-direction: column;
}
.stb-faq__item {
	border-top: 1px solid var(--stb-line-2);
}
.stb-faq__item:first-child {
	border-top: 0;
}
.stb-faq__item > summary {
	position: relative;
	padding: 14px 36px 14px 0;
	color: var(--stb-text);
	font-size: 16px;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}
.stb-faq__item > summary::-webkit-details-marker {
	display: none;
}
.stb-faq__item > summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 6px;
	width: 9px;
	height: 9px;
	margin-top: -7px;
	border-right: 2px solid var(--stb-muted);
	border-bottom: 2px solid var(--stb-muted);
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}
.stb-faq__item[open] > summary::after {
	margin-top: -2px;
	transform: rotate(-135deg);
}
.stb-faq__answer {
	padding: 0 0 16px;
	color: var(--stb-muted-2);
	font-size: 15px;
	line-height: 1.6;
}
body.stb .stb-faq__answer p,
body.stb .stb-faq__answer ul {
	max-width: 70ch;
	margin: 0 0 8px;
}
body.stb .stb-faq__answer ul {
	padding-left: 18px;
}
body.stb .stb-faq__answer a {
	color: var(--stb-ink);
	font-weight: 600;
}
@media (max-width: 700px) {
	body.stb .stb-how__costs > div {
		grid-template-columns: minmax(0, 1fr);
	}
	.stb-how__section,
	.stb-check__buy,
	.stb-free {
		padding: 16px;
	}
	body.stb .stb-report__specgroup .stb-report__facts {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (prefers-reduced-motion: reduce) {
	.stb-faq__item > summary::after,
	.stb-pick__card {
		transition: none;
	}
}

/* 0.3.3: getting it to the buyer, and payment */
.stb-fields__group:not([hidden]) {
	display: contents;
}
body.stb .stb-field--ways {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
body.stb .stb-field--ways legend {
	margin: 0 0 10px;
	padding: 0;
	color: var(--stb-text);
	font-size: 14px;
	font-weight: 700;
}
body.stb .stb-ways {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin-bottom: 8px;
}
body.stb .stb-ways .stb-check[hidden] {
	display: none;
}
body.stb .stb-contact__warn {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
}
body.stb .stb-contact__warn .stb-icon {
	flex: none;
	margin-top: 1px;
}
/* The message form stacks its fields: each takes its own height, not the search bar's flex size. */
.stb-contact__form .stb-field {
	flex: none;
}
/* Who the buyer is buying from, in the "Buy safely" box. */
body.stb .stb-ad-safety__note {
	margin: 0;
	color: var(--stb-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
}
.stb-footer__bottom > span:last-child {
	max-width: 64ch;
}

/* ---------------------------------------------------------------------------
 * 0.3.4: Messages, offers, sales by post, reports, signing in
 * ------------------------------------------------------------------------ */

/* WooCommerce's store notice (switched on for the staging site) sits in the page above the
   header instead of over it, until it's dismissed. */
body.stb p.demo_store,
body.stb .woocommerce-store-notice {
	position: relative !important;
	top: auto !important;
	bottom: auto !important;
	margin: 0 !important;
}

/* Fields in a column of their own keep their natural height. */
.stb-offer__form .stb-field,
.stb-sale__act .stb-field,
.stb-sale-start__form .stb-field,
.stb-report__form .stb-field {
	flex: none;
}
body.stb .stb-offer__form textarea,
body.stb .stb-sale__act textarea,
body.stb .stb-report__form textarea {
	min-height: 72px;
}

/* The inbox */
body.stb .stb-inbox__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-inbox__list li {
	margin: 0;
}
body.stb .stb-inbox__row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--stb-line);
	border-radius: 14px;
	background: var(--stb-white);
	color: var(--stb-text);
	text-decoration: none;
}
body.stb .stb-inbox__row:hover {
	border-color: var(--stb-field);
	text-decoration: none;
}
body.stb .stb-inbox__row--unread {
	border-color: var(--stb-ink);
	box-shadow: inset 4px 0 0 var(--stb-plate);
}
body.stb .stb-inbox__img {
	flex: none;
	width: 64px;
	height: 64px;
	margin: 0;
	border-radius: 10px;
	object-fit: cover;
}
body.stb .stb-inbox__img--none {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--stb-line-2);
	color: var(--stb-muted);
}
.stb-inbox__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.stb-inbox__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}
body.stb .stb-inbox__ad {
	overflow: hidden;
	font-size: 15px;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body.stb .stb-inbox__when {
	flex: none;
	color: var(--stb-muted);
	font-size: 12px;
}
body.stb .stb-inbox__who {
	color: var(--stb-muted-2);
	font-size: 13px;
	font-weight: 600;
}
body.stb .stb-inbox__text {
	overflow: hidden;
	color: var(--stb-muted);
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body.stb .stb-inbox__row--unread .stb-inbox__text {
	color: var(--stb-text);
}
body.stb .stb-inbox__sale,
body.stb .stb-inbox__offer {
	align-self: flex-start;
	margin-top: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--stb-line-2);
	color: var(--stb-muted-2);
	font-size: 12px;
	font-weight: 700;
}
body.stb .stb-inbox__badge {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--stb-plate);
	color: var(--stb-ink);
	font-size: 13px;
	font-weight: 800;
}

/* One conversation */
.stb-thread {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
body.stb .stb-thread p {
	margin: 0;
}
body.stb .stb-thread__back a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--stb-muted-2);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
body.stb .stb-thread__back .stb-icon {
	transform: rotate(180deg);
}
.stb-thread__head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--stb-line);
	border-radius: 14px;
	background: var(--stb-white);
}
body.stb .stb-thread__img {
	flex: none;
	width: 64px;
	height: 64px;
	margin: 0;
	border-radius: 10px;
	object-fit: cover;
}
.stb-thread__title {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
body.stb .stb-thread__ad {
	color: var(--stb-text);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
}
body.stb a.stb-thread__ad:hover {
	text-decoration: underline;
}
body.stb .stb-thread__meta {
	color: var(--stb-muted);
	font-size: 14px;
}
body.stb .stb-thread__msgs {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 4px 0;
	list-style: none;
}
body.stb .stb-msg {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-width: min(560px, 88%);
	margin: 0;
}
.stb-msg--mine {
	align-self: flex-end;
	align-items: flex-end;
}
.stb-msg--theirs {
	align-self: flex-start;
	align-items: flex-start;
}
body.stb .stb-msg__bubble {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px;
	border-radius: 16px;
	font-size: 15px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}
.stb-msg--mine .stb-msg__bubble {
	border-bottom-right-radius: 6px;
	background: var(--stb-ink);
	color: var(--stb-white);
}
.stb-msg--theirs .stb-msg__bubble {
	border: 1px solid var(--stb-line);
	border-bottom-left-radius: 6px;
	background: var(--stb-white);
	color: var(--stb-text);
}
body.stb .stb-msg__when {
	color: var(--stb-muted);
	font-size: 12px;
}
body.stb .stb-msg--system {
	align-self: center;
	align-items: center;
	max-width: 92%;
	text-align: center;
}
body.stb .stb-msg--system p {
	padding: 8px 14px;
	border-radius: 12px;
	background: var(--stb-line-2);
	color: var(--stb-muted-2);
	font-size: 14px;
	line-height: 1.45;
}
/* Each side of a conversation has its own colour: the buyer blue, the seller yellow. */
body.stb .stb-msg--buyer .stb-msg__bubble {
	border: 1px solid var(--stb-buyer-line);
	background: var(--stb-buyer-bg);
	color: var(--stb-buyer-ink);
}
body.stb .stb-msg--seller .stb-msg__bubble {
	border: 1px solid var(--stb-seller-line);
	background: var(--stb-seller-bg);
	color: var(--stb-seller-ink);
}
body.stb .stb-msg__who {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
body.stb .stb-msg__who strong {
	color: var(--stb-text);
	font-weight: 700;
}
body.stb .stb-msg__avatar {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
}
body.stb .stb-msg__avatar--buyer {
	background: var(--stb-uk);
	color: var(--stb-white);
}
body.stb .stb-msg__avatar--seller {
	background: var(--stb-plate);
	color: var(--stb-ink);
}
body.stb .stb-thread__you {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 6px;
	margin-top: 2px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
}
body.stb .stb-thread__you--buyer,
body.stb .stb-inbox__side--buyer {
	background: var(--stb-buyer-bg);
	color: var(--stb-buyer-ink);
}
body.stb .stb-thread__you--seller,
body.stb .stb-inbox__side--seller {
	background: var(--stb-seller-bg);
	color: var(--stb-seller-ink);
}
body.stb .stb-inbox__side {
	display: inline-block;
	margin-right: 4px;
	padding: 1px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}
/* Offers */
.stb-msg--offer .stb-msg__bubble {
	min-width: 220px;
}
.stb-msg--mine.stb-msg--offer .stb-msg__bubble {
	background: var(--stb-ink-2);
}
.stb-msg--theirs.stb-msg--offer .stb-msg__bubble {
	border-color: var(--stb-plate);
	box-shadow: inset 0 0 0 1px var(--stb-plate);
}
body.stb .stb-msg--buyer.stb-msg--offer .stb-msg__bubble {
	border-left: 4px solid var(--stb-uk);
	background: var(--stb-buyer-bg);
	box-shadow: none;
}
body.stb .stb-msg--seller.stb-msg--offer .stb-msg__bubble {
	border-left: 4px solid var(--stb-plate);
	background: var(--stb-seller-bg);
	box-shadow: none;
}
body.stb .stb-msg--buyer .stb-msg__status--accepted,
body.stb .stb-msg--seller .stb-msg__status--accepted {
	color: var(--stb-good);
}
body.stb .stb-msg__kind {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.8;
}
body.stb .stb-msg__amount {
	font-family: var(--stb-font-num);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
}
body.stb .stb-msg__status {
	font-size: 13px;
	font-weight: 700;
}
.stb-msg__status--accepted {
	color: #7EE2A8;
}
.stb-msg--theirs .stb-msg__status--accepted {
	color: var(--stb-good);
}
.stb-msg__acts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}
.stb-msg__act {
	margin: 0;
}
body.stb .stb-msg__act .stb-btn {
	min-height: 40px;
}
.stb-msg__counter > summary {
	color: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}
.stb-msg__counter .stb-msg__act {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}
body.stb .stb-msg__counter input {
	width: 140px;
	min-height: 40px;
	padding: 6px 10px 6px 30px;
	border: 1px solid var(--stb-field);
	border-radius: 10px;
	background: var(--stb-white);
	color: var(--stb-text);
	font-size: 16px;
}
/* The reply box */
.stb-thread__reply {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	padding: 12px;
	border: 1px solid var(--stb-line);
	border-radius: 14px;
	background: var(--stb-white);
}
body.stb .stb-thread__reply textarea {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 52px;
	margin: 0;
	padding: 12px;
	border: 1px solid var(--stb-field);
	border-radius: 10px;
	background: var(--stb-white);
	color: var(--stb-text);
	font-size: 16px;
	line-height: 1.4;
	resize: vertical;
}
body.stb .stb-thread__closed,
body.stb .stb-thread__safe {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: var(--stb-muted);
	font-size: 13px;
	line-height: 1.45;
}

/* "Make an offer" */
.stb-offer > summary {
	list-style: none;
	cursor: pointer;
}
.stb-offer > summary::-webkit-details-marker {
	display: none;
}
.stb-offer[open] > summary {
	margin-bottom: 12px;
}
.stb-offer__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.stb-offer--thread {
	padding: 12px;
	border: 1px solid var(--stb-line);
	border-radius: 14px;
	background: var(--stb-white);
}
/* Views: on the seller's own ad, and in My ads. */
body.stb .stb-own-views,
body.stb .stb-dash-views {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--stb-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}
body.stb .stb-dash-views {
	margin-top: 4px;
	font-size: 12px;
}
body.stb .stb-own-views .stb-icon,
body.stb .stb-dash-views .stb-icon {
	flex: none;
}
/* What sending an offer, or accepting a counter-offer, commits the buyer to. */
body.stb .stb-offer__binding,
body.stb .stb-msg__binding {
	margin: 0;
	color: var(--stb-muted);
	font-size: 13px;
	line-height: 1.45;
}
body.stb .stb-msg__binding {
	margin-top: 8px;
}
/* Where the buyer's offer stands, on the ad. */
body.stb .stb-offer-status {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--stb-line-2);
	color: var(--stb-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}
body.stb .stb-offer-status .stb-icon {
	flex: none;
	margin-top: 2px;
}
body.stb .stb-offer-status--open,
body.stb .stb-inbox__offer--open {
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
}
body.stb .stb-offer-status--accepted,
body.stb .stb-inbox__offer--accepted {
	background: var(--stb-good-bg);
	color: var(--stb-good);
}

/* A sale by post */
body.stb .stb-sale {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px;
	border: 1px solid var(--stb-ink);
	border-radius: 16px;
	background: var(--stb-white);
}
.stb-sale__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
}
body.stb .stb-sale__title {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
}
body.stb .stb-sale__sums {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}
body.stb .stb-sale__sums div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 12px;
	border-radius: 10px;
	background: var(--stb-line-2);
}
body.stb .stb-sale__sums dt {
	margin: 0;
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
}
body.stb .stb-sale__sums dd {
	margin: 0;
	font-family: var(--stb-font-num);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
}
body.stb .stb-sale__total {
	background: var(--stb-plate-soft) !important;
}
body.stb .stb-sale__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: stb-step;
}
body.stb .stb-sale__steps li {
	position: relative;
	margin: 0;
	padding-top: 12px;
	border-top: 4px solid var(--stb-line);
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
}
body.stb .stb-sale__steps li.is-done {
	border-top-color: var(--stb-good);
	color: var(--stb-good);
}
body.stb .stb-sale__tracking {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--stb-good-bg);
	color: var(--stb-good);
	font-size: 14px;
	font-weight: 600;
}
body.stb .stb-sale__tracking a {
	color: var(--stb-good);
	font-weight: 800;
}
.stb-sale__next {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
body.stb .stb-sale__next p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}
.stb-sale__act {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}
body.stb .stb-sale__act .stb-btn {
	align-self: flex-start;
}
.stb-sale__problem > summary {
	color: var(--stb-bad);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.stb-sale__problem[open] > summary {
	margin-bottom: 10px;
}
body.stb .stb-sale__small {
	color: var(--stb-muted);
	font-size: 13px !important;
}
.stb-sale-start > summary {
	list-style: none;
	cursor: pointer;
}
.stb-sale-start > summary::-webkit-details-marker {
	display: none;
}
.stb-sale-start[open] > summary {
	margin-bottom: 12px;
}
.stb-sale-start__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--stb-line);
	border-radius: 14px;
	background: var(--stb-white);
}
body.stb .stb-sale-start__form p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}
body.stb .stb-sale-start__form .stb-btn {
	align-self: flex-start;
}
.stb-fields--two {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Purchases */
body.stb .stb-purchases {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-purchases li {
	margin: 0;
}
body.stb .stb-purchases a {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	padding: 14px 16px;
	border: 1px solid var(--stb-line);
	border-radius: 14px;
	background: var(--stb-white);
	color: var(--stb-text);
	text-decoration: none;
}
body.stb .stb-purchases__ad {
	flex: 1 1 200px;
	font-weight: 800;
}
body.stb .stb-purchases__sum {
	font-family: var(--stb-font-num);
	font-size: 20px;
	font-weight: 700;
}

/* Report this ad, or a conversation */
body.stb .stb-report {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
body.stb .stb-report__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	color: var(--stb-muted);
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
	list-style: none;
}
body.stb .stb-report__link::-webkit-details-marker {
	display: none;
}
.stb-report__box[open] > .stb-report__link {
	margin-bottom: 10px;
}
.stb-report__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	background: var(--stb-white);
}
body.stb .stb-report__reasons {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}
body.stb .stb-report__reasons legend {
	margin: 0 0 4px;
	padding: 0;
	font-size: 14px;
	font-weight: 800;
}
body.stb .stb-report__reasons label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
}
body.stb .stb-report__reasons input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--stb-ink);
}
body.stb .stb-report__form .stb-btn {
	align-self: flex-start;
}
body.stb .stb-report__small {
	margin: 0;
	color: var(--stb-muted);
	font-size: 12px;
	line-height: 1.45;
}
/* "Don't email me about this report", on every report form. */
body.stb .stb-report__form label.stb-report__quiet {
	font-size: 14px;
}

/* Signing in, and "Free to join" */
body.stb .stb-signin-intro {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 24px;
	padding: 16px 18px;
	border-radius: 14px;
	background: var(--stb-plate-soft);
	color: var(--stb-ink);
}
body.stb .stb-signin-intro p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}
body.stb .stb-signin-intro__title {
	font-size: 17px !important;
	font-weight: 800;
}
body.stb .stb-free-join {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 18px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--stb-good-bg);
	color: var(--stb-good);
}
body.stb .stb-free-join__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 16px;
	font-weight: 800;
}
body.stb .stb-free-join__list {
	margin: 0;
	padding-left: 18px;
	color: var(--stb-text);
	font-size: 14px;
	line-height: 1.6;
}

/* My account: the latest conversations */
body.stb .stb-account-threads {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-account-threads li {
	margin: 0;
}
body.stb .stb-account-threads a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--stb-line-2);
	color: var(--stb-text);
	text-decoration: none;
}
body.stb .stb-account-threads a.is-unread {
	box-shadow: inset 4px 0 0 var(--stb-plate);
}
body.stb .stb-account-threads__ad {
	font-weight: 800;
}
body.stb .stb-account-threads__meta {
	color: var(--stb-muted);
	font-size: 13px;
}

@media (max-width: 600px) {
	body.stb .stb-msg {
		max-width: 94%;
	}
	.stb-thread__reply {
		flex-direction: column;
		align-items: stretch;
	}
	body.stb .stb-thread__reply .stb-btn {
		width: 100%;
	}
	body.stb .stb-sale__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	body.stb .stb-inbox__img,
	body.stb .stb-thread__img {
		width: 52px;
		height: 52px;
	}
}

/* The seller can't start a sale by post here while another buyer's is waiting */
body.stb .stb-sale-start__busy {
	margin: 12px 0 0;
	padding: 12px 14px;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	background: var(--stb-white);
	color: var(--stb-text);
	font-size: 14px;
	line-height: 1.5;
}
body.stb .stb-sale-start__busy a {
	font-weight: 700;
	white-space: nowrap;
}
/* A warning on the sale panel: the part has stopped selling */
body.stb .stb-sale__warn {
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--stb-bad-bg);
	color: var(--stb-bad);
	font-weight: 600;
}

/*
 * A seller's page. Buyers can't leave ratings on this site (they don't order through it), so
 * WC Vendors' five stars would only ever be empty praise: they're hidden. The name in the
 * site's heading weight.
 */
body.stb .wcv-store-header .meta .rating {
	display: none;
}
body.stb .wcv-store-header .name .txt {
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.15;
}

/*
 * Breadcrumbs: WooCommerce's #777 grey is too light to read on white or on the page grey, and
 * its links are told apart by colour alone. Darker, with the links underlined.
 */
body.stb .woocommerce-breadcrumb {
	color: var(--stb-muted);
}
body.stb .woocommerce-breadcrumb a {
	color: var(--stb-muted-2);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.stb .woocommerce-breadcrumb a:hover {
	color: var(--stb-ink);
}

/* Saved ads: the site's cards, each with a Remove link under it. */
.stb-saved__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
.stb-saved__item > .stb-card {
	flex: 1;
}
body.stb .stb-saved__remove {
	align-self: flex-start;
	padding: 4px 2px;
	color: var(--stb-muted-2);
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.stb .stb-saved__remove:hover {
	color: var(--stb-bad);
}

/* A page that isn't there (most often an ended ad): what happened, where to go, ads still for sale. */
body.stb .error-404 {
	background: transparent;
}
body.stb .error-404 .stb-404 {
	display: flex;
	flex-direction: column;
	gap: 28px;
	text-align: left;
}
@media (max-width: 921px) {
	body.stb .error-404 .stb-404 {
		padding-inline: 12px;
	}
}
.stb-404__head {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
body.stb .stb-404__head .stb-section__title,
body.stb .stb-404__head .stb-section__text {
	margin: 0;
}
.stb-404__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
}
.stb-404__more {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* ---------------------------------------------------------------------------
 * Trade accounts: My account → Trade account, the badge and business details on ads and
 * seller pages, notes in conversations, and what stops an ad going live.
 * ------------------------------------------------------------------------ */
body.stb .stb-trade,
body.stb .stb-trade *,
body.stb .stb-trade-page,
body.stb .stb-trade-page *,
body.stb .stb-thread-note,
body.stb .stb-thread-note * {
	box-sizing: border-box;
}
.stb-trade {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 760px;
}
body.stb .stb-trade .stb-notice {
	margin: 0;
}
body.stb .stb-trade .stb-notice ul {
	margin: 6px 0 0;
	padding-left: 18px;
}
body.stb .stb-trade .stb-notice a {
	color: inherit;
	text-decoration: underline;
}
.stb-trade__status {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 20px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
.stb-trade__status--good {
	border-color: #B9DFC6;
	background: var(--stb-good-bg);
}
.stb-trade__status--bad {
	border-color: #F3C2BD;
	background: var(--stb-bad-bg);
}
.stb-trade__status-icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: var(--stb-ink);
	color: var(--stb-plate);
}
body.stb .stb-trade__status p {
	margin: 0;
	line-height: 1.5;
}
body.stb .stb-trade__status-title {
	margin-bottom: 4px !important;
	font-size: 18px;
	font-weight: 800;
}
.stb-trade__intro {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb .stb-trade__intro p {
	margin: 0;
}
body.stb .stb-trade__lead {
	font-size: 17px;
	line-height: 1.5;
}
body.stb .stb-trade__sub {
	font-weight: 700;
}
body.stb .stb-trade__points {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-trade__points li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	line-height: 1.45;
}
body.stb .stb-trade__points .stb-icon {
	flex: none;
	margin-top: 3px;
	color: var(--stb-good);
}
body.stb .stb-trade__details {
	display: grid;
	gap: 0;
	margin: 0;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
	overflow: hidden;
}
body.stb .stb-trade__details > div {
	display: grid;
	grid-template-columns: minmax(140px, 200px) 1fr;
	gap: 4px 16px;
	padding: 12px 18px;
	border-top: 1px solid var(--stb-line-2);
}
body.stb .stb-trade__details > div:first-child {
	border-top: 0;
}
body.stb .stb-trade__details dt {
	color: var(--stb-muted);
	font-size: 14px;
	font-weight: 600;
}
body.stb .stb-trade__details dd {
	min-width: 0;
	margin: 0;
	overflow-wrap: anywhere;
}
@media (max-width: 600px) {
	body.stb .stb-trade__details > div {
		grid-template-columns: 1fr;
	}
}
.stb-trade__change > summary {
	list-style: none;
	cursor: pointer;
}
.stb-trade__change > summary::-webkit-details-marker {
	display: none;
}
.stb-trade__change[open] > summary {
	margin-bottom: 12px;
}
.stb-trade__form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
body.stb .stb-trade__form > .stb-field__help {
	margin: 0;
}
body.stb .stb-trade .stb-trade__group {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	margin: 0;
	padding: 20px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb .stb-trade .stb-trade__group legend {
	float: left;
	width: 100%;
	margin: 0 0 2px;
	padding: 0;
	border: 0;
	color: var(--stb-text);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
}
/* In the group's column, a field is only as tall as what's in it. */
body.stb .stb-trade__group > .stb-field {
	flex: none;
}
body.stb .stb-trade__group legend + * {
	clear: both;
}
body.stb .stb-trade__group .stb-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
body.stb .stb-trade__group input[type="url"],
body.stb .stb-trade__group select {
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--stb-field);
	border-radius: 10px;
	background-color: var(--stb-white);
	color: var(--stb-text);
	font-size: 16px;
	line-height: 1.4;
}
body.stb .stb-trade__group select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111418' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}
body.stb .stb-trade__group input[type="url"]:focus,
body.stb .stb-trade__group select:focus {
	border-color: var(--stb-ink);
	outline: 2px solid var(--stb-focus);
	outline-offset: 1px;
}
body.stb .stb-field--error input,
body.stb .stb-field--error select,
body.stb .stb-field--error textarea {
	border-color: var(--stb-bad) !important;
}
body.stb .stb-field__error {
	margin: 0;
	color: var(--stb-bad);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}
.stb-trade__agreement {
	max-height: 320px;
	padding: 4px 18px 16px;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	background: var(--stb-bg);
	overflow-y: auto;
	font-size: 15px;
	line-height: 1.55;
}
.stb-trade__agreement:focus-visible {
	outline: 2px solid var(--stb-focus);
	outline-offset: 2px;
}
body.stb .stb-trade__agreement h3 {
	margin: 16px 0 4px;
	font-size: 15px;
	font-weight: 800;
	text-transform: none;
	letter-spacing: normal;
}
body.stb .stb-trade__agreement p {
	margin: 0;
}
body.stb .stb-trade__agreement > p:first-child {
	margin-top: 14px;
}
.stb-trade__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
}
body.stb .stb-trade__actions .stb-field__help {
	margin: 0;
}
body.stb .stb-account-trade-link {
	margin: 0 0 24px;
	color: var(--stb-muted-2);
	font-size: 14px;
}
body.stb .stb-account-trade-link a {
	font-weight: 700;
}
body.stb .stb-seller-type .stb-field__help {
	width: 100%;
	margin: 4px 0 0;
}

/* The badge, and a trader's details on their ads */
body.stb .stb-trade-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 9px 3px 7px;
	border-radius: 999px;
	background: var(--stb-good-bg);
	color: var(--stb-good);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
}
body.stb .stb-ad-seller__badge {
	margin: 4px 0 2px;
}
body.stb .stb-trade-public {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 6px 0 4px;
	color: var(--stb-muted-2);
	font-size: 14px;
	line-height: 1.45;
}
body.stb .stb-trade-public p {
	margin: 0;
	overflow-wrap: anywhere;
}
body.stb .stb-trade-public a {
	color: var(--stb-text);
	font-weight: 600;
}

/* A trader's seller page */
body.stb .stb-trade-page {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 24px;
	padding: 20px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb .stb-trade-page p {
	margin: 0;
}
body.stb .stb-trade-page__label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: var(--stb-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
body.stb .stb-trade-page__label .stb-trade-badge {
	letter-spacing: normal;
	text-transform: none;
}
body.stb .stb-trade-page__name {
	font-size: 20px;
	font-weight: 800;
}
body.stb .stb-trade-page .stb-trade-public {
	font-size: 15px;
}
body.stb .stb-trade-page__rights {
	margin-top: 6px !important;
	color: var(--stb-muted);
	font-size: 13px;
	line-height: 1.45;
}

/* Notes at the top of a conversation: a scrap metal dealer, a checked trade seller */
body.stb .stb-thread-note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid #B9DFC6;
	border-radius: 14px;
	background: var(--stb-good-bg);
	color: var(--stb-text);
}
body.stb .stb-thread-note > .stb-icon {
	flex: none;
	margin-top: 2px;
	color: var(--stb-good);
}
body.stb .stb-thread-note p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}
body.stb .stb-thread-note__title {
	margin-bottom: 2px !important;
	font-size: 15px !important;
	font-weight: 800;
}

/* What to sort out before an ad can go live */
body.stb .stb-blockers__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-blockers__list li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--stb-white);
}
body.stb .stb-blockers__list li span {
	flex: 1 1 260px;
	min-width: 0;
	line-height: 1.5;
}

/* Text pages (About, Contact, Terms, Privacy, the trade seller agreement): lines short enough to
 * read, and headings in sentence case (the theme's kit capitalises every word). */
body.stb.stb-text-page .entry-content h2,
body.stb.stb-text-page .entry-content h3,
body.stb.stb-text-page .entry-content h4 {
	text-transform: none;
	letter-spacing: normal;
}
body.stb.stb-text-page .entry-content > p,
body.stb.stb-text-page .entry-content > ul,
body.stb.stb-text-page .entry-content > ol,
body.stb.stb-text-page .entry-content > h2,
body.stb.stb-text-page .entry-content > h3,
body.stb.stb-text-page .entry-content > h4,
body.stb.stb-text-page .entry-content > blockquote,
body.stb.stb-text-page .entry-content > .wp-block-list {
	max-width: 46rem;
}
body.stb.stb-text-page .entry-content > p,
body.stb.stb-text-page .entry-content li {
	line-height: 1.65;
}
body.stb.stb-text-page .entry-content > h2 {
	margin-top: 1.8em;
}
body.stb.stb-text-page .entry-content > h3 {
	margin-top: 1.4em;
}
body.stb.stb-text-page .entry-content .wp-block-table {
	overflow-x: auto;
}
/* On a phone the trade account form is one column: business names, emails and councils are long. */
@media (max-width: 600px) {
	body.stb .stb-trade__group .stb-fields {
		grid-template-columns: minmax(0, 1fr);
	}
	body.stb .stb-trade .stb-trade__group {
		padding: 16px;
	}
}

/* What a buyer must know before going to see it: not roadworthy, a write-off, finance owing */
body.stb .stb-ad-warnings {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}
body.stb .stb-ad-warnings__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid #F2D38A;
	border-radius: 12px;
	background: var(--stb-warn-bg);
	color: var(--stb-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}
body.stb .stb-ad-warnings__item .stb-icon {
	flex: none;
	margin-top: 2px;
	color: var(--stb-warn);
}
body.stb .stb-ad-warnings__item--road {
	border-color: #F4C7C3;
	background: var(--stb-bad-bg);
}
body.stb .stb-ad-warnings__item--road .stb-icon {
	color: var(--stb-bad);
}

/* The same, in short, on a card */
body.stb .stb-card__flags {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 6px 0 0;
	color: var(--stb-warn);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}
body.stb .stb-card__flags .stb-icon {
	flex: none;
}

/* Asking to start straight away (the pay page) and for a report straight away (the check picker) */
body.stb .stb-pay__consent,
body.stb .stb-pick__now {
	flex: none;
	margin: 4px 0 16px;
	padding: 12px 14px;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	background: var(--stb-bg);
}
body.stb .stb-pay__consent label.stb-check,
body.stb .stb-pick__now label.stb-check {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}
body.stb .stb-pick__now {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
body.stb .stb-pick__now a {
	color: var(--stb-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}
body.stb .stb-pick__signin {
	margin: 0;
	color: var(--stb-muted-2);
	font-size: 14px;
	line-height: 1.5;
}
body.stb .stb-pay__consent input[aria-invalid="true"] {
	outline: 2px solid var(--stb-bad);
	outline-offset: 2px;
}
body.stb .stb-pay__rights {
	margin: 6px 0 0 30px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--stb-muted);
}
body.stb .stb-pay__rights a {
	color: var(--stb-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Closing an account: My account → Close Account, its own page since 0.4.28.9 */
body.stb .stb-close {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
body.stb .stb-close p {
	max-width: 46rem;
	margin: 0;
	line-height: 1.55;
}
body.stb .stb-close .stb-notice {
	margin: 0;
}
body.stb .stb-close__box > summary {
	list-style: none;
}
body.stb .stb-close__box > summary::-webkit-details-marker {
	display: none;
}
body.stb .stb-close__form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin-top: 14px;
	padding: 16px;
	border: 1px solid #F4C7C3;
	border-radius: 12px;
	background: var(--stb-bad-bg);
}
body.stb .stb-btn--danger,
body.stb .stb-btn--danger:hover,
body.stb .stb-btn--danger:focus {
	background: var(--stb-bad);
	color: var(--stb-white);
}

/* An auction winner who didn't complete (the seller's page), and the offer to the next bidder */
body.stb .stb-noshow {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 46rem;
}
body.stb .stb-noshow p {
	margin: 0;
	line-height: 1.55;
}
body.stb .stb-noshow .stb-notice {
	margin: 0;
}
body.stb .stb-noshow__ad {
	font-size: 18px;
}
body.stb .stb-noshow__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	background: var(--stb-white);
}
body.stb .stb-noshow__form .stb-field {
	flex: none;
}
body.stb .stb-noshow__form textarea {
	min-height: 72px;
}
body.stb .stb-noshow__form .stb-btn {
	align-self: flex-start;
}
body.stb .stb-noshow__choices {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 12px 16px;
}
body.stb .stb-noshow__choices form {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}
body.stb .stb-noshow__choices p {
	margin: 0;
}
body.stb .stb-owed__noshow {
	color: var(--stb-muted);
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
}

/* Links inside small print read as links (underlined), not only by colour. */
body.stb .stb-history__small a {
	color: inherit;
	text-decoration: underline;
}

/* Reading and accepting the Terms and Conditions (My account) */
body.stb .stb-terms {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 52rem;
}
body.stb .stb-terms p {
	margin: 0;
	line-height: 1.55;
}
body.stb .stb-terms .stb-notice {
	margin: 0;
}
body.stb .stb-terms__lead {
	font-size: 17px;
	font-weight: 600;
}
body.stb .stb-terms__text {
	max-height: min(60vh, 560px);
	overflow-y: auto;
	padding: 4px 20px 12px;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	background: var(--stb-white);
	color: var(--stb-text);
	font-size: 15px;
	line-height: 1.6;
}
body.stb .stb-terms__text:focus-visible {
	outline: 3px solid var(--stb-focus);
	outline-offset: 2px;
}
body.stb .stb-terms__text h1,
body.stb .stb-terms__text h2,
body.stb .stb-terms__text h3,
body.stb .stb-terms__text h4 {
	margin: 1.3em 0 0.45em;
	color: var(--stb-ink);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: normal;
	text-transform: none;
}
body.stb .stb-terms__text h1,
body.stb .stb-terms__text h2 {
	font-size: 20px;
}
body.stb .stb-terms__text h3 {
	font-size: 17px;
}
body.stb .stb-terms__text h4 {
	font-size: 15px;
}
body.stb .stb-terms__text p,
body.stb .stb-terms__text li {
	margin: 0 0 0.75em;
}
body.stb .stb-terms__text ul,
body.stb .stb-terms__text ol {
	margin: 0 0 0.75em 1.25em;
	padding: 0;
}
body.stb .stb-terms__text table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 14px;
}
body.stb .stb-terms__text th,
body.stb .stb-terms__text td {
	padding: 6px 8px;
	border: 1px solid var(--stb-line);
	text-align: left;
	vertical-align: top;
}
body.stb .stb-terms__open {
	color: var(--stb-muted);
	font-size: 14px;
}
body.stb .stb-terms__open a {
	color: inherit;
	text-decoration: underline;
}
body.stb .stb-terms__form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	background: var(--stb-bg);
}

/* Above an auction's bid box, before someone's first bid */
body.stb .stb-terms-prompt {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid #F2D38A;
	border-radius: 12px;
	background: var(--stb-warn-bg);
	color: var(--stb-text);
}
body.stb .stb-terms-prompt p {
	flex: 1 1 240px;
	min-width: 0;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}
body.stb .stb-terms-prompt strong {
	display: block;
	margin-bottom: 2px;
	font-size: 15px;
}
/* The Contact us page's form (scoped to its box: the ad page's message form shares the class names). */
body.stb #stb-contact {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 46rem;
	margin: 8px auto 1.6em;
}
body.stb #stb-contact .stb-contact__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
	border: 1px solid var(--stb-line);
	border-radius: 14px;
	background: var(--stb-white);
}
body.stb .stb-contact__topics {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}
body.stb .stb-contact__topics legend {
	margin: 0 0 6px;
	color: var(--stb-text);
	font-size: 15px;
	font-weight: 700;
}
body.stb .stb-contact__topics label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	line-height: 1.45;
	cursor: pointer;
}
body.stb .stb-contact__topics input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--stb-ink);
}
body.stb #stb-contact .stb-contact__form .stb-btn {
	align-self: flex-start;
}
body.stb #stb-contact .stb-contact__small {
	margin: 0;
	color: var(--stb-muted);
	font-size: 13px;
}
body.stb #stb-contact .stb-contact__small a {
	color: inherit;
	text-decoration: underline;
}
/* A message Save The Banger removed after a report */
body.stb .stb-msg--removed .stb-msg__bubble {
	background: var(--stb-bg);
	color: var(--stb-muted);
}
body.stb .stb-msg--removed .stb-msg__text {
	font-style: italic;
}
/* More than one document to accept: each with its name */
body.stb .stb-terms__doc {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
body.stb .stb-terms__doc-title {
	margin: 8px 0 0;
	color: var(--stb-ink);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
	text-transform: none;
}

/* Sign-up: "I'm 18 or over", then what creating an account agrees to */
body.stb .stb-signup-age {
	margin: 14px 0 6px;
}
body.stb .woocommerce-form-register .stb-signup-age label.stb-check {
	font-size: 15px;
	font-weight: 600;
}
body.stb .stb-signup-legal {
	margin: 8px 0 16px;
	color: var(--stb-muted-2);
	font-size: 14px;
	line-height: 1.55;
}
body.stb .stb-signup-legal a,
body.stb .agree-to-terms-container a {
	color: var(--stb-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* The legal documents' pages: the version line, the contents, tables, and headings that clear
 * the sticky header when a link jumps to them */
body.stb.stb-legal-page .entry-content > .stb-legal-version {
	margin-top: 0;
	margin-bottom: 8px;
	color: var(--stb-muted);
	font-size: 14px;
}
body.stb.stb-legal-page .entry-content [id] {
	scroll-margin-top: 96px;
}
body.stb.stb-legal-page .entry-content > h2.stb-legal-contents__title {
	margin-top: 1.2em;
	margin-bottom: 0.4em;
	font-size: 18px;
}
body.stb.stb-legal-page .entry-content > .stb-legal-contents {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
	gap: 2px 28px;
	max-width: 46rem;
	margin-top: 0;
	margin-bottom: 1.6em;
	padding: 14px 18px;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	background: var(--stb-bg);
	list-style: none;
}
body.stb.stb-legal-page .entry-content > .stb-legal-contents li {
	margin: 0;
	line-height: 1.45;
}
body.stb.stb-legal-page .entry-content > .stb-legal-contents a {
	display: inline-block;
	padding: 5px 0;
	color: var(--stb-ink);
	font-size: 15px;
}
body.stb.stb-legal-page .entry-content > .stb-legal-table {
	max-width: 46rem;
	margin-top: 0;
	margin-bottom: 1.4em;
}
body.stb.stb-legal-page .stb-legal-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}
body.stb.stb-legal-page .stb-legal-table th,
body.stb.stb-legal-page .stb-legal-table td {
	padding: 9px 12px;
	border: 1px solid var(--stb-line);
	background: var(--stb-white);
	text-align: left;
	vertical-align: top;
}
body.stb.stb-legal-page .stb-legal-table thead {
	border-bottom: 0;
}
body.stb.stb-legal-page .stb-legal-table thead th {
	border-bottom: 2px solid var(--stb-field);
	background: var(--stb-white);
	color: var(--stb-ink);
	font-weight: 700;
}
body.stb.stb-legal-page .entry-content a[href^="mailto:"] {
	overflow-wrap: anywhere;
}
/* On a phone, each row of a document's table is a card, with each cell's column name above it */
@media (max-width: 600px) {
	body.stb.stb-legal-page .stb-legal-table table,
	body.stb.stb-legal-page .stb-legal-table tbody,
	body.stb.stb-legal-page .stb-legal-table tr,
	body.stb.stb-legal-page .stb-legal-table td {
		display: block;
		width: 100%;
	}
	body.stb.stb-legal-page .stb-legal-table table {
		border: 0;
	}
	body.stb.stb-legal-page .stb-legal-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
	body.stb.stb-legal-page .stb-legal-table tr {
		margin: 0 0 10px;
		padding: 10px 14px;
		border: 1px solid var(--stb-line);
		border-radius: 12px;
		background: var(--stb-white);
	}
	body.stb.stb-legal-page .stb-legal-table td {
		padding: 3px 0;
		border: 0;
	}
	body.stb.stb-legal-page .stb-legal-table td:first-child {
		color: var(--stb-ink);
		font-weight: 700;
	}
	body.stb.stb-legal-page .stb-legal-table td:not(:first-child)[data-label]::before {
		content: attr(data-label);
		display: block;
		color: var(--stb-muted);
		font-size: 13px;
		font-weight: 600;
	}
}

/* ---------------------------------------------------------------------------
 * My account → Payments, and receipts
 * ------------------------------------------------------------------------ */
body.stb .stb-payments__summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
	margin: 0 0 20px;
}
body.stb .stb-payments__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
	padding: 18px 20px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb .stb-payments__card p {
	margin: 0;
}
body.stb .stb-payments__card-label {
	color: var(--stb-muted-2);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
body.stb .stb-payments__card-number {
	color: var(--stb-text);
	font-family: var(--stb-font-num);
	font-size: 38px;
	font-weight: 700;
	line-height: 1;
}
body.stb .stb-payments__card-text {
	color: var(--stb-muted-2);
	font-size: 14px;
}
body.stb .stb-payments__card .stb-btn {
	margin-top: 6px;
}
body.stb .stb-payments__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px 14px;
	margin: 0 0 16px;
}
body.stb .stb-payments__filters .stb-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	margin: 0;
}
body.stb .stb-payments__filters label {
	color: var(--stb-muted-2);
	font-size: 13px;
	font-weight: 700;
}
body.stb .stb-payments__filters select {
	min-height: 44px;
	max-width: 100%;
	padding: 0 12px;
	border: 1px solid var(--stb-field);
	border-radius: 10px;
	background: var(--stb-white);
	color: var(--stb-text);
}
body.stb .stb-payments__csv {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin-left: auto;
	color: var(--stb-ink);
	font-size: 14px;
	font-weight: 700;
}
body.stb .stb-payments__totals,
body.stb .stb-payments__none {
	margin: 0 0 12px;
	color: var(--stb-muted-2);
	font-size: 15px;
	font-weight: 700;
}
body.stb .stb-payments {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-payments__item {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto;
	align-items: start;
	gap: 6px 18px;
	margin: 0;
	padding: 16px 18px;
	border: 1px solid var(--stb-line);
	border-radius: 14px;
	background: var(--stb-white);
}
body.stb .stb-payments__item p {
	margin: 0;
}
body.stb .stb-payments__when {
	padding-top: 2px;
	color: var(--stb-muted);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}
body.stb .stb-payments__main {
	min-width: 0;
}
body.stb .stb-payments__title {
	color: var(--stb-text);
	font-size: 16px;
	font-weight: 800;
	overflow-wrap: anywhere;
}
body.stb .stb-payments__title a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--stb-line);
	text-underline-offset: 3px;
}
body.stb .stb-payments__detail,
body.stb .stb-payments__number {
	margin-top: 4px;
	color: var(--stb-muted);
	font-size: 14px;
}
body.stb .stb-payments__money {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	text-align: right;
}
body.stb .stb-payments__amount {
	color: var(--stb-text);
	font-family: var(--stb-font-num);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
}
body.stb .stb-payments__amount--free {
	color: var(--stb-muted-2);
	font-family: var(--stb-font);
	font-size: 15px;
}
body.stb .stb-payments__credits {
	font-size: 14px;
	font-weight: 800;
}
body.stb .stb-payments__credits--in {
	color: var(--stb-good);
}
body.stb .stb-payments__credits--out {
	color: var(--stb-text);
}
body.stb .stb-payments__credits span {
	color: var(--stb-muted);
	font-weight: 600;
}
body.stb .stb-payments__status {
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}
body.stb .stb-payments__status--good {
	background: var(--stb-good-bg);
	color: var(--stb-good);
}
body.stb .stb-payments__status--warn {
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
}
body.stb .stb-payments__status--bad {
	background: var(--stb-bad-bg);
	color: var(--stb-bad);
}
body.stb .stb-payments__status--muted {
	background: var(--stb-line-2);
	color: var(--stb-muted-2);
}
body.stb .stb-payments__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	grid-column: 2 / -1;
}
body.stb .stb-payments__pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 18px 0 0;
	color: var(--stb-muted-2);
	font-weight: 700;
}
@media (max-width: 600px) {
	body.stb .stb-payments__item {
		grid-template-columns: minmax(0, 1fr) auto;
	}
	body.stb .stb-payments__when {
		grid-column: 1 / -1;
		padding: 0;
	}
	body.stb .stb-payments__actions {
		grid-column: 1 / -1;
	}
	body.stb .stb-payments__csv {
		margin-left: 0;
	}
}

body.stb .stb-receipt {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 0 24px;
	padding: 20px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb .stb-receipt p {
	margin: 0;
}
body.stb .stb-receipt__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px 32px;
}
body.stb .stb-receipt__from {
	min-width: 0;
	font-weight: 700;
}
body.stb .stb-receipt__label {
	color: var(--stb-muted-2);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
body.stb .stb-receipt__facts {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 6px 16px;
	margin: 0;
	min-width: 0;
}
body.stb .stb-receipt__facts dt {
	color: var(--stb-muted);
	font-weight: 600;
}
body.stb .stb-receipt__facts dd {
	margin: 0;
	color: var(--stb-text);
	font-weight: 700;
	overflow-wrap: anywhere;
}
body.stb .stb-receipt__note {
	color: var(--stb-muted-2);
	font-size: 14px;
}
body.stb .stb-receipt__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
/* Printing a receipt: the receipt and what was paid for. */
@media print {
	body.stb.woocommerce-view-order .stb-header,
	body.stb.woocommerce-view-order .stb-footer,
	body.stb.woocommerce-view-order .woocommerce-MyAccount-navigation,
	body.stb .stb-receipt__actions {
		display: none !important;
	}
	body.stb.woocommerce-view-order {
		background: #fff;
	}
	body.stb .stb-receipt {
		border: 0;
		padding: 0;
	}
}

/* Trade account form: the proof's expiry date and the copy of it. */
body.stb .stb-trade__form .stb-field[hidden] {
	display: none !important;
}
body.stb .stb-field input[type="date"] {
	height: 50px;
	min-height: 50px;
	padding: 10px 12px;
	line-height: 1.4;
}
body.stb .stb-field input[type="file"] {
	height: auto;
	min-height: 52px;
	padding: 12px;
	border-style: dashed;
	background: var(--stb-line-2);
	font-size: 15px;
	cursor: pointer;
}
body.stb .stb-field input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	border: 0;
	border-radius: 8px;
	background: var(--stb-ink);
	color: var(--stb-white);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
body.stb .stb-trade__group--proof > .stb-field__help {
	margin: 0;
}

/* Reserving a car: the badge, the box on the ad, My account → Reservations. */
.stb-badge--reserved {
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
	box-shadow: inset 0 0 0 1px rgba(107, 78, 0, 0.25);
}
body.stb .stb-res-box {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
body.stb .stb-res-box p {
	margin: 0;
	line-height: 1.45;
}
body.stb .stb-res-box--held,
body.stb .stb-res-box--mine {
	padding: 14px 16px;
	border: 1px solid #F0D78A;
	border-radius: 12px;
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
}
body.stb .stb-res-box--mine {
	border-color: #B9DFC6;
	background: var(--stb-good-bg);
	color: var(--stb-good);
}
body.stb .stb-res-box__title {
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 13px;
}
.stb-res {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
body.stb .stb-res__h {
	margin: 6px 0 0;
	font-size: 18px;
	font-weight: 800;
}
.stb-res-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-res-list__item {
	margin: 0;
}
body.stb .stb-res-list__link {
	display: grid;
	grid-template-columns: 72px 1fr auto;
	gap: 14px;
	align-items: center;
	padding: 12px 14px;
	border: 1px solid var(--stb-line);
	border-radius: 14px;
	background: var(--stb-white);
	color: var(--stb-text);
	text-decoration: none;
}
body.stb .stb-res-list__link:hover,
body.stb .stb-res-list__link:focus-visible {
	border-color: var(--stb-ink);
}
.stb-res-list__media,
.stb-res__media {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 10px;
	background: var(--stb-line-2);
	color: var(--stb-muted);
}
.stb-res-list__media {
	width: 72px;
	height: 54px;
}
.stb-res-list__media img,
.stb-res__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.stb-res-list__main {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
body.stb .stb-res-list__title {
	font-weight: 700;
	overflow-wrap: anywhere;
}
body.stb .stb-res-list__meta {
	color: var(--stb-muted);
	font-size: 14px;
}
@media (max-width: 560px) {
	body.stb .stb-res-list__link {
		grid-template-columns: 56px 1fr;
	}
	.stb-res-list__media {
		width: 56px;
		height: 44px;
	}
	body.stb .stb-res-list__link .stb-payments__status {
		grid-column: 2;
		justify-self: start;
	}
}
.stb-res__car {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 18px;
	align-items: center;
	padding: 16px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
.stb-res__media {
	width: 160px;
	height: 112px;
}
.stb-res__car-text {
	min-width: 0;
}
body.stb .stb-res__state {
	margin: 0 0 4px;
	color: var(--stb-good);
	font-size: 14px;
	font-weight: 800;
}
body.stb .stb-res__title {
	margin: 0 0 4px;
	font-size: 20px;
	line-height: 1.25;
	overflow-wrap: anywhere;
}
body.stb .stb-res__title a {
	color: inherit;
}
body.stb .stb-res__price {
	margin: 0;
	font-weight: 700;
}
@media (max-width: 560px) {
	.stb-res__car {
		grid-template-columns: 1fr;
	}
	.stb-res__media {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 10;
		max-width: 100%;
	}
}
body.stb .stb-res__how,
body.stb .stb-res__trader,
body.stb .stb-res__notice {
	padding: 16px 18px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb .stb-res__how > .stb-res__bank-title {
	margin-bottom: 10px;
}
body.stb .stb-res__how p {
	margin: 0 0 8px;
	line-height: 1.5;
}
body.stb .stb-res__how p:last-child {
	margin-bottom: 0;
}
body.stb .stb-res__steps {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding-left: 22px;
	line-height: 1.5;
}
body.stb .stb-res__bank {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px 20px;
	border: 2px solid var(--stb-ink);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb .stb-res__bank--none {
	border-color: var(--stb-bad);
	background: var(--stb-bad-bg);
}
body.stb .stb-res__bank p {
	margin: 0;
	line-height: 1.5;
}
body.stb .stb-res__bank-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 17px;
	font-weight: 800;
}
body.stb .stb-res__bank-when {
	font-weight: 700;
}
body.stb .stb-res__bank-rows {
	display: grid;
	gap: 0;
	margin: 0;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	overflow: hidden;
}
body.stb .stb-res__bank-rows > div {
	display: grid;
	grid-template-columns: minmax(120px, 170px) 1fr;
	gap: 4px 14px;
	align-items: center;
	padding: 10px 14px;
	border-top: 1px solid var(--stb-line-2);
}
body.stb .stb-res__bank-rows > div:first-child {
	border-top: 0;
}
body.stb .stb-res__bank-rows dt {
	color: var(--stb-muted);
	font-size: 14px;
	font-weight: 600;
}
body.stb .stb-res__bank-rows dd {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-width: 0;
	margin: 0;
}
body.stb .stb-res__bank-value {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}
body.stb .stb-res__copy {
	min-height: 36px;
	padding: 6px 12px;
	border: 1px solid var(--stb-field);
	border-radius: 8px;
	background: var(--stb-white);
	color: var(--stb-text);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
body.stb .stb-res__copy:focus-visible {
	outline: 2px solid var(--stb-focus);
	outline-offset: 1px;
}
@media (max-width: 560px) {
	body.stb .stb-res__bank-rows > div {
		grid-template-columns: 1fr;
	}
}
body.stb .stb-res__bank-changed {
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
	font-weight: 700;
}
body.stb .stb-res__warn {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding-left: 20px;
	color: var(--stb-text);
	line-height: 1.5;
}
body.stb .stb-res__actions,
body.stb .stb-reserve__form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}
body.stb .stb-res__act {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start;
	margin: 0;
}
body.stb .stb-res__cancel > summary {
	color: var(--stb-muted);
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}
body.stb .stb-res__cancel[open] > summary {
	margin-bottom: 10px;
}
body.stb .stb-res__cancel p {
	margin: 0 0 10px;
}
body.stb .stb-res__back {
	margin: 0;
}
body.stb .stb-res__trader .stb-trade-public p {
	margin: 4px 0 0;
}
/* The printable cancellation notice, on a trader's reservation page. */
body.stb .stb-res__notice p {
	margin: 0 0 10px;
	line-height: 1.5;
}
body.stb .stb-res__notice p:last-child {
	margin: 0;
}
/* "I'm buying for myself, not for a business", before cancelling a purchase. */
body.stb .stb-res__act .stb-check-line {
	margin: 0 0 12px;
}
body.stb .stb-res__act .stb-check-line label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-weight: 600;
	cursor: pointer;
}
body.stb .stb-res__act .stb-check-line input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--stb-ink);
}
/* The bank details box on the trade account page. */
body.stb .stb-bank {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 8px;
	padding: 20px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.stb .stb-bank__title {
	margin: 0;
	font-size: 19px;
	font-weight: 800;
}
body.stb .stb-bank p {
	margin: 0;
	line-height: 1.5;
}
body.stb .stb-bank__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
body.stb .stb-bank__remove summary {
	color: var(--stb-muted);
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}
body.stb .stb-bank__remove[open] summary,
body.stb .stb-bank__remove details[open] > summary {
	margin-bottom: 8px;
}
body.stb .stb-bank__remove .stb-btn {
	margin-top: 8px;
}

/* ---------------------------------------------------------------------------
 * 0.4.8.3: what a winning bid means, just above the "Bid to buy" button
 * ------------------------------------------------------------------------ */
body.stb .stb-bid-terms {
	margin: 0;
	color: var(--stb-muted);
	font-size: 13px;
	line-height: 1.45;
}
body.stb-ad-page div.product .summary form.auction_form .stb-bid-terms {
	order: 3;
}

/* Offers carousel: under the homepage search (dark), and at the top of the listings (light). */
.stb-promos {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
.stb-promos__track {
	display: flex;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	border-radius: var(--stb-radius);
}
.stb-promos__track::-webkit-scrollbar {
	display: none;
}
.stb-promos--dark .stb-promos__track {
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: var(--stb-ink-2);
}
.stb-promos--light .stb-promos__track {
	border: 1px solid var(--stb-line);
	background: var(--stb-white);
}
body.stb .stb-promo {
	position: relative;
	display: flex;
	flex: 0 0 100%;
	align-items: center;
	gap: 16px;
	box-sizing: border-box;
	min-width: 0;
	padding: 14px 18px;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}
.stb-promo__visual {
	display: grid;
	flex: none;
	place-items: center;
	width: 52px;
	height: 52px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--stb-plate);
	color: var(--stb-ink);
}
.stb-promo__visual--plate {
	width: auto;
	height: auto;
	background: none;
}
body.stb .stb-promo__plate {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 9px 0 22px;
	border: 1px solid rgba(17, 20, 24, 0.35);
	border-radius: 6px;
	background: linear-gradient(90deg, var(--stb-uk) 0 15px, var(--stb-plate) 15px);
	color: var(--stb-ink);
	font-family: var(--stb-font-num);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.04em;
	white-space: nowrap;
}
.stb-promo__visual--photo {
	width: 92px;
	height: 64px;
	background: var(--stb-line-2);
}
body.stb .stb-promo__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.stb-promo__visual--photo .stb-car {
	width: 70%;
}
.stb-promo__copy {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
body.stb .stb-promo__eyebrow,
body.stb .stb-promo__title,
body.stb .stb-promo__text {
	margin: 0;
}
body.stb .stb-promo__eyebrow {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}
body.stb .stb-promo__title {
	overflow: hidden;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.25;
	text-overflow: ellipsis;
}
body.stb .stb-promo__text {
	font-size: 13.5px;
	line-height: 1.45;
}
body.stb .stb-promos--dark .stb-promo__eyebrow {
	color: var(--stb-plate);
}
body.stb .stb-promos--dark .stb-promo__title {
	color: var(--stb-white);
}
body.stb .stb-promos--dark .stb-promo__text {
	color: var(--stb-on-ink-muted);
}
body.stb .stb-promos--light .stb-promo__eyebrow {
	color: var(--stb-muted);
}
body.stb .stb-promos--light .stb-promo__title {
	color: var(--stb-text);
}
body.stb .stb-promos--light .stb-promo__text {
	color: var(--stb-muted);
}
body.stb .stb-promo__cta {
	flex: none;
	white-space: nowrap;
}
/* The whole slide opens its link. */
body.stb .stb-promo__cta::after {
	content: '';
	position: absolute;
	inset: 0;
}
body.stb .stb-promo__cta:focus-visible {
	outline: 3px solid var(--stb-focus);
	outline-offset: 2px;
}
.stb-promos__controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
}
.stb-promos__dots {
	display: flex;
	align-items: center;
}
body.stb .stb-promos .stb-promos__btn,
body.stb .stb-promos .stb-promos__dot {
	display: inline-grid;
	place-items: center;
	width: 30px;
	min-width: 0;
	height: 30px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
}
body.stb .stb-promos .stb-promos__dot {
	width: 22px;
}
body.stb .stb-promos__dot::before {
	content: '';
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: currentColor;
	opacity: 0.4;
	transition: width 0.2s ease, opacity 0.2s ease;
}
body.stb .stb-promos__dot[aria-current="true"]::before {
	width: 18px;
	opacity: 1;
}
body.stb .stb-promos--dark .stb-promos__btn,
body.stb .stb-promos--dark .stb-promos__dot {
	color: var(--stb-on-ink-muted);
}
body.stb .stb-promos--dark .stb-promos__dot[aria-current="true"] {
	color: var(--stb-plate);
}
body.stb .stb-promos--light .stb-promos__btn,
body.stb .stb-promos--light .stb-promos__dot {
	color: var(--stb-muted);
}
body.stb .stb-promos--light .stb-promos__dot[aria-current="true"] {
	color: var(--stb-ink);
}
body.stb .stb-promos .stb-promos__btn:hover {
	background: rgba(127, 127, 127, 0.16);
}
body.stb .stb-promos .stb-promos__dot:hover {
	background: transparent;
}
body.stb .stb-promos__btn:focus-visible,
body.stb .stb-promos__dot:focus-visible {
	outline: 2px solid var(--stb-focus);
	outline-offset: 1px;
}
.stb-promos--dark .stb-promos__btn:focus-visible,
.stb-promos--dark .stb-promos__dot:focus-visible {
	outline-color: var(--stb-plate);
}
/* On the listings: a little smaller, so the results stay near the top. */
body.stb .stb-promos--light .stb-promo {
	padding: 12px 16px;
}
body.stb .stb-promos--light .stb-promo__visual {
	width: 44px;
	height: 44px;
	border-radius: 10px;
}
body.stb .stb-promos--light .stb-promo__visual--plate {
	width: auto;
	height: auto;
}
body.stb .stb-promos--light .stb-promo__title {
	font-size: 16px;
}
@media (max-width: 640px) {
	body.stb .stb-promo {
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 10px 12px;
		padding: 14px;
	}
	.stb-promo__visual {
		width: 40px;
		height: 40px;
		border-radius: 10px;
	}
	.stb-promo__visual svg {
		width: 22px;
		height: 22px;
	}
	.stb-promo__visual--photo {
		width: 64px;
		height: 48px;
	}
	body.stb .stb-promo__plate {
		height: 28px;
		padding: 0 7px 0 17px;
		background: linear-gradient(90deg, var(--stb-uk) 0 11px, var(--stb-plate) 11px);
		font-size: 16px;
	}
	.stb-promo__copy {
		flex: 1 1 0;
	}
	body.stb .stb-promo__title {
		font-size: 16px;
	}
	body.stb .stb-promo__cta {
		flex-basis: 100%;
		justify-content: center;
	}
}
@media (prefers-reduced-motion: reduce) {
	.stb-promos__track {
		scroll-behavior: auto;
	}
	body.stb .stb-promos__dot::before {
		transition: none;
	}
}

/* Labels that explain themselves ("Featured"): pointing shows the note; a tap or a press opens it. */
.stb-tip {
	cursor: help;
}
.stb-tip:not(.stb-badge),
.stb-badge--inline.stb-tip {
	position: relative;
}
body.stb button.stb-tip,
body.stb button.stb-tip:hover,
body.stb button.stb-tip:focus,
body.stb button.stb-tip:active {
	margin: 0;
	border: 0;
	box-shadow: none;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
}
/* The theme styles buttons: the ad page's label keeps the badge's own look. */
body.stb button.stb-badge--featured.stb-tip,
body.stb button.stb-badge--featured.stb-tip:hover,
body.stb button.stb-badge--featured.stb-tip:focus,
body.stb button.stb-badge--featured.stb-tip:active {
	padding: 5px 9px;
	border-radius: 6px;
	background: var(--stb-plate);
	color: var(--stb-ink);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}
body.stb button.stb-promo__tip,
body.stb button.stb-promo__tip:hover,
body.stb button.stb-promo__tip:focus,
body.stb button.stb-promo__tip:active {
	/* Above the slide's stretched link, so it can be pointed at and tapped. */
	z-index: 2;
	padding: 0;
	background: none;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	text-transform: inherit;
	text-decoration: underline dotted;
	text-underline-offset: 3px;
}
body.stb button.stb-tip:focus-visible {
	outline: 3px solid var(--stb-focus);
	outline-offset: 2px;
}
.stb-tip::after {
	content: attr(data-stb-tip);
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	/* Moved left when it would run off the screen (the script works it out). */
	left: var(--stb-tip-x, 0px);
	z-index: 30;
	width: max-content;
	max-width: min(236px, calc(100vw - 48px));
	padding: 7px 10px;
	border-radius: 8px;
	background: var(--stb-ink);
	color: var(--stb-white);
	box-shadow: 0 6px 18px rgba(17, 20, 24, 0.22);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.35;
	text-align: left;
	text-decoration: none;
	text-transform: none;
	white-space: normal;
	pointer-events: none;
}
body.stb .stb-promos--dark .stb-tip::after {
	background: var(--stb-white);
	color: var(--stb-ink);
}
@media (hover: hover) {
	.stb-tip:hover::after {
		display: block;
	}
}
.stb-tip:focus-visible::after,
.stb-tip.is-open::after {
	display: block;
}
/* The carousel's second line stays a comfortable size on a phone (the legal chat: not small print). */
@media (max-width: 640px) {
	body.stb .stb-promo__text {
		font-size: 14px;
	}
}

/* A trade seller's report: the buyer's cancellation, from their messages or pasted in */
body.stb .stb-noshow__proof[hidden] {
	display: none;
}
body.stb .stb-noshow__proof small {
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	margin-right: 4px;
	white-space: nowrap;
}
body.stb .stb-noshow__proof span {
	min-width: 0;
	overflow-wrap: anywhere;
}
body.stb .stb-noshow__proof .stb-field {
	margin-top: 4px;
}
body.stb .stb-noshow__proof .stb-field label {
	display: block;
	cursor: default;
	font-weight: 700;
}
body.stb .stb-noshow__proof textarea {
	min-height: 96px;
}
body.stb .stb-report__reasons label small {
	color: var(--stb-muted);
}

/* ---------------------------------------------------------------------------
 * Questions and comments under an ad
 * ------------------------------------------------------------------------ */
.stb-comments,
.stb-comment {
	scroll-margin-top: 96px;
}
body.stb .stb-comments__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 26px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--stb-bg);
	color: var(--stb-muted);
	font-size: 14px;
	font-weight: 700;
}
body.stb .stb-comments__list,
body.stb .stb-comments__replies {
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-comments__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
body.stb .stb-comments__list > li {
	margin: 0;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--stb-line);
}
body.stb .stb-comments__list > li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}
body.stb .stb-comments__replies {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 12px 0 0 6px;
	padding-left: 16px;
	border-left: 3px solid var(--stb-line);
}
body.stb .stb-comments__replies > li {
	margin: 0;
}
.stb-comment {
	min-width: 0;
}
body.stb .stb-comment__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin: 0 0 4px;
}
body.stb .stb-comment__name {
	color: var(--stb-text);
	font-size: 15px;
	font-weight: 800;
	overflow-wrap: anywhere;
}
body.stb .stb-comment__badge {
	display: inline-flex;
	align-items: center;
	padding: 1px 8px;
	border: 1px solid var(--stb-seller-line);
	border-radius: 999px;
	background: var(--stb-seller-bg);
	color: var(--stb-seller-ink);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
}
body.stb .stb-comment__when {
	color: var(--stb-muted);
	font-size: 13px;
}
body.stb .stb-comment__text {
	margin: 0;
	color: var(--stb-text);
	font-size: 15px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}
body.stb .stb-comment__gone {
	margin: 0;
	color: var(--stb-muted);
	font-size: 14px;
	font-style: italic;
}
body.stb .stb-comment__note {
	margin: 8px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
	font-size: 14px;
	line-height: 1.45;
}
body.stb .stb-comment--hidden .stb-comment__text,
body.stb .stb-comment--removed .stb-comment__text {
	color: var(--stb-muted);
}
body.stb .stb-comment__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 6px 16px;
	margin-top: 6px;
}
body.stb .stb-comment__link {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--stb-muted);
	font-family: var(--stb-font);
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	box-shadow: none;
	cursor: pointer;
	list-style: none;
}
body.stb .stb-comment__link:hover,
body.stb .stb-comment__link:focus {
	color: var(--stb-ink);
}
body.stb .stb-comment__link::-webkit-details-marker {
	display: none;
}
body.stb .stb-comment__act[open],
body.stb .stb-comment__form--wide {
	flex-basis: 100%;
}
body.stb .stb-comment__inline {
	margin: 0;
}
body.stb .stb-comment__form,
body.stb .stb-comments__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
body.stb .stb-comment__form {
	margin-top: 8px;
	padding: 12px;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	background: var(--stb-bg);
}
body.stb .stb-comments__thread > .stb-comment__act {
	margin-top: 8px;
}
body.stb .stb-comments__form {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--stb-line);
}
body.stb .stb-comments__list:empty + .stb-comments__form,
body.stb .stb-comments__empty + .stb-comments__form {
	margin-top: 12px;
	padding-top: 0;
	border-top: 0;
}
/* Fields in a column of their own keep their natural height. */
body.stb .stb-comments .stb-field {
	flex: none;
}
body.stb .stb-comments .stb-field textarea {
	min-height: 84px;
}
body.stb .stb-comment__form .stb-field textarea {
	min-height: 72px;
}
body.stb .stb-comments .stb-btn {
	align-self: flex-start;
	min-height: 40px;
	padding: 0 16px;
	font-size: 14px;
}
body.stb .stb-comment__btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0;
}
body.stb .stb-comments__small,
body.stb .stb-comments__empty,
body.stb .stb-comments__closed {
	margin: 0;
	color: var(--stb-muted);
	font-size: 13px;
	line-height: 1.5;
}
body.stb .stb-comments__empty,
body.stb .stb-comments__closed {
	font-size: 14px;
}
body.stb .stb-comments__closed {
	margin-top: 16px;
}
body.stb .stb-comments__signin {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin-top: 16px;
}
body.stb .stb-comments__notice {
	margin: 10px 0 0;
}
body.stb .stb-comments > .stb-comments__notice {
	margin: 0 0 14px;
}
@media (max-width: 560px) {
	body.stb .stb-comments__replies {
		margin-left: 0;
		padding-left: 12px;
	}
}

/* ---------------------------------------------------------------------------
 * Reviews of sellers: stars, ratings, the seller's page and My account
 * ------------------------------------------------------------------------ */
body.stb .stb-stars {
	--stb-star-fill: calc(var(--stb-stars, 0) / 5 * 100%);
	display: inline-block;
	flex: none;
	font-family: Arial, sans-serif;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 1px;
	vertical-align: -1px;
}
body.stb .stb-stars::before {
	content: '★★★★★';
	background: linear-gradient(90deg, #E8A500 var(--stb-star-fill), var(--stb-field) var(--stb-star-fill));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
body.stb .stb-rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin: 6px 0 0;
	color: var(--stb-text);
	font-size: 14px;
	line-height: 1.4;
}
body.stb .stb-rating a {
	color: var(--stb-ink);
	font-weight: 700;
}
body.stb .stb-rating__how,
body.stb .stb-rating__how a {
	color: var(--stb-muted);
	font-weight: 600;
}
/* In the narrow seller box on an ad, "How reviews work" goes on its own line. */
body.stb .stb-ad-seller .stb-rating__how {
	flex-basis: 100%;
}
body.stb .stb-ad-seller .stb-rating__dot {
	display: none;
}
body.stb .stb-myreviews__part > .stb-rating {
	margin: 0 0 4px;
}
body.stb .stb-myreviews__part > .stb-myreviews__small:not(:last-child) {
	margin-bottom: 14px;
}
body.stb .stb-rating-top {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 18px;
}
body.stb .stb-rating-top .stb-rating {
	margin: 0;
	font-size: 15px;
}
body.stb .stb-reviews {
	margin: 32px 0 8px;
	padding: 22px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
	scroll-margin-top: 96px;
}
body.stb .stb-reviews__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	color: var(--stb-text);
	font-size: 20px;
	font-weight: 800;
	text-transform: none;
}
body.stb .stb-reviews__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0 0 16px;
	font-size: 15px;
}
body.stb .stb-reviews__summary .stb-stars {
	font-size: 20px;
}
body.stb .stb-reviews__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}
body.stb .stb-reviews__list > li {
	margin: 0;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--stb-line);
	scroll-margin-top: 96px;
}
body.stb .stb-reviews__list > li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}
body.stb .stb-review__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin: 0 0 6px;
}
body.stb .stb-review__name {
	color: var(--stb-text);
	font-size: 15px;
	font-weight: 800;
	overflow-wrap: anywhere;
}
body.stb .stb-review__deal {
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--stb-bg);
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
}
body.stb .stb-review__when {
	color: var(--stb-muted);
	font-size: 13px;
}
body.stb .stb-review__text {
	margin: 0;
	color: var(--stb-text);
	font-size: 15px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}
body.stb .stb-review__reply {
	margin: 10px 0 0 6px;
	padding: 2px 0 2px 14px;
	border-left: 3px solid var(--stb-seller-line);
}
body.stb .stb-review__reply-head {
	margin: 0 0 2px;
	color: var(--stb-seller-ink);
	font-size: 13px;
	font-weight: 700;
}
body.stb .stb-review__tools {
	margin: 6px 0 0;
}
body.stb .stb-reviews__small,
body.stb .stb-reviews__empty,
body.stb .stb-myreviews__small,
body.stb .stb-myreviews__empty,
body.stb .stb-myreviews__soon {
	margin: 0;
	color: var(--stb-muted);
	font-size: 13px;
	line-height: 1.5;
}
body.stb .stb-reviews__empty,
body.stb .stb-myreviews__empty {
	margin-bottom: 14px;
	font-size: 14px;
}
body.stb .stb-reviews .stb-btn,
body.stb .stb-myreviews .stb-btn {
	align-self: flex-start;
	min-height: 40px;
	padding: 0 16px;
	font-size: 14px;
}
body.stb .stb-myreviews {
	display: flex;
	flex-direction: column;
	gap: 28px;
}
body.stb .stb-myreviews__part h2 {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 800;
	text-transform: none;
}
body.stb .stb-myreviews__deal {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 16px;
	padding: 16px;
	border: 1px solid var(--stb-line);
	border-radius: 14px;
	background: var(--stb-white);
	scroll-margin-top: 96px;
}
body.stb .stb-myreviews__what {
	margin: 0;
	font-size: 15px;
	overflow-wrap: anywhere;
}
body.stb .stb-myreviews__honest {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	line-height: 1.45;
	cursor: pointer;
}
body.stb .stb-myreviews__honest input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--stb-ink);
}
body.stb .stb-myreviews__btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin: 0;
}
body.stb .stb-myreviews__invites {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin: 0 0 8px;
}
body.stb .stb-myreviews__invites label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	cursor: pointer;
}
body.stb .stb-myreviews .stb-field {
	flex: none;
}
body.stb .stb-myreviews .stb-field textarea {
	min-height: 84px;
}
/* The star picker: five radio buttons, drawn as stars, picked from left to right. */
body.stb .stb-starpick {
	margin: 0;
	padding: 0;
	border: 0;
}
body.stb .stb-starpick legend {
	width: auto;
	margin: 0 0 4px;
	padding: 0;
	border: 0;
	font-size: 14px;
	font-weight: 700;
}
body.stb .stb-starpick__stars {
	display: inline-flex;
	flex-direction: row-reverse;
	gap: 2px;
}
body.stb .stb-starpick__stars input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}
body.stb .stb-starpick__stars label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	cursor: pointer;
}
body.stb .stb-starpick__stars label::before {
	content: '★';
	color: var(--stb-field);
	font-family: Arial, sans-serif;
	font-size: 30px;
	line-height: 1;
}
body.stb .stb-starpick__stars input:checked ~ label::before,
body.stb .stb-starpick__stars label:hover::before,
body.stb .stb-starpick__stars label:hover ~ label::before {
	color: #E8A500;
}
body.stb .stb-starpick__stars input:focus-visible + label {
	outline: 2px solid var(--stb-focus);
	outline-offset: 1px;
}
@media (max-width: 560px) {
	body.stb .stb-reviews {
		padding: 16px;
	}
}

/* ---------------------------------------------------------------------------
 * Profit Calculator: the four steps of doing up a banger on the left (buy, fix, make road legal,
 * sell), live totals beside them; one column on a phone, with the two main figures in a bar at
 * the bottom of the screen.
 * ------------------------------------------------------------------------ */
body.stb .stb-calc {
	--stb-calc-seg-buy: #39424D;
	--stb-calc-seg-fix: var(--stb-plate);
	--stb-calc-seg-road: var(--stb-uk);
	--stb-calc-seg-sell: #A7AFB9;
	--stb-calc-seg-sale: var(--stb-good);
}
body.stb .stb-calc h1,
body.stb .stb-calc h2 {
	text-wrap: balance;
}
body.stb .stb-calc .stb-notice {
	margin: 0;
}
body.stb .stb-calc .stb-calc__from {
	flex-wrap: nowrap;
	align-items: flex-start;
}
body.stb .stb-calc .stb-calc__from > span {
	flex: 1 1 auto;
	min-width: 0;
}
body.stb .stb-calc .stb-calc__from > .stb-icon {
	margin-top: 2px;
}
body.stb .stb-calc .stb-notice a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.stb-calc__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
	gap: 28px;
	align-items: start;
}
.stb-calc__steps {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}
.stb-calc__step {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	padding: 22px;
	border: 1px solid var(--stb-line);
	border-radius: var(--stb-radius);
	background: var(--stb-white);
}
.stb-calc__step-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.stb-calc__num {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: var(--stb-plate);
	color: var(--stb-ink);
	font-family: var(--stb-font-num);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}
body.stb .stb-calc .stb-calc__step-head h2 {
	/* A longer heading wraps beside its number rather than under it (0.4.28.18). */
	flex: 1 1 12rem;
	min-width: 0;
	margin: 0;
	color: var(--stb-text);
	font-size: 21px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
body.stb .stb-calc__chip {
	margin-left: auto;
	padding: 4px 9px;
	border-radius: 6px;
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.stb-calc__fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px 16px;
}
.stb-calc__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.stb-calc__field--wide {
	grid-column: 1 / -1;
}
body.stb .stb-calc__field label {
	margin: 0;
	color: var(--stb-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}
body.stb .stb-calc__hint {
	margin: 0;
	color: var(--stb-muted);
	font-size: 13px;
	line-height: 1.45;
}
body.stb .stb-calc__hint a {
	color: var(--stb-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.stb-calc__input {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 48px;
	padding: 0 12px;
	border: 1px solid var(--stb-field);
	border-radius: 10px;
	background: var(--stb-white);
}
.stb-calc__input.is-bad {
	border-color: var(--stb-bad);
	background: var(--stb-bad-bg);
}
body.stb .stb-calc__err {
	margin: 0;
	color: var(--stb-bad);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}
.stb-calc__part .stb-calc__err {
	grid-column: 1 / -1;
}
.stb-calc__input:focus-within {
	border-color: var(--stb-ink);
	outline: 2px solid var(--stb-focus);
	outline-offset: 2px;
}
body.stb .stb-calc .stb-calc__input input,
body.stb .stb-calc .stb-calc__input input:focus {
	flex: 1;
	width: auto;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--stb-text);
	font-family: var(--stb-font);
	font-size: 16px;
	font-variant-numeric: tabular-nums;
	line-height: normal;
	outline: none;
}
body.stb .stb-calc .stb-calc__input input::placeholder {
	color: #6B7380;
	opacity: 1;
}
.stb-calc__affix {
	flex: none;
	color: var(--stb-muted);
	font-size: 16px;
	font-weight: 700;
}
.stb-calc__parts-head,
.stb-calc__part {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(110px, 150px) 44px;
	gap: 10px;
	align-items: center;
}
body.stb .stb-calc__parts-head span {
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.stb-calc__parts {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
body.stb .stb-calc .stb-calc__remove,
body.stb .stb-calc .stb-calc__remove:focus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid var(--stb-line);
	border-radius: 10px;
	background: transparent;
	box-shadow: none;
	color: var(--stb-muted);
	line-height: 1;
	cursor: pointer;
}
body.stb .stb-calc .stb-calc__remove:hover {
	border-color: var(--stb-bad);
	background: var(--stb-bad-bg);
	color: var(--stb-bad);
}
body.stb .stb-calc .stb-calc__add,
body.stb .stb-calc .stb-calc__add:focus {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 1px dashed var(--stb-field);
	border-radius: 10px;
	background: transparent;
	box-shadow: none;
	color: var(--stb-ink);
	font-family: var(--stb-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}
body.stb .stb-calc .stb-calc__add:hover {
	border-style: solid;
	border-color: var(--stb-ink);
	background: transparent;
	color: var(--stb-ink);
}
body.stb .stb-calc__note {
	max-width: 70ch;
	color: var(--stb-muted);
	font-size: 14px;
	line-height: 1.5;
}
.stb-calc__results {
	align-self: stretch;
	min-width: 0;
}
.stb-calc__card {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 22px;
	border: 1px solid var(--stb-line);
	border-radius: 16px;
	background: var(--stb-white);
}
body.admin-bar .stb-calc__card {
	top: 56px;
}
body.stb .stb-calc .stb-calc__eyebrow {
	margin: 0;
	color: var(--stb-muted);
	font-family: var(--stb-font);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
body.stb .stb-calc__big {
	margin: 4px 0 0;
	color: var(--stb-text);
	font-family: var(--stb-font-num);
	font-size: 60px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}
.stb-calc__split,
.stb-calc__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
}
.stb-calc__split {
	padding-top: 14px;
	border-top: 1px solid var(--stb-line);
}
body.stb .stb-calc dt {
	margin: 0;
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}
body.stb .stb-calc dd {
	margin: 2px 0 0;
	color: var(--stb-text);
	font-size: 15px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}
.stb-calc__profit {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 14px;
	border-top: 1px solid var(--stb-line);
}
.stb-calc__profit-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}
body.stb .stb-calc__big2 {
	margin: 2px 0 0;
	color: var(--stb-text);
	font-family: var(--stb-font-num);
	font-size: 46px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}
body.stb .stb-calc__big2--good {
	color: var(--stb-good);
}
body.stb .stb-calc__big2--bad {
	color: var(--stb-bad);
}
body.stb .stb-calc__big2--muted {
	color: var(--stb-muted);
	font-size: 30px;
}
.stb-calc__verdict {
	margin-bottom: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}
.stb-calc__verdict--good {
	background: var(--stb-good-bg);
	color: var(--stb-good);
}
.stb-calc__verdict--warn {
	background: var(--stb-warn-bg);
	color: var(--stb-warn);
}
.stb-calc__verdict--bad {
	background: var(--stb-bad-bg);
	color: var(--stb-bad);
}
body.stb .stb-calc__bars {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding-top: 14px;
	border-top: 1px solid var(--stb-line);
}
.stb-calc__bar-row {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
}
.stb-calc__bar-label {
	color: var(--stb-muted);
	font-size: 13px;
	font-weight: 600;
}
.stb-calc__track {
	display: flex;
	height: 14px;
	overflow: hidden;
	border-radius: 7px;
	background: var(--stb-line-2);
}
.stb-calc__seg {
	width: 0;
	height: 100%;
	transition: width 0.25s ease;
}
.stb-calc__seg--buy {
	background: var(--stb-calc-seg-buy);
}
.stb-calc__seg--fix {
	background: var(--stb-calc-seg-fix);
}
.stb-calc__seg--road {
	background: var(--stb-calc-seg-road);
}
.stb-calc__seg--sell {
	background: var(--stb-calc-seg-sell);
}
.stb-calc__seg--sale {
	background: var(--stb-calc-seg-sale);
}
body.stb .stb-calc .stb-calc__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 0;
	padding: 0;
	color: var(--stb-muted);
	font-size: 13px;
	list-style: none;
}
body.stb .stb-calc__legend li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}
.stb-calc__sw {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 3px;
}
.stb-calc__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 14px;
	border-top: 1px solid var(--stb-line);
}
body.stb .stb-calc__actions .stb-btn {
	padding: 0 14px;
	font-size: 14px;
}
body.stb .stb-calc__actions .stb-btn[data-armed="1"] {
	border-color: var(--stb-bad);
	color: var(--stb-bad);
}
body.stb .stb-calc__status {
	min-height: 1.2em;
	margin: 0;
	color: var(--stb-muted);
	font-size: 13px;
	line-height: 1.45;
}
body.stb .stb-calc .stb-calc__fallback {
	width: 100%;
	min-height: 160px;
	margin: 0;
	padding: 10px;
	border: 1px solid var(--stb-field);
	border-radius: 10px;
	background: var(--stb-white);
	color: var(--stb-text);
	font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
body.stb .stb-calc__next {
	align-self: flex-start;
}
body.stb .stb-calc__small {
	max-width: 75ch;
	color: var(--stb-muted);
	font-size: 13px;
	line-height: 1.5;
}
.stb-calc__bar {
	display: none;
}
@media (max-width: 900px) {
	.stb-calc__layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.stb-calc__card,
	body.admin-bar .stb-calc__card {
		position: static;
	}
	body.stb-calc-page .stb-calc__bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 90;
		display: flex;
		justify-content: space-between;
		gap: 12px;
		padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
		background: var(--stb-ink);
		color: var(--stb-on-ink-muted);
		font-size: 14px;
		line-height: 1.2;
		box-shadow: 0 -6px 18px rgba(17, 20, 24, 0.18);
	}
	body.stb-calc-page .stb-calc__bar span {
		display: flex;
		align-items: baseline;
		gap: 8px;
		white-space: nowrap;
	}
	body.stb-calc-page .stb-calc__bar strong {
		color: var(--stb-white);
		font-family: var(--stb-font-num);
		font-size: 24px;
		font-weight: 700;
		font-variant-numeric: tabular-nums;
	}
	body.stb-calc-page .stb-calc__bar .stb-calc__m--good {
		color: #7BD9A1;
	}
	body.stb-calc-page .stb-calc__bar .stb-calc__m--bad {
		color: #FF9A90;
	}
	/* The bar's height is measured by the script; 64px and the safe area until then. */
	body.stb-calc-page {
		padding-bottom: var(--stb-calc-bar-h, calc(64px + env(safe-area-inset-bottom, 0px)));
	}
	html.stb-calc-html {
		scroll-padding-bottom: calc(var(--stb-calc-bar-h, calc(64px + env(safe-area-inset-bottom, 0px))) + 16px);
	}
	body.stb-calc-page #ast-scroll-top {
		bottom: calc(var(--stb-calc-bar-h, calc(64px + env(safe-area-inset-bottom, 0px))) + 16px);
	}
}
@media (max-width: 380px) {
	body.stb-calc-page .stb-calc__bar {
		font-size: 12px;
	}
	body.stb-calc-page .stb-calc__bar span {
		gap: 6px;
	}
	body.stb-calc-page .stb-calc__bar strong {
		font-size: 20px;
	}
}
@media (max-width: 480px) {
	.stb-calc__step,
	.stb-calc__card {
		padding: 18px;
	}
	body.stb .stb-calc__big {
		font-size: 52px;
	}
	.stb-calc__split,
	.stb-calc__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.stb-calc__parts-head,
	.stb-calc__part {
		grid-template-columns: minmax(0, 1fr) 104px 44px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.stb-calc__seg {
		transition: none;
	}
}
@media print {
	.stb-calc__bar,
	.stb-calc__actions,
	.stb-calc__add,
	.stb-calc__remove {
		display: none !important;
	}
}

/* Homepage: the Profit Calculator's band */
body.stb .stb-calcband {
	padding-block: 0 40px;
}
.stb-calcband__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 28px;
	padding: 28px;
	border-radius: var(--stb-radius);
	background: var(--stb-ink);
}
.stb-calcband__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: var(--stb-plate);
	color: var(--stb-ink);
}
.stb-calcband__copy {
	flex: 1 1 320px;
	min-width: 0;
}
body.stb .stb-calcband__title {
	margin: 0 0 6px;
	color: var(--stb-white);
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.015em;
}
body.stb .stb-calcband__text {
	max-width: 560px;
	margin: 0;
	color: var(--stb-on-ink-muted);
	font-size: 16px;
	line-height: 1.5;
}
@media (max-width: 600px) {
	.stb-calcband__inner {
		padding: 20px;
	}
	.stb-calcband__inner .stb-btn {
		flex: 1 1 100%;
	}
}

/* Ad page: the way into the Profit Calculator */
body.stb .stb-ad-calc__text {
	margin: 0;
	color: var(--stb-muted-2);
	font-size: 14px;
	line-height: 1.5;
}
body.stb .stb-ad-calc .stb-more {
	align-self: flex-start;
}

/* ---------------------------------------------------------------------------
 * Account security (0.4.22): My account → Two-Step Sign-In and Confirm It’s You
 * ------------------------------------------------------------------------ */
body.stb .stb-sec {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 640px;
}
body.stb .stb-sec p {
	margin: 0;
}
body.stb .stb-sec__lead {
	color: var(--stb-text);
	font-size: 17px;
	line-height: 1.5;
}
body.stb .stb-sec__form,
body.stb .stb-sec__send {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
}
body.stb .stb-sec__form .stb-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	flex: 0 1 240px;
	margin: 0;
}
body.stb .stb-sec__form label {
	color: var(--stb-text);
	font-weight: 700;
}
body.stb input.stb-sec__code {
	max-width: 220px;
	min-height: 52px;
	padding: 0 14px;
	border: 1px solid var(--stb-field);
	border-radius: 10px;
	background: var(--stb-white);
	color: var(--stb-ink);
	font-family: var(--stb-font-num);
	font-size: 26px;
	letter-spacing: 0.2em;
}
body.stb input.stb-sec__code:focus-visible {
	outline: 3px solid var(--stb-focus);
	outline-offset: 2px;
}
body.stb .stb-sec__alt {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding-top: 16px;
	border-top: 1px solid var(--stb-line);
	color: var(--stb-muted-2);
}
body.stb .stb-sec__back a {
	color: var(--stb-muted-2);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.stb .stb-sec__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 12px;
}
body.stb .stb-sec__off form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 12px;
	padding: 16px;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	background: var(--stb-white);
}
body.stb .stb-sec__off summary {
	list-style: none;
	cursor: pointer;
}
body.stb .stb-sec__off summary::-webkit-details-marker {
	display: none;
}
body.stb .stb-2s__steps {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
	padding-left: 26px;
	list-style: decimal outside !important;
}
body.stb .stb-2s__steps > li::marker {
	color: var(--stb-ink);
	font-weight: 800;
}
body.stb .stb-2s__steps > li {
	display: list-item;
	padding-left: 4px;
}
body.stb .stb-2s__steps > li > * + * {
	margin-top: 10px;
}
body.stb .stb-2s__qr {
	width: 220px;
	max-width: 100%;
	padding: 10px;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	background: #FFFFFF;
	line-height: 0;
}
body.stb .stb-2s__qr:empty {
	display: none;
}
body.stb .stb-2s__qr svg {
	display: block;
	width: 100%;
	height: auto;
}
body.stb code.stb-2s__key {
	display: inline-block;
	margin-top: 4px;
	padding: 4px 8px;
	border-radius: 6px;
	background: var(--stb-line-2);
	color: var(--stb-ink);
	font-size: 15px;
	letter-spacing: 0.06em;
	word-break: break-all;
}
body.stb .stb-sec-prompt .stb-notice p + p,
body.stb .stb-bank__confirm p + p {
	margin-top: 10px;
}
body.stb .stb-sec-prompt {
	margin-bottom: 18px;
}
body.stb .stb-bank__confirm {
	margin: 12px 0;
}

/* ---------------------------------------------------------------------------
 * My Ads (0.4.22): each ad as a card (photo, title and price, status and views, then the actions
 * as a row of buttons), in place of WC Vendors' four-column table.
 * ------------------------------------------------------------------------ */
body.stb-dashboard table.wcvendors-table-product {
	display: block;
	width: 100%;
	border: 0 !important;
	background: transparent !important;
}
body.stb-dashboard table.wcvendors-table-product thead {
	display: none !important;
}
body.stb-dashboard table.wcvendors-table-product > tbody {
	display: flex !important;
	flex-direction: column;
	gap: 16px;
}
body.stb-dashboard table.wcvendors-table-product > tbody > tr {
	display: grid !important;
	grid-template-columns: 148px minmax(0, 1fr) auto;
	grid-template-areas:
		"tn details price"
		"tn status status";
	gap: 10px 20px;
	align-items: start;
	padding: 16px;
	border: 1px solid var(--stb-line) !important;
	border-radius: 16px;
	background: var(--stb-white) !important;
}
body.stb-dashboard table.wcvendors-table-product > tbody > tr > td {
	display: block !important;
	width: auto !important;
	min-width: 0;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	text-align: left !important;
	vertical-align: top;
}
body.stb-dashboard table.wcvendors-table-product > tbody > tr > td::before {
	display: none !important;
}
body.stb-dashboard table.wcvendors-table-product td.tn {
	grid-area: tn;
}
body.stb-dashboard table.wcvendors-table-product td.details {
	grid-area: details;
}
body.stb-dashboard table.wcvendors-table-product td.price {
	grid-area: price;
	color: var(--stb-ink);
	font-family: var(--stb-font-num);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	text-align: right !important;
	white-space: nowrap;
}
body.stb-dashboard table.wcvendors-table-product td.status {
	grid-area: status;
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	color: var(--stb-muted-2);
}
body.stb-dashboard table.wcvendors-table-product .wcv-thumb-wrap {
	margin: 0;
}
body.stb-dashboard table.wcvendors-table-product .wcv-thumb-wrap img {
	display: block;
	width: 148px !important;
	max-width: 100%;
	height: 111px !important;
	margin: 0 !important;
	border-radius: 10px;
	object-fit: cover;
	background: var(--stb-line-2);
}
/* The title once, at every width; the status in words is ours, under it. */
body.stb-dashboard table.wcvendors-table-product .wcv_mobile {
	display: none !important;
}
body.stb-dashboard table.wcvendors-table-product .wcv_desktop {
	display: block !important;
}
body.stb-dashboard table.wcvendors-table-product td.details .wcv-product-title,
body.stb-dashboard table.wcvendors-table-product td.details .wcv-product-title .wcv-product-title-text {
	margin: 0 0 4px !important;
	color: var(--stb-ink);
	font-size: 18px !important;
	line-height: 1.3 !important;
	text-align: left !important;
}
body.stb-dashboard table.wcvendors-table-product td.details .wcv-product-title .wcv-product-title-text {
	margin: 0 !important;
}
body.stb-dashboard table.wcvendors-table-product .wcv-product-title .wcv-status {
	display: none !important;
}
body.stb-dashboard table.wcvendors-table-product .wcv-product-date {
	display: block;
	color: var(--stb-muted) !important;
	font-size: 13px !important;
}
body.stb-dashboard table.wcvendors-table-product .wcv-product-details-table {
	display: block;
	width: auto;
	margin: 6px 0 0 !important;
	border: 0 !important;
	background: transparent !important;
}
body.stb-dashboard table.wcvendors-table-product .wcv-product-details-table tbody,
body.stb-dashboard table.wcvendors-table-product .wcv-product-details-table tr {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	border: 0 !important;
	background: transparent !important;
}
body.stb-dashboard table.wcvendors-table-product .wcv-product-details-table th,
body.stb-dashboard table.wcvendors-table-product .wcv-product-details-table td {
	display: inline !important;
	width: auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--stb-muted);
	font-size: 13px;
	font-weight: 400;
	text-align: left !important;
}
body.stb-dashboard table.wcvendors-table-product .wcv-product-details-table tr.mobile_price {
	display: none !important;
}
body.stb-dashboard table.wcvendors-table-product td.status .stb-status {
	margin: 0;
}
body.stb-dashboard table.wcvendors-table-product td.status .stb-dash-views {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
}
/* Anything else a plugin prints in the status column (an auction's dates, say): a quiet line. */
body.stb-dashboard table.wcvendors-table-product td.status > :not(.stb-status):not(.stb-dash-views):not(.row-actions) {
	flex-basis: 100%;
	margin: 0;
	color: var(--stb-muted);
	font-size: 13px;
	text-align: left;
}
body.stb-dashboard table.wcvendors-table-product .row-actions {
	display: flex !important;
	flex-basis: 100%;
	flex-wrap: wrap;
	justify-content: flex-start !important;
	gap: 8px;
	margin: 4px 0 0 !important;
	padding-top: 12px;
	border-top: 1px solid var(--stb-line-2);
	position: static !important;
	visibility: visible !important;
	left: auto !important;
}
body.stb-dashboard table.wcvendors-table-product .row-action-item {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	margin: 0 !important;
	padding: 6px 12px;
	border: 1px solid var(--stb-line);
	border-radius: 999px;
	background: var(--stb-white);
	font-size: 14px;
	line-height: 1.3;
}
body.stb-dashboard table.wcvendors-table-product .row-action-item .wcv-icon,
body.stb-dashboard table.wcvendors-table-product .row-action-item svg {
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
	flex: none;
}
body.stb-dashboard table.wcvendors-table-product .row-action-item a {
	color: var(--stb-ink);
	font-weight: 700;
	text-decoration: none;
}
body.stb-dashboard table.wcvendors-table-product .row-action-item:hover,
body.stb-dashboard table.wcvendors-table-product .row-action-item:focus-within {
	border-color: var(--stb-ink);
}
body.stb-dashboard table.wcvendors-table-product .row-action-item a:focus-visible {
	outline: 3px solid var(--stb-focus);
	outline-offset: 3px;
	border-radius: 4px;
}
body.stb-dashboard table.wcvendors-table-product .row-action-item.stb-action--primary {
	border-color: var(--stb-plate);
	background: var(--stb-plate);
}
body.stb-dashboard table.wcvendors-table-product .row-action-item.danger {
	border-color: var(--stb-bad-bg);
}
body.stb-dashboard table.wcvendors-table-product .row-action-item.danger a {
	color: var(--stb-bad);
}
@media (max-width: 640px) {
	body.stb-dashboard table.wcvendors-table-product > tbody > tr {
		grid-template-columns: 96px minmax(0, 1fr);
		grid-template-areas:
			"tn details"
			"tn price"
			"status status";
		gap: 8px 14px;
		padding: 14px;
	}
	body.stb-dashboard table.wcvendors-table-product .wcv-thumb-wrap img {
		width: 96px !important;
		height: 72px !important;
	}
	body.stb-dashboard table.wcvendors-table-product td.price {
		font-size: 19px;
		text-align: left !important;
	}
	body.stb-dashboard table.wcvendors-table-product td.details .wcv-product-title,
	body.stb-dashboard table.wcvendors-table-product td.details .wcv-product-title .wcv-product-title-text {
		font-size: 16px !important;
	}
}

/*
 * Pausing ads (0.4.23): the badge on cards, the box on a paused ad's page, "Pause all ads" and
 * "Restart all ads" above My ads. Also the details an ad that has been live keeps, and the auction
 * rule above the buttons that start an auction.
 */
.stb-badge--paused {
	background: var(--stb-line-2);
	color: var(--stb-muted-2);
	box-shadow: inset 0 0 0 1px rgba(74, 82, 92, 0.25);
}
.stb-ad-box--paused,
.stb-ad-box--held {
	padding: 16px;
	border: 0;
	border-radius: 12px;
	background: var(--stb-line-2);
}
.stb-ad-box--paused > p:not(.stb-ad-box__title),
.stb-ad-box--held > p:not(.stb-ad-box__title) {
	margin: 0 0 12px;
	color: var(--stb-text);
	font-size: 15px;
	line-height: 1.5;
}
/* An account on hold for an age check (0.4.25): sending a photo ID, at the top of My account. */
body.stb .stb-age-id {
	border-color: var(--stb-seller-line);
	background: var(--stb-warn-bg);
}
body.stb .stb-age-id .stb-notice {
	margin: 0;
}
body.stb .stb-age-id__form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	max-width: 100%;
}
body.stb .stb-age-id__form input[type="file"] {
	max-width: 100%;
}
body.stb-dashboard .stb-pause-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	background: var(--stb-bg);
}
body.stb-dashboard .stb-pause-bar__text {
	flex: 1 1 260px;
	min-width: 0;
	margin: 0;
	color: var(--stb-text);
	font-size: 14px;
	line-height: 1.5;
}
body.stb-dashboard .stb-pause-all {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}
body.stb-dashboard .stb-pause-all .stb-pause-all__btn {
	min-height: 44px;
	margin: 0;
	padding: 10px 16px;
	border: 1px solid var(--stb-field);
	border-radius: 10px;
	background: var(--stb-white);
	color: var(--stb-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}
body.stb-dashboard .stb-pause-all .stb-pause-all__btn:hover,
body.stb-dashboard .stb-pause-all .stb-pause-all__btn:focus-visible {
	border-color: var(--stb-ink);
	background: var(--stb-bg);
}
body.stb-dashboard .stb-pause-all .stb-pause-all__btn:focus-visible {
	outline: 2px solid var(--stb-ink);
	outline-offset: 2px;
}
body.stb .stb-field--locked input[readonly] {
	border-color: var(--stb-line);
	background: var(--stb-bg);
	color: var(--stb-muted-2);
	cursor: default;
}
body.stb .stb-adform__fixed a {
	color: var(--stb-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}
body.stb .stb-auction-rule {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 4px 0 16px;
	padding: 12px 14px;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	background: var(--stb-bg);
	color: var(--stb-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}
body.stb .stb-auction-rule .stb-icon {
	flex: none;
	margin-top: 2px;
}

/* Social media links in the footer (0.4.28): plain links, with the platforms' own icons kept on
   this site, so nothing loads from the platforms. */
body.stb .stb-social__list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.stb .stb-footer .stb-social__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--stb-on-ink);
	font-size: 14px;
	font-weight: 600;
}
body.stb .stb-footer .stb-social__link:hover {
	color: var(--stb-white);
	text-decoration: underline;
}
@media (pointer: fine) {
	body.stb .stb-footer .stb-social__link {
		min-height: 34px;
	}
}
body.stb .stb-social__icon {
	flex: none;
	width: 20px;
	height: 20px;
	object-fit: contain;
	border-radius: 4px;
}

/* How-to videos (0.4.28): files on this site, behind a "Watch the video" row. Nothing loads until
   the row is opened, and the video only plays when asked. */
body.stb .stb-video {
	max-width: 560px;
	margin: 4px 0 18px;
}
body.stb .stb-video__summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 16px 8px 8px;
	border: 1px solid var(--stb-line);
	border-radius: 12px;
	background: var(--stb-white);
	cursor: pointer;
	list-style: none;
}
body.stb .stb-video__summary::-webkit-details-marker {
	display: none;
}
body.stb .stb-video__summary:hover {
	border-color: var(--stb-field);
}
body.stb .stb-video__summary:focus-visible {
	outline: 3px solid var(--stb-focus);
	outline-offset: 2px;
}
body.stb .stb-video__thumb {
	flex: none;
	width: 45px;
	height: 80px;
	object-fit: cover;
	border-radius: 6px;
	background: var(--stb-ink);
}
body.stb .stb-video__thumb--none {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--stb-plate);
}
body.stb .stb-video__thumb--none svg {
	fill: currentColor;
}
body.stb .stb-video__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
body.stb .stb-video__label {
	color: var(--stb-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
body.stb .stb-video__title {
	color: var(--stb-text);
	font-size: 16px;
	line-height: 1.3;
}
body.stb .stb-video__length {
	color: var(--stb-muted);
	font-size: 13px;
}
body.stb .stb-video__body {
	margin-top: 12px;
}
body.stb .stb-video__player {
	display: block;
	width: 100%;
	max-width: 320px;
	height: auto;
	aspect-ratio: 9 / 16;
	border-radius: 12px;
	background: var(--stb-ink);
}
body.stb .stb-video__note {
	margin: 8px 0 0;
	color: var(--stb-muted);
	font-size: 13px;
}

/* The homepage's bands with their videos (0.4.28.7): in a band's stack the gap spaces the row;
   under the check and calculator boxes it sits a little below; on the yellow sell band its note is
   in ink, to read clearly. */
body.stb .stb-home .stb-stack > .stb-video,
body.stb .stb-band-video .stb-video,
body.stb .stb-sell .stb-video {
	margin: 0;
}
body.stb .stb-band-video {
	margin-top: 16px;
}
body.stb .stb-sell .stb-video__note,
body.stb .stb-sell .stb-video__note a {
	color: var(--stb-ink);
}
body.stb .stb-sell .stb-video__note a {
	text-decoration: underline;
}

/* Save The Banger's own business, on its seller page (0.4.28.14) */
body.stb .stb-own-business {
	margin: 2px 0 4px !important;
	padding: 10px 14px;
	border: 1px solid var(--stb-seller-line);
	border-radius: 10px;
	background: var(--stb-seller-bg);
	color: var(--stb-seller-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
}

/* Tick boxes for a guide's checklist (0.4.28.14): a list with the class "stb-checklist" */
body.stb ul.stb-checklist,
body.stb .entry-content ul.stb-checklist {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}
body.stb ul.stb-checklist > li {
	position: relative;
	margin-bottom: 8px;
	padding-left: 32px;
	list-style: none;
}
body.stb ul.stb-checklist > li::before {
	content: "";
	position: absolute;
	top: 0.2em;
	left: 0;
	box-sizing: border-box;
	width: 20px;
	height: 20px;
	border: 2px solid var(--stb-muted);
	border-radius: 4px;
	background: var(--stb-white);
}

/* Pictures and tables in a guide (0.4.28.14): flat, with a quiet caption under the picture */
body.stb.single-post .entry-content figure.wp-block-image,
body.stb.single-post .entry-content figure.wp-block-table {
	box-shadow: none;
}
body.stb.single-post .entry-content figure.wp-block-image img {
	border: 1px solid var(--stb-line);
	border-radius: 10px;
}
body.stb.single-post .entry-content figure.wp-block-image figcaption {
	margin: 8px 0 0;
	color: var(--stb-muted);
	font-size: 14px;
	line-height: 1.45;
}

/* Adverts for other businesses (0.4.28.15): in a thin box, at the size of the text around them,
   starting with "Ad" (sponsor.php). As a paragraph, so the sections' "no padding" for their
   paragraphs doesn't apply to it. */
body.stb p.stb-sponsored,
body.stb .stb-sponsored {
	padding: 12px 14px;
	border: 1px solid var(--stb-line);
	border-radius: 10px;
	background: var(--stb-white);
	font-size: inherit;
	line-height: inherit;
}
body.stb .stb-sponsored a {
	text-decoration: underline;
}
body.stb .stb-faq__answer .stb-sponsored {
	margin: 12px 0 8px;
}
/* On a car or van ad, under Buy Safely, at the size of its tips */
body.stb .stb-ad-sponsor .stb-sponsored {
	margin: 0;
	color: var(--stb-muted-2);
	font-size: 14px;
	line-height: 1.45;
}

/* The Blog page (0.4.28.15, blog-page.php): a card for each post */
.stb-blog__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.stb-blog__item {
	min-width: 0;
	margin: 0;
}
.stb-blog__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--stb-line);
	border-radius: var(--stb-radius);
	background: var(--stb-white);
}
.stb-blog__pic {
	display: block;
	aspect-ratio: 16 / 9;
	border-bottom: 1px solid var(--stb-line);
	background: var(--stb-white);
}
.stb-blog__pic img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.stb-blog__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 18px 20px;
}
body.stb .stb-blog__title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
}
body.stb .stb-blog__title a {
	color: var(--stb-text);
	text-decoration: none;
}
body.stb .stb-blog__title a:hover {
	text-decoration: underline;
}
body.stb .stb-blog__date {
	margin: 0;
	color: var(--stb-muted);
	font-size: 14px;
}
body.stb .stb-blog__text {
	margin: 0;
	color: var(--stb-muted-2);
	font-size: 15px;
	line-height: 1.55;
}
.stb-blog__pages {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
}
body.stb .stb-blog__none {
	margin: 0;
	color: var(--stb-muted-2);
}

/* "Read our guide" in the homepage's check and calculator bands (0.4.28.15) */
body.stb .stb-band-guide {
	margin: 10px 0 0;
	color: var(--stb-muted-2);
	font-size: 15px;
	line-height: 1.5;
}
body.stb .stb-band-guide a {
	color: var(--stb-ink);
	font-weight: 700;
	text-decoration: underline;
}
body.stb .stb-calcband .stb-band-guide {
	color: var(--stb-on-ink-muted);
}
body.stb .stb-calcband .stb-band-guide a {
	color: var(--stb-white);
}

/* Free credit codes (0.4.28.16): the 3 Free Ads Offer's line, and My Account → Redeem a Code */
body.stb p.stb-code-offer,
body.stb .stb-code-offer {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--stb-plate-soft);
	color: var(--stb-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
}
body.stb .stb-code-offer svg {
	flex: none;
	margin-top: 1px;
}
/* Inside WooCommerce's content (My Account, seller sign-up) the theme's ".ast-single-post
   .entry-content .woocommerce a" takes underlines off, so these links say so more strongly. */
body.stb .stb-code-offer a,
body.stb .woocommerce .stb-code-offer a,
body.stb .stb-code .stb-code-offer a,
body.stb .stb-signup-intro .stb-code-offer a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.stb p.stb-code-offer--adform {
	margin: 0 0 18px;
}
body.stb .stb-signup-intro p.stb-code-offer {
	margin: 18px 0 0;
}
body.stb .stb-code .stb-notice {
	margin: 0;
}
body.stb .stb-code__form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px 12px;
}
body.stb .stb-code__form .stb-field {
	display: flex;
	flex: 1 1 200px;
	flex-direction: column;
	max-width: 320px;
	gap: 6px;
	min-width: 0;
	margin: 0;
}
body.stb .stb-code__form .stb-field input {
	letter-spacing: 0.04em;
}
body.stb .stb-code__offer {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--stb-plate-soft);
	color: var(--stb-ink);
}
body.stb .stb-code__name {
	font-weight: 800;
}
body.stb .stb-code__terms {
	line-height: 1.5;
}
body.stb .stb-code .stb-code__more a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* The parts fee line, under the price box on the ad form (0.4.28.18). */
body.stb-adform-page .stb-part-fee-wrap {
	margin-top: 10px;
}
body.stb .stb-field__help.stb-part-fee strong {
	color: var(--stb-text);
	font-weight: 800;
}

/* An advert in the carousel (0.4.28.19): the advertiser's logo, and "Ad" as big as the words
   under it (.stb-promo__text: 13.5px, and 14px on a phone, 0.4.28.20). */
.stb-promo__visual--logo {
	width: 132px;
	height: 64px;
	border-radius: 0;
	background: none;
}
body.stb .stb-promo__logo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
body.stb .stb-promo--sponsor .stb-promo__eyebrow {
	font-size: 13.5px;
}
@media (max-width: 640px) {
	.stb-promo__visual--logo {
		width: 92px;
		height: 45px;
	}
	body.stb .stb-promo--sponsor .stb-promo__eyebrow {
		font-size: 14px;
	}
}
