/* ==========================================================================
   AuctionForge skin
   Restyles the plugin's shortcodes and screens — sale cards, catalogue
   grid, lot page, account area, forms and modals — to the Clumber design.
   Markup and behaviour are the plugin's own; this file changes appearance
   only, so plugin updates keep working.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

.bp-container,
.bp-container-fluid,
.bp-main-container,
.bp-wrapper,
.bp-modal,
.bp-lots,
.bp-lot {
	font-family: var(--cl-serif);
	color: var(--cl-green-900);
}

.bp-container,
.bp-main-container { max-width: var(--cl-wrap); margin-inline: auto; padding-inline: var(--cl-gut); }

.bp-container h1, .bp-container h2, .bp-container h3, .bp-container h4,
.bp-modal h1, .bp-modal h2, .bp-modal h3 {
	font-family: var(--cl-serif);
	font-weight: 300;
	color: var(--cl-green-900);
	letter-spacing: 0;
}

.bp-container a { color: var(--cl-green-900); }

.bp-text-red { color: var(--cl-muted) !important; }
.bp-text-grey { color: var(--cl-muted) !important; }

/* Plugin's "minimal" page-title band → the theme's page header. */
.bp-container-fluid .bp-header__content-minimal {
	background: var(--cl-bg-alt) !important;
	border: 0;
	padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.bp-container-fluid { padding: 0 !important; }

.bp-container-fluid .bp-header__content-minimal,
.bp-header__content-minimal.minimal-header-centered {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
	border: 0 !important;
	text-align: left;
}

.bp-header__content-minimal > * {
	max-width: var(--cl-wrap);
	margin-inline: auto !important;
	padding-inline: var(--cl-gut);
	text-align: left;
	justify-content: flex-start;
	float: none !important;
	width: auto !important;
}

.bp-header__content-minimal .title,
.bp-header__content-minimal h1 {
	font-family: var(--cl-serif) !important;
	font-size: clamp(2rem, 4.4vw, 3.4rem) !important;
	font-weight: 300 !important;
	color: var(--cl-green-900) !important;
	text-transform: none;
	margin: 0;
}

.bp-content_archive,
.bp-content__text { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* --------------------------------------------------------------------------
   Buttons and form controls
   -------------------------------------------------------------------------- */

.bp-btn,
.bp-button,
.bp-form-group .bp-btn,
.bp-container button:not(.cl-iconbtn):not(.bp-lot__tool__item-link):not(.bp-lot-gallery__nav):not(.bp-lot-gallery__dot),
.bp-modal button,
.bp-container input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.9rem;
	border: 1px solid var(--cl-green-900);
	border-radius: 0 !important;
	background: var(--cl-green-900);
	color: #fff;
	font-family: var(--cl-sans);
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	line-height: 1.2;
	box-shadow: none !important;
	transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
	cursor: pointer;
}

.bp-btn:hover,
.bp-btn:focus-visible,
.bp-container button:not(.cl-iconbtn):not(.bp-lot-gallery__nav):not(.bp-lot-gallery__dot):hover { background: #000; border-color: #000; color: #fff; }

.bp-btn-default,
.bp-btn-black { background: var(--cl-green-900); color: #fff; }

.bp-btn-sm { padding: 0.6rem 1.2rem; font-size: 0.625rem; }
.bp-btn-xl { padding: 1rem 2.4rem; }

.bp-btn.bp-btn-link,
.bp-btn.bp-btn-outline,
.bp-btn.bp-btn-light,
.bp-btn.bp-btn-white {
	background: transparent;
	color: var(--cl-green-900);
}

.bp-btn.bp-btn-link:hover,
.bp-btn.bp-btn-outline:hover { background: var(--cl-green-900); color: #fff; }

.bp-form-control,
.bp-container input[type="text"],
.bp-container input[type="email"],
.bp-container input[type="password"],
.bp-container input[type="tel"],
.bp-container input[type="number"],
.bp-container input[type="search"],
.bp-container select,
.bp-container textarea,
.bp-modal input:not([type="checkbox"]):not([type="radio"]),
.bp-modal select,
.bp-modal textarea {
	border: 1px solid var(--cl-line) !important;
	border-radius: 0 !important;
	background: var(--cl-surface) !important;
	box-shadow: none !important;
	padding: 0.8rem 1rem;
	font-family: var(--cl-serif);
	font-size: 1rem;
	color: var(--cl-green-900);
}

.bp-form-control:focus,
.bp-container input:focus,
.bp-modal input:focus { border-color: var(--cl-green-900) !important; outline: 0; }

.bp-form-group label,
.bp-form-check-label {
	font-family: var(--cl-serif);
	font-size: 1rem;
	color: var(--cl-ink-2);
}

.bp-form-error,
.bp-alert-danger { border-radius: 0; font-family: var(--cl-sans); font-size: 0.8125rem; }

.bp-alert { border-radius: 0; border: 1px solid var(--cl-line); background: var(--cl-surface); }

/* Plugin status tints reduced to two: ink for actions, gold for highlights. */
/* Plugin status tints (blue / green / red) keep their own colours; text inside is white. */
.bp-bg-blue, .bp-bg-green, .bp-bg-red { color: #fff !important; }

/* --------------------------------------------------------------------------
   Sale cards — [bp_auction_list], [bp_past_sales], /auction/, /archive/
   -------------------------------------------------------------------------- */

.bp-lots.bp-auctions,
.bp-upcoming-list .bp-lots {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.4vw, 2rem);
	justify-content: start;
	margin: 0;
	padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.bp-lot.bp-lot_auction {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	display: flex;
	flex-direction: column;
	text-align: left;
}

.bp-lot.bp-lot_auction .bp-lot__wrp-image {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	height: auto !important;
	margin: 0 0 1.1rem !important;
	padding: 0 !important;
	overflow: hidden;
	background: var(--cl-bg-alt) !important;
}

.bp-lot.bp-lot_auction .bp-lot__image {
	position: absolute;
	inset: 0;
	top: 0 !important;
	transform: none !important;
	max-height: none !important;
	padding: 0 !important;
	height: 100% !important;
	width: 100% !important;
	background-size: cover !important;
	background-position: center;
	transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bp-lot.bp-lot_auction:hover .bp-lot__image { transform: scale(1.035); }

/* Date pill inside the image becomes the eyebrow above the title. */
.bp-lot.bp-lot_auction .bp-lot__date,
.bp-lot.bp-lot_auction .bp-auction-start-date {
	position: static !important;
	display: block;
	margin: 0 0 0.5rem !important;
	padding: 0 !important;
	background: none !important;
	font-family: var(--cl-sans);
	font-size: 0.625rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cl-muted);
	text-align: left;
}

.bp-lot.bp-lot_auction .bp-lot__wrp-image .bp-lot__date {
	position: absolute !important;
	left: 0; top: 0;
	z-index: 2;
	margin: 0 !important;
	padding: 0.45rem 0.9rem !important;
	background: rgba(20, 17, 13, 0.82) !important;
	color: #fff;
	font-size: 0.5625rem;
}

.bp-lot.bp-lot_auction .bp-lot__content {
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	text-align: left;
}

.bp-lot.bp-lot_auction .bp-lot__title {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	text-align: left;
}

.bp-lot.bp-lot_auction .bp-lot__title .bp-lot__date,
.bp-lot.bp-lot_auction .bp-lot__title .bp-auction-start-date { order: -1; }

/* The plugin's formatted date is long ("Friday, October 2, 2026 at 2:00 PM"):
   keep it quiet and one line where possible. */
.bp-lot.bp-lot_auction .bp-auction-start-date {
	font-size: 0.5625rem;
	letter-spacing: 0.16em;
	line-height: 1.5;
}

.bp-lot.bp-lot_auction .bp-lot__content { height: auto !important; min-height: 0 !important; }
.bp-lot.bp-lot_auction .bp-lot__title::after,
.bp-lot.bp-lot_auction .bp-lot__content::after { display: none !important; }

.bp-lot.bp-lot_auction .bp-lot__title .bp-title,
.bp-lot.bp-lot_auction .bp-lot__title a {
	display: block;
	font-family: var(--cl-serif);
	font-size: clamp(1.25rem, 1.9vw, 1.5rem);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: var(--cl-green-900);
	margin: 0 0 0.35rem;
}

.bp-lot.bp-lot_auction .bp-lot__text {
	font-family: var(--cl-serif);
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--cl-muted);
	text-transform: none;
	letter-spacing: 0;
	margin: 0 0 0.9rem;
	padding: 0;
	border: 0;
	text-align: left;
}

.bp-lot.bp-lot_auction .bp-lot__text.is-duplicate { display: none; }

.bp-lot.bp-lot_auction .bp-lot__tool {
	margin-top: 0.35rem;
	min-height: 0 !important;
	height: auto !important;
	padding: 0 !important;
	border: 0 !important;
	justify-content: flex-start !important;
	gap: 0.75rem 1.25rem;
	text-align: left;
}

.bp-lot.bp-lot_auction .bp-lot__tool::before,
.bp-lot.bp-lot_auction .bp-lot__tool::after,
.bp-lot.bp-lot_auction hr { display: none !important; }

.bp-lot.bp-lot_auction .bp-lot__tool__item.bp-text-red {
	font-family: var(--cl-sans);
	font-size: 0.625rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cl-muted) !important;
	order: -1;
	width: 100%;
	margin: 0 0 0.2rem;
}

/* "View catalogue" / "View results" read as the arrow link from the design. */
.bp-lot.bp-lot_auction .bp-lot__tool__item.bp-btn {
	padding: 0;
	border: 0;
	background: none;
	color: var(--cl-ink-2);
	font-family: var(--cl-sans);
	font-size: 0.625rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.bp-lot.bp-lot_auction .bp-lot__tool__item.bp-btn::after {
	content: "\2192";
	margin-left: 0.6rem;
	display: inline-block;
	transition: transform 250ms ease;
}

.bp-lot.bp-lot_auction .bp-lot__tool__item.bp-btn:hover { background: none; color: var(--cl-green-900); }
.bp-lot.bp-lot_auction .bp-lot__tool__item.bp-btn:hover::after { transform: translateX(4px); }

/* Countdown strip under the image: dark, quiet, no red. */
.bp-lot .bp-countdown,
.bp-countdown {
	display: flex;
	justify-content: flex-start;
	gap: 1.25rem;
	margin: -0.35rem 0 0.9rem !important;
	padding: 0 !important;
	background: none !important;
	color: var(--cl-green-900) !important;
	border: 0;
	font-family: var(--cl-serif);
}

.bp-countdown-time { display: flex; flex-direction: column; align-items: flex-start; color: var(--cl-green-900); }
.bp-countdown-number { font-size: 1.25rem; line-height: 1; color: var(--cl-green-900) !important; }
.bp-countdown-text,
.bp-countdown-title,
.bpw-countdown-label {
	font-family: var(--cl-sans);
	font-size: 0.5625rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cl-muted) !important;
	margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Catalogue page — /auction/{sale}/
   -------------------------------------------------------------------------- */

.bp-header__content:not(.bp-header__content-minimal),
.bp-auction-header,
.bp-container .bp-header {
	background: var(--cl-bg-alt);
	border: 0;
}

.bp-container .bp-header__content h1,
.bp-container .bp-header__content .bp-title {
	font-family: var(--cl-serif);
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	font-weight: 300;
	text-transform: none;
	letter-spacing: 0;
}

.bp-container .bp-header__content .bp-subtitle,
.bp-container .bp-header__content .bp-date {
	font-family: var(--cl-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cl-muted);
}

.bp-spoiler-block,
.bp-auction-info {
	background: var(--cl-surface) !important;
	border: 1px solid var(--cl-line-soft) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.bp-container button.bp-spoiler-trigger,
.bp-container a.bp-spoiler-trigger,
.bp-spoiler-trigger {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 1rem 1.25rem;
	background: var(--cl-surface) !important;
	border: 0 !important;
	border-bottom: 1px solid var(--cl-line-soft) !important;
	box-shadow: none !important;
	text-align: left;
}

.bp-spoiler-trigger:hover { background: var(--cl-bg-alt) !important; }

.bp-spoiler-block .bp-content,
.bp-spoiler-block > div:not(.bp-spoiler-trigger) { padding: 1.25rem; font-family: var(--cl-serif); }

.bp-spoiler-trigger,
.bp-spoiler-trigger *,
.bp-spoiler-block .bp-title,
.bp-auction-info__title {
	font-family: var(--cl-sans) !important;
	font-size: 0.6875rem !important;
	font-weight: 400 !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cl-green-900) !important;
}

/* Sort / search / per-page toolbar */
.bp-container .bp-form-group__inline,
.bp-container .bp-form-jc-start {
	display: flex !important;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: nowrap;
}

.bp-container .bp-form-group__inline label,
.bp-container .bp-form-group__inline .bp-lead {
	font-family: var(--cl-sans) !important;
	font-size: 0.5625rem !important;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cl-muted) !important;
	white-space: nowrap;
	margin: 0;
}

.bp-container .bp-form-group__inline select,
.bp-container .bp-form-group__inline .bp-form-control,
.bp-container .bp-form-group__inline .select2-container {
	width: auto !important;
	min-width: 5.5rem;
	height: 40px;
	padding-block: 0.4rem;
	flex: 0 0 auto;
}

.bp-container .bp-form-group_select select,
.bp-container .bp-search input,
.bp-container .select2-container .select2-selection {
	border: 1px solid var(--cl-line) !important;
	border-radius: 0 !important;
	background: var(--cl-surface) !important;
	font-family: var(--cl-serif);
	height: auto;
	min-height: 44px;
}

.bp-container .bp-search button,
.bp-container .bp-search .bp-btn { padding: 0.6rem 1rem; }

/* Lot cards in the grid */
.bp-lots:not(.bp-auctions) .bp-lot {
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	text-align: left;
}

.bp-lots:not(.bp-auctions) .bp-lot .bp-lot__wrp-image {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--cl-surface) !important;
	border: 1px solid var(--cl-line-soft);
	margin-bottom: 1rem;
}

.bp-lots:not(.bp-auctions) .bp-lot .bp-lot__image {
	height: 100% !important;
	background-size: contain !important;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bp-lots:not(.bp-auctions) .bp-lot:hover .bp-lot__image:not(.bp-lot-gallery__slide) { transform: scale(1.03); }

.bp-lots:not(.bp-auctions) .bp-lot .bp-lot__title,
.bp-lots:not(.bp-auctions) .bp-lot .bp-lot__title a,
.bp-lots:not(.bp-auctions) .bp-lot .bp-title {
	font-family: var(--cl-sans) !important;
	font-size: 0.6875rem !important;
	font-weight: 400 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase;
	line-height: 1.5 !important;
	color: var(--cl-green-900) !important;
	text-align: left;
}

.bp-lots:not(.bp-auctions) .bp-lot .bp-lot__title a:hover { color: var(--cl-muted) !important; }

.bp-lots .bp-lot__message,
.bp-lots .bp-lot__message-inner,
.bp-lots .bp-lot__message-start_price {
	font-family: var(--cl-serif);
	font-size: 0.9375rem;
	color: var(--cl-muted) !important;
	text-align: left;
}

.bp-lots .bp-lot__message .bp-subtitle,
.bp-lots .bp-lead {
	font-family: var(--cl-sans) !important;
	font-size: 0.5625rem !important;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cl-muted) !important;
}

.bp-price,
.bp-lot__price,
.bp-lots .bp-price {
	font-family: var(--cl-serif) !important;
	font-size: 1rem !important;
	font-weight: 400;
	color: var(--cl-ink-2) !important;
}

.bp-lots .bp-lot__message hr,
.bp-lots .bp-lot .bp-lot__tool::before { display: none; }

/* Wishlist heart: ink outline, not red */
.bp__wishlist,
.bp-wishlist,
.bp__wishlist *,
.bp-wishlist * {
	color: var(--cl-green-900) !important;
	background: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
}

.bp__wishlist svg,
.bp__wishlist svg *,
.bp-wishlist svg * { fill: none !important; stroke: currentColor !important; stroke-width: 1.5; }

.bp__wishlist.active *,
.bp__wishlist.is-active *,
.bp__wishlist.bp__wishlist_active * { color: var(--cl-gold) !important; }
.bp__wishlist.active svg *,
.bp__wishlist.is-active svg *,
.bp__wishlist.bp__wishlist_active svg * { fill: currentColor !important; }

.bp__wishlist.active,
.bp__wishlist.is-active,
.bp__wishlist.active svg { color: var(--cl-gold) !important; fill: currentColor; }

/* Pagination */
.wrp-navigation,
.bp-pagination {
	font-family: var(--cl-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	gap: 0.5rem;
}

.wrp-navigation a.page-numbers,
.wrp-navigation span.page-numbers,
.bp-pagination a.page-numbers,
.bp-pagination span.page-numbers,
.bp-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.4rem;
	height: 2.4rem;
	padding: 0 0.5rem;
	border: 1px solid var(--cl-line);
	border-radius: 0 !important;
	background: transparent;
	color: var(--cl-green-900);
}

.wrp-navigation .page-numbers.current,
.wrp-navigation a.active,
.bp-pagination .page-numbers.current {
	background: var(--cl-green-900);
	border-color: var(--cl-green-900);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Lot page — /auction/{sale}/lot-{n}/
   -------------------------------------------------------------------------- */

.bp-control__title,
.bp-container h1.bp-control__title {
	font-family: var(--cl-serif);
	font-size: clamp(1.6rem, 2.8vw, 2.4rem);
	font-weight: 300;
	line-height: 1.15;
	text-transform: none;
	letter-spacing: 0;
	color: var(--cl-green-900);
}

.bp-control,
.bp-control__wrp,
.bp-lot__control {
	background: var(--cl-surface) !important;
	border: 1px solid var(--cl-line-soft) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.bp-control__notice,
.bp-control__notice_wrp {
	font-family: var(--cl-serif);
	font-size: 1.0625rem;
	color: var(--cl-green-900);
}

.bp-control__price,
.bp-control__estimate,
.bp-control__commission,
.bp-control__desc {
	font-family: var(--cl-serif);
	font-size: 0.9375rem;
	color: var(--cl-muted) !important;
}

.bp-control__price span,
.bp-control__estimate span,
.bp-control__commission span { color: var(--cl-green-900); }

.bp-control__bid select,
.bp-control__bid .bp-form-control { min-height: 46px; }

.bp-bid,
.bp-control .bp-btn { min-height: 46px; }

/* Gallery */
.bp-lot__gallery,
.bp-gallery,
#lotImages {
	background: var(--cl-surface);
	border: 1px solid var(--cl-line-soft);
}

.bp-gallery__thumb.active,
.bp-lot__thumb.active,
.slick-current .bp-lot__thumb { outline: 1px solid var(--cl-green-900); outline-offset: -1px; }

.slick-arrow,
.bp-gallery__arrow {
	background: var(--cl-surface) !important;
	border: 1px solid var(--cl-line) !important;
	border-radius: 0 !important;
	color: var(--cl-green-900) !important;
	box-shadow: none !important;
}

/* Prev / next lot + jump box */
.bp-lot__nav a,
.bp-lot-navigation a,
.bp-prev-lot,
.bp-next-lot {
	font-family: var(--cl-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cl-ink-2);
}

/* Description */
.bp-lot__desc,
.bp-lot__description,
.bp-control__description {
	font-family: var(--cl-serif);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--cl-ink-2);
}

/* Share row and links list */
.bp-share__title,
.bp-lot__share-title {
	font-family: var(--cl-sans);
	font-size: 0.625rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cl-muted);
}

.bp-share a,
.bp-lot__share a {
	background: var(--cl-surface) !important;
	border: 1px solid var(--cl-line) !important;
	color: var(--cl-green-900) !important;
	border-radius: 50%;
}

.bp-share a:hover,
.bp-lot__share a:hover { background: var(--cl-green-900) !important; color: #fff !important; }

/* --------------------------------------------------------------------------
   Account area, login/register modals, submission form
   -------------------------------------------------------------------------- */

.bp-modal .bp-modal__container,
.bp-modal__container,
.bp-modal-content {
	border-radius: 0 !important;
	border: 1px solid var(--cl-line);
	box-shadow: 0 30px 60px rgba(20, 17, 13, 0.18);
	background: var(--cl-surface);
	font-family: var(--cl-serif);
}

.bp-modal__title,
.bp-modal h2,
.bp-modal h3 { font-family: var(--cl-serif); font-weight: 300; font-size: 1.75rem; }

.bp-modal__close,
.bp-modal .modal__close { color: var(--cl-green-900); }

.bp-login-link,
.bp-form-group__link,
.bp-container .doForgotten {
	color: var(--cl-green-900);
	border-bottom: 1px solid var(--cl-line);
	text-decoration: none;
}

.bp-login-link:hover,
.bp-form-group__link:hover { border-bottom-color: var(--cl-green-900); }

#bp-account .bp-title,
.bp-header__content-profile-page .title,
.bp-profile__title {
	font-family: var(--cl-serif);
	font-weight: 300;
	text-transform: none;
}

#bp-account .bp-nav a,
.bp-profile__nav a,
.bp-tabs a,
.bp-tab {
	font-family: var(--cl-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cl-ink-2);
	border-radius: 0;
}

#bp-account .bp-nav a.active,
.bp-tabs a.active,
.bp-tab.active { color: var(--cl-green-900); border-bottom: 1px solid var(--cl-green-900); }

#bp-account table,
.bp-container table { width: 100%; border-collapse: collapse; font-family: var(--cl-serif); }
#bp-account th,
.bp-container th {
	font-family: var(--cl-sans);
	font-size: 0.5625rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cl-muted);
	font-weight: 400;
	border-bottom: 1px solid var(--cl-line);
	padding: 0.7rem 0.6rem;
	text-align: left;
}
#bp-account td,
.bp-container td { padding: 0.8rem 0.6rem; border-bottom: 1px solid var(--cl-line-soft); }

#bp-submission-form .bp-form-group { margin-bottom: 1rem; }
#bp-submission-form .bp-btn { margin-top: 0.5rem; }

/* Loading overlay: neutral, never blue. */
.bp-loader,
.bp-preloader,
.bp-spinner,
.lds-ring div,
.bp-loading::after { border-color: var(--cl-green-900) transparent transparent transparent !important; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
	.bp-lots.bp-auctions,
	.bp-upcoming-list .bp-lots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
	.bp-lots.bp-auctions,
	.bp-upcoming-list .bp-lots { grid-template-columns: 1fr; }
	.bp-lot.bp-lot_auction { max-width: 100% !important; }
}

/* The wishlist heart is a bare span whose icon is a pseudo-element. */
.bp__wishlist::before,
.bp__wishlist::after,
.bp__wishlist-removed::before,
.bp__wishlist-removed::after {
	color: var(--cl-green-900) !important;
	background: transparent !important;
	opacity: 0.85;
}

.bp__wishlist:hover::before { opacity: 1; }

.bp__wishlist.bp__wishlist-active::before,
.bp__wishlist.bp__wishlist-active::after,
.bp__wishlist-active::before { color: var(--cl-gold) !important; opacity: 1; }

/* --------------------------------------------------------------------------
   Catalogue: auction-information accordion and per-page control
   -------------------------------------------------------------------------- */

.af-auction-accordion {
	border: 1px solid var(--cl-line-soft) !important;
	border-radius: 0 !important;
	background: var(--cl-surface) !important;
	box-shadow: none !important;
	margin-block: clamp(1.25rem, 2.5vw, 2rem);
}

.bp-container button.af-auction-accordion__header,
.af-auction-accordion__header {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1rem 1.25rem;
	background: var(--cl-surface) !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--cl-green-900) !important;
	text-align: left;
	cursor: pointer;
}

.af-auction-accordion__header:hover { background: var(--cl-bg-alt) !important; }

.af-auction-accordion__title {
	font-family: var(--cl-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cl-green-900);
}

.af-auction-accordion__chevron svg { width: 18px; height: 18px; fill: var(--cl-green-900); }

.af-auction-accordion__content {
	border-top: 1px solid var(--cl-line-soft) !important;
	padding: 1.25rem !important;
	font-family: var(--cl-serif);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--cl-ink-2);
}

.bp-content__pagination,
.bp-tools { align-items: center; }

.bp-form_per_page .bp-form-group__inner {
	display: flex !important;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: nowrap;
}

.bp-form_per_page label {
	font-family: var(--cl-sans) !important;
	font-size: 0.5625rem !important;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cl-muted) !important;
	white-space: nowrap;
	margin: 0 !important;
}

.bp-form_per_page select,
.bp-form_per_page .select2-container { width: 5.5rem !important; min-width: 5.5rem; flex: 0 0 auto; }

.bp-form_per_page .select2-selection,
.bp-container .select2-selection--single {
	height: 40px !important;
	border: 1px solid var(--cl-line) !important;
	border-radius: 0 !important;
	background: var(--cl-surface) !important;
	display: flex;
	align-items: center;
}

.bp-container .select2-selection__rendered { line-height: 38px !important; font-family: var(--cl-serif); color: var(--cl-green-900) !important; padding-left: 0.75rem !important; }
.bp-container .select2-selection__arrow { height: 38px !important; }
.select2-dropdown { border: 1px solid var(--cl-line) !important; border-radius: 0 !important; font-family: var(--cl-serif); }
.select2-results__option--highlighted { background: var(--cl-green-900) !important; color: #fff !important; }

/* Band title sits left like every other page header; no dead space below. */
.bp-header__content-minimal .minimal-header-left { align-items: flex-start !important; text-align: left !important; }
.bp-content.bp-content_archive { padding: 0 !important; min-height: 0 !important; margin: 0 !important; }
.bp-content__text:empty { display: none; }
.bp-lots.bp-auctions,
.bp-upcoming-list .bp-lots,
.bp-archive-list .bp-lots { padding-top: clamp(2rem, 4vw, 3rem) !important; }

/* Plugin indents inside the sale card */
.bp-lot.bp-lot_auction .bp-lot__title .bp-title,
.bp-lot.bp-lot_auction .bp-lot__title a,
.bp-lot.bp-lot_auction .bp-lot__tool__item,
.bp-lot.bp-lot_auction .bp-lot__text { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }

/* Per-page select2 needs room for two digits plus the arrow */
.bp-form_per_page select,
.bp-form_per_page .select2-container { width: 6.5rem !important; }
.bp-container .select2-selection__rendered { padding-right: 1.6rem !important; }

/* Sale-card internals left-aligned — the plugin centres them with
   higher-specificity selectors, so these match that specificity. */
.bp-lots .bp-lot.bp-lot_auction,
.bp-lots .bp-lot.bp-lot_auction .bp-lot__content,
.bp-lots .bp-lot.bp-lot_auction .bp-lot__title,
.bp-lots .bp-lot.bp-lot_auction .bp-lot__title .bp-title,
.bp-lots .bp-lot.bp-lot_auction .bp-lot__title a,
.bp-lots .bp-lot.bp-lot_auction .bp-lot__text,
.bp-lots .bp-lot.bp-lot_auction .bp-lot__date,
.bp-lots .bp-lot.bp-lot_auction .bp-auction-start-date,
.bp-lots .bp-lot.bp-lot_auction .bp-lot__tool,
.bp-lots .bp-lot.bp-lot_auction .bp-lot__tool__item {
	text-align: left !important;
	justify-content: flex-start !important;
	align-items: flex-start !important;
	align-self: flex-start !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.bp-lots .bp-lot.bp-lot_auction .bp-lot__title .bp-title { font-size: clamp(1.25rem, 1.9vw, 1.5rem) !important; }
.bp-lots .bp-lot.bp-lot_auction .bp-lot__tool__item.bp-text-red { margin-bottom: 0.5rem !important; }

/* The card column must stretch its children — flex-start collapsed the
   image link (an <a> with only an absolutely-positioned child) to 0 width. */
.bp-lots .bp-lot.bp-lot_auction { align-items: stretch !important; }
.bp-lots .bp-lot.bp-lot_auction .bp-lot__wrp-image { width: 100% !important; align-self: stretch !important; display: block !important; }

/* --------------------------------------------------------------------------
   Catalogue lot-card image gallery (browse a lot's photos on the card)
   The controls are <button>s, so they are excluded from the generic button
   skin above and given their intended geometry here.
   -------------------------------------------------------------------------- */

.bp-lots .bp-lot .bp-lot-gallery__slide {
	transition: opacity 250ms ease !important;
	transform: translateY(-50%) !important;
	background-size: contain !important;
}

.bp-container .bp-lot-gallery__nav {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 32px !important;
	height: 32px !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.92) !important;
	color: var(--cl-green-900) !important;
	font-family: var(--cl-serif);
	font-size: 20px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	line-height: 1 !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22) !important;
	opacity: 0;
	transition: opacity 180ms ease, background-color 180ms ease;
}

.bp-lot-gallery:hover .bp-lot-gallery__nav,
.bp-lot-gallery:focus-within .bp-lot-gallery__nav { opacity: 1; }
.bp-container .bp-lot-gallery__nav:hover { background: #fff !important; color: var(--cl-green-900) !important; }
.bp-container .bp-lot-gallery__nav:focus-visible { outline: 2px solid var(--cl-green-900); outline-offset: 2px; opacity: 1; }
@media (hover: none) { .bp-container .bp-lot-gallery__nav { opacity: 1; } }

.bp-container .bp-lot-gallery__dot {
	display: block !important;
	width: 7px !important;
	height: 7px !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.7) !important;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.5) !important;
	font-size: 0 !important;
	line-height: 0 !important;
	transition: background-color 180ms ease, transform 180ms ease;
}

.bp-container .bp-lot-gallery__dot.is-active { background: #fff !important; transform: scale(1.35); }
.bp-container .bp-lot-gallery__dot:hover { background: #fff !important; }
.bp-container .bp-lot-gallery__dot:focus-visible { outline: 2px solid var(--cl-green-900); outline-offset: 2px; }

.bp-lot-gallery__count {
	background: rgba(20, 17, 13, 0.72) !important;
	font-family: var(--cl-sans) !important;
	font-weight: 400 !important;
	letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Darker type across the plugin screens: price and estimate lines in full
   ink, labels in the deepened secondary tone, no light-grey body text.
   -------------------------------------------------------------------------- */

.bp-control__price,
.bp-control__estimate,
.bp-control__commission,
.bp-control__desc,
.bp-control__desc p {
	color: var(--cl-green-900) !important;
	font-size: 1rem;
	line-height: 1.9;
}

.bp-control__price span,
.bp-control__estimate span,
.bp-control__commission span { color: var(--cl-green-900); font-weight: 500; }

.bp-control__notice,
.bp-control__notice_wrp,
.bp-control__title { color: var(--cl-green-900) !important; }

.bp-lots .bp-lot__message,
.bp-lots .bp-lot__message-inner,
.bp-lots .bp-lot__message-start_price,
.bp-lots .bp-price,
.bp-price { color: var(--cl-green-900) !important; }

.bp-lots .bp-lot__message .bp-subtitle,
.bp-lots .bp-lead,
.bp-container .bp-form_per_page label,
.bp-container .bp-form-group__inline label { color: var(--cl-ink-2) !important; }

.bp-lot.bp-lot_auction .bp-lot__date,
.bp-lot.bp-lot_auction .bp-auction-start-date,
.bp-lot.bp-lot_auction .bp-lot__text,
.bp-lot.bp-lot_auction .bp-lot__tool__item.bp-text-red { color: var(--cl-ink-2) !important; }

.bp-lot__desc,
.bp-lot__description,
.bp-control__description,
.bp-container p { color: var(--cl-green-900); }

.bp-text-grey,
.bp-text-red { color: var(--cl-ink-2) !important; }

/* --------------------------------------------------------------------------
   Lot page bid row: label, amount dropdown and Bid button on one aligned
   line, all 46px tall.
   -------------------------------------------------------------------------- */

.bp-single-lot .bp-control .bp-control__bid,
.bp-control__bid {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin: 0.25rem 0 1.4rem !important;
	padding: 0 !important;
}

.bp-control__bid .bp-form-group__inner {
	display: flex !important;
	align-items: center;
	gap: 0.85rem;
	margin: 0 !important;
	flex: 0 0 auto;
}

.bp-control__bid .bp-form-group__label {
	font-family: var(--cl-sans);
	font-size: 0.625rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cl-ink-2);
	white-space: nowrap;
	margin: 0 !important;
}

.bp-control__bid .select2-container,
.bp-control__bid select.bp-form-control {
	width: 10.5rem !important;
	min-width: 10.5rem;
	height: 46px !important;
	flex: 0 0 auto;
}

.bp-control__bid .select2-selection--single {
	height: 46px !important;
	border: 1px solid var(--cl-green-900) !important;
	border-radius: 0 !important;
	background: var(--cl-surface) !important;
	display: flex;
	align-items: center;
}

.bp-control__bid .select2-selection__rendered {
	line-height: 44px !important;
	padding: 0 2.25rem 0 1rem !important;
	font-family: var(--cl-serif);
	font-size: 1.0625rem;
	color: var(--cl-green-900) !important;
}

.bp-control__bid .select2-selection__arrow { height: 44px !important; right: 0.6rem; }
.bp-control__bid .select2-selection__arrow b { border-color: var(--cl-green-900) transparent transparent transparent !important; }

.bp-control__bid .bp-btn,
.bp-control__bid button.bp-btn {
	height: 46px !important;
	min-height: 0 !important;
	min-width: 9rem;
	padding: 0 2.25rem !important;
	margin: 0 !important;
	line-height: 1 !important;
}

@media (max-width: 480px) {
	.bp-control__bid .bp-form-group__inner { width: 100%; }
	.bp-control__bid .select2-container,
	.bp-control__bid .bp-btn { flex: 1 1 auto; width: auto !important; }
}

/* The plugin's inner groups are width:100%; on this row they must size to content. */
.bp-control__bid { flex-wrap: nowrap; }
.bp-control__bid .bp-form-group__inner { width: auto !important; max-width: none !important; }
@media (max-width: 480px) { .bp-control__bid { flex-wrap: wrap; } }

/* --------------------------------------------------------------------------
   select2 dropdowns (items per page, sort, bid amount): solid panel, clear
   options, always above the toolbar.
   -------------------------------------------------------------------------- */

.select2-container--open .select2-dropdown,
.select2-dropdown {
	background: var(--cl-surface) !important;
	border: 1px solid var(--cl-line) !important;
	border-radius: 0 !important;
	box-shadow: 0 12px 28px rgba(20, 17, 13, 0.14) !important;
	z-index: 10050 !important;
	font-family: var(--cl-serif);
	overflow: hidden;
}

.select2-results { background: var(--cl-surface) !important; }
.select2-results__options { max-height: 260px; overflow-y: auto; margin: 0; padding: 0.25rem 0; list-style: none; }

.select2-results__option {
	padding: 0.55rem 0.9rem !important;
	margin: 0 !important;
	background: var(--cl-surface) !important;
	color: var(--cl-green-900) !important;
	font-family: var(--cl-serif);
	font-size: 1rem;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
}

.select2-results__option--highlighted,
.select2-results__option[aria-selected="true"],
.select2-results__option--selected {
	background: var(--cl-green-900) !important;
	color: #fff !important;
}

.select2-search--dropdown { padding: 0.5rem; background: var(--cl-surface); border-bottom: 1px solid var(--cl-line-soft); }
.select2-search--dropdown .select2-search__field { border: 1px solid var(--cl-line) !important; border-radius: 0 !important; padding: 0.5rem 0.75rem; font-family: var(--cl-serif); }

/* Closed control: value left, chevron right, never overlapping */
.bp-container .select2-container .select2-selection--single { position: relative !important; padding: 0 !important; }
.bp-container .select2-container .select2-selection__rendered {
	display: block;
	padding: 0 2rem 0 0.9rem !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: var(--cl-serif);
	color: var(--cl-green-900) !important;
}
.bp-container .select2-container .select2-selection__arrow {
	position: absolute !important;
	top: 50% !important;
	right: 0.6rem !important;
	left: auto !important;
	width: 12px !important;
	height: 12px !important;
	transform: translateY(-50%);
}
.bp-container .select2-container .select2-selection__arrow b {
	position: static !important;
	display: block;
	margin: 0 !important;
	border-style: solid;
	border-width: 5px 4px 0 4px !important;
	border-color: var(--cl-green-900) transparent transparent transparent !important;
}
.bp-container .select2-container--open .select2-selection__arrow b {
	border-width: 0 4px 5px 4px !important;
	border-color: transparent transparent var(--cl-green-900) transparent !important;
}

.bp-form_per_page .select2-container { width: 7rem !important; min-width: 7rem; }
.bp-content__pagination, .bp-tools { position: relative; z-index: 4; }

/* Catalogue search button: a 46px square beside the input, white icon. */
.bp-container .bp-btn.bp-btn-search,
.bp-btn-search {
	width: 46px !important;
	height: 46px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: #fff !important;
}
.bp-btn-search .icon-search,
.bp-btn-search i,
.bp-btn-search svg { color: #fff !important; fill: #fff !important; font-size: 18px; line-height: 1; }
.bp-btn-search .icon-search::before { color: #fff !important; }
.bp-container .bp-search,
.bp-container .bp-form-group_search .bp-form-group__inner { display: flex; align-items: stretch; }
.bp-container .bp-search input,
.bp-container .bp-form-group_search input { height: 46px; }

/* --------------------------------------------------------------------------
   Catalogue lot cards — geometry fix
   The plugin's image link is height:0 + padding-top; adding aspect-ratio to
   it made the browser derive the WIDTH from that padding height, shrinking
   the box to 220px inside a 280px gallery wrapper. Use a full-width padding
   square instead, let every slide fill it, and move the card spacing onto
   the gallery wrapper so its controls position against the artwork.
   -------------------------------------------------------------------------- */

.bp-lots:not(.bp-auctions) .bp-lot .bp-lot__wrp-image {
	aspect-ratio: auto !important;
	width: 100% !important;
	height: 0 !important;
	padding-top: 100% !important;
	margin: 0 0 1rem !important;
	box-sizing: border-box;
}

.bp-lots:not(.bp-auctions) .bp-lot .bp-lot-gallery .bp-lot__wrp-image { margin-bottom: 0 !important; }
.bp-lots:not(.bp-auctions) .bp-lot .bp-lot-gallery { margin-bottom: 1rem; }

.bp-lots:not(.bp-auctions) .bp-lot .bp-lot__image,
.bp-lots:not(.bp-auctions) .bp-lot .bp-lot-gallery__slide {
	position: absolute !important;
	inset: 0 !important;
	top: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	padding: 0 !important;
	transform: none !important;
	background-size: contain !important;
	background-position: center !important;
	background-repeat: no-repeat;
}

.bp-lots:not(.bp-auctions) .bp-lot .bp-lot-gallery__slide { transition: opacity 250ms ease !important; }
.bp-lots:not(.bp-auctions) .bp-lot:hover .bp-lot__image:not(.bp-lot-gallery__slide) { transform: scale(1.03) !important; }

.bp-lot-gallery__nav--prev { left: 10px !important; }
.bp-lot-gallery__nav--next { right: 10px !important; }
.bp-lot-gallery__dots { bottom: 10px !important; }
.bp-lot-gallery__count { top: 10px !important; right: 10px !important; }

/* Catalogue search: input and button share one 46px line. */
.bp-container .bp-form-control:has(+ .bp-btn-search),
.bp-container .bp-btn-search ~ .bp-form-control,
.bp-container input.bp-form-control[type="search"],
.bp-container input.bp-form-control[name="search"],
.bp-container input.bp-form-control[name="s"] { height: 46px !important; padding: 0.6rem 3.25rem 0.6rem 1rem !important; }
.bp-container .bp-btn.bp-btn-search { top: 0 !important; bottom: 0 !important; right: 0 !important; height: 46px !important; }

/* Bid row: wider amount dropdown, and dropdown + button on exactly the same
   48px line regardless of the plugin's inline widths or baseline quirks. */
.bp-control__bid,
.bp-control__bid .bp-form-group__inner { align-items: center !important; line-height: 1 !important; }

.bp-control__bid .select2-container,
.bp-control__bid select.bp-form-control {
	width: 13rem !important;
	min-width: 13rem !important;
	height: 48px !important;
	display: inline-block !important;
	vertical-align: middle;
	margin: 0 !important;
}

.bp-control__bid .select2-container .selection { display: block; height: 48px; }
.bp-control__bid .select2-selection--single { height: 48px !important; min-height: 48px !important; box-sizing: border-box; }
.bp-control__bid .select2-selection__rendered { line-height: 46px !important; font-size: 1.125rem !important; }
.bp-control__bid .select2-selection__arrow { height: 46px !important; }

.bp-control__bid .bp-btn,
.bp-control__bid button.bp-btn {
	height: 48px !important;
	min-width: 10rem;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	margin: 0 !important;
	box-sizing: border-box;
}

.bp-control__bid .bp-form-group__label { line-height: 1.3 !important; align-self: center; }

/* Level the row: both groups are exactly 48px flex lines; the select2
   container is a block flex item (no inline baseline space) and its helper
   span stays out of flow. */
.bp-control__bid .bp-form-group__inner {
	height: 48px !important;
	display: flex !important;
	align-items: center !important;
	line-height: 1 !important;
	padding: 0 !important;
}
.bp-control__bid .select2-container { display: block !important; vertical-align: top !important; }
.bp-control__bid .dropdown-wrapper { display: none !important; }
.bp-control__bid select.select2-hidden-accessible {
	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;
}
.bp-control__bid .bp-btn,
.bp-control__bid button.bp-btn { align-self: center !important; }

/* The toolbar rule gives select2 containers vertical padding; on the bid
   row that offset the visible box 6px below the button. */
.bp-control__bid .select2-container { padding: 0 !important; }

/* Search icon must read white on the ink button. */
.bp-btn-search .icon-search { filter: invert(1) brightness(2) !important; opacity: 1 !important; }

/* The plugin paints the magnifier as a dark background image on the button
   itself; the <i> inside is empty. Replace it with a white glyph on the <i>. */
.bp-container .bp-btn.bp-btn-search,
.bp-btn-search { background-image: none !important; }

.bp-btn-search .icon-search {
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	filter: none !important;
	background-color: transparent !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.6-3.6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 18px 18px !important;
}

/* The plugin's own magnifier is a pseudo-element on the button; hide it so
   only the white glyph on the <i> remains, centred. */
.bp-btn-search::before,
.bp-btn-search::after,
.bp-btn-search .icon-search::before,
.bp-btn-search .icon-search::after { content: none !important; display: none !important; }

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
	/* Lot page: prev / catalogue / next / jump-to-lot as one tidy toolbar */
	.bp-single-lot .bp-lot__nav,
	.bp-single-lot .bp-lot-navigation,
	.bp-single-lot .bp-navigation,
	.bp-single-lot .bp-row.bp-lot__header-nav,
	.bp-single-lot .bp-d-flex.bp-justify-between {
		flex-wrap: wrap !important;
		gap: 0.6rem 0.75rem !important;
		align-items: center !important;
	}
	.bp-single-lot .bp-lot__nav a,
	.bp-single-lot .bp-prev-lot,
	.bp-single-lot .bp-next-lot,
	.bp-single-lot a[href*="lot-"].bp-btn,
	.bp-single-lot .bp-btn { white-space: nowrap !important; }

	/* Bid row stacks: label, then dropdown + button sharing the width */
	.bp-control__bid { flex-wrap: wrap !important; gap: 0.6rem !important; }
	.bp-control__bid .bp-form-group__inner {
		width: 100% !important;
		height: auto !important;
		flex-wrap: wrap !important;
		gap: 0.5rem !important;
	}
	.bp-control__bid .bp-form-group__label { width: 100%; }
	.bp-control__bid .select2-container,
	.bp-control__bid select.bp-form-control { width: 100% !important; min-width: 0 !important; }
	.bp-control__bid .bp-btn,
	.bp-control__bid button.bp-btn { width: 100% !important; min-width: 0 !important; }
	.bp-single-lot .bp-control { padding: 1.25rem !important; }

	/* Sale-card date lines are long on narrow screens */
	.bp-lot.bp-lot_auction .bp-auction-start-date,
	.bp-lot.bp-lot_auction .bp-lot__date { font-size: 0.5625rem; letter-spacing: 0.12em; }

	/* Catalogue toolbar rows */
	.bp-content__pagination,
	.bp-tools { flex-wrap: wrap !important; gap: 0.6rem 0.75rem !important; justify-content: flex-start !important; }
	.bp-container .bp-form-group__inline { flex-wrap: wrap !important; }
}

/* The plugin's 100vw band trick also appears on the lot page (outside
   .bp-container-fluid); neutralise it wherever the band occurs. */
.bp-header__content-minimal {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
	box-sizing: border-box;
}

/* Lot page prev / catalogue / next bar */
.bp-single-lot .navigation-bar,
.navigation-bar {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.25rem;
	margin: 0 0 1.25rem !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
}

.navigation-bar .nav-item,
.navigation-bar a.nav-item {
	display: inline-flex !important;
	align-items: center;
	height: 40px;
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-family: var(--cl-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cl-green-900) !important;
	white-space: nowrap !important;
	line-height: 1;
	width: auto !important;
	flex: 0 0 auto;
}

.navigation-bar .nav-item:hover { color: var(--cl-muted) !important; }

.navigation-bar a.catalog-link {
	padding: 0 1.25rem !important;
	background: var(--cl-green-900) !important;
	color: #fff !important;
	border: 1px solid var(--cl-green-900) !important;
}

.navigation-bar a.catalog-link:hover { background: #000 !important; color: #fff !important; }

@media (max-width: 640px) {
	.navigation-bar { justify-content: space-between; gap: 0.5rem 0.75rem; }
	.navigation-bar .nav-item { height: 36px; font-size: 0.625rem; letter-spacing: 0.14em; }
	.navigation-bar a.catalog-link { padding: 0 0.9rem !important; order: 3; margin-left: auto !important; }
}

/* Prev / Next must stay ink at every width (the plugin paints them white
   below its own breakpoint with a more specific rule). */
.bp-single-lot .navigation-bar a.nav-item.prev-lot,
.bp-single-lot .navigation-bar a.nav-item.next-lot,
#single-lot .navigation-bar a.nav-item.prev-lot,
#single-lot .navigation-bar a.nav-item.next-lot,
.navigation-bar a.nav-item.prev-lot,
.navigation-bar a.nav-item.next-lot {
	color: var(--cl-green-900) !important;
	-webkit-text-fill-color: var(--cl-green-900) !important;
	opacity: 1 !important;
	text-shadow: none !important;
	background: none !important;
}
@media (max-width: 640px) {
	.bp-single-lot .navigation-bar a.nav-item.prev-lot,
	.bp-single-lot .navigation-bar a.nav-item.next-lot,
	#single-lot .navigation-bar a.nav-item.prev-lot,
	#single-lot .navigation-bar a.nav-item.next-lot {
		color: var(--cl-green-900) !important;
		-webkit-text-fill-color: var(--cl-green-900) !important;
	}
}

/* Phones: no search field inside select2 lists. Its autofocus makes iOS
   scroll to it and select2 closes the list on that scroll — the "dropdown
   closes before I can pick" bug. The bid and per-page lists don't need it. */
@media (max-width: 640px) {
	.select2-container--open .select2-search--dropdown,
	.select2-search--dropdown { display: none !important; }

	/* Dropdown matches the Bid button: both span the panel */
	.bp-control__bid .bp-form-group__inner,
	.bp-control__bid .bp-form-group__inner:first-child { width: 100% !important; }
	.bp-control__bid .select2-container,
	.bp-control__bid select.bp-form-control,
	.bp-control__bid .bp-btn,
	.bp-control__bid button.bp-btn { width: 100% !important; min-width: 100% !important; max-width: 100% !important; }
	.select2-container--open .select2-dropdown { min-width: 0; }
}

/* --------------------------------------------------------------------------
   Catalogue page layout
   -------------------------------------------------------------------------- */

.bp-container,
.bp-main-container { max-width: var(--cl-wrap); }
.bp-header__content-minimal > * { max-width: var(--cl-wrap); }

/* Sale header as an image hero (background set by auctionforge.js from the plugin's thumbnail) */
.bp-header__content-minimal.cl-af-hero {
	position: relative;
	min-height: clamp(200px, 24vw, 300px);
	display: flex !important;
	align-items: flex-end;
	background-color: var(--cl-green-950) !important;
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	padding: 0 !important;
	color: #fff;
}
.bp-header__content-minimal.cl-af-hero::before {
	content: "";
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(10, 9, 8, 0.86) 0%, rgba(10, 9, 8, 0.62) 40%, rgba(10, 9, 8, 0.18) 70%, rgba(10, 9, 8, 0.1) 100%),
		linear-gradient(180deg, rgba(10, 9, 8, 0.2) 0%, rgba(10, 9, 8, 0) 45%, rgba(10, 9, 8, 0.55) 100%);
}
.bp-header__content-minimal.cl-af-hero > * { position: relative; z-index: 1; padding-block: clamp(1.5rem, 4vw, 3rem); }
.bp-header__content-minimal.cl-af-hero img,
.bp-header__content-minimal.cl-af-hero .minimal-header-thumb,
.bp-header__content-minimal.cl-af-hero .minimal-header-image { display: none !important; }
.bp-header__content-minimal.cl-af-hero .title,
.bp-header__content-minimal.cl-af-hero h1 { color: #fff !important; max-width: 16ch; font-size: clamp(2rem, 4.6vw, 3.6rem) !important; }
.bp-header__content-minimal.cl-af-hero p,
.bp-header__content-minimal.cl-af-hero .bp-auction-start-date,
.bp-header__content-minimal.cl-af-hero .minimal-header-left * { color: rgba(255,255,255,0.88) !important; }
.bp-header__content-minimal.cl-af-hero .minimal-header-left > p,
.bp-header__content-minimal.cl-af-hero .minimal-header-date { font-family: var(--cl-serif); font-size: clamp(1rem, 1.4vw, 1.2rem); margin-top: 0.6rem; }

/* Desktop / tablet: the lot grid fills the container */
@media (min-width: 761px) {
	.bp-lots:not(.bp-auctions):not(.bp-tools):not(.bp-pagination):not(.bp-content__pagination) {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: clamp(1.25rem, 2vw, 2rem);
		width: 100% !important;
		margin: 0 !important;
		justify-content: stretch;
	}
	.bp-lots:not(.bp-auctions) .bp-lot { max-width: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
	.bp-row.bp-fix-width-lot, .af-catalog-main, #catalog-section { width: 100% !important; max-width: none !important; }
}
@media (min-width: 761px) and (max-width: 1100px) {
	.bp-lots:not(.bp-auctions) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Phones: full-width rows — image left, details right */
@media (max-width: 760px) {
	.bp-container { padding-inline: 1.25rem !important; }
	.bp-row.bp-fix-width-lot, .af-catalog-main, #catalog-section { width: 100% !important; max-width: none !important; margin: 0 !important; }
	.bp-lots:not(.bp-auctions):not(.bp-tools):not(.bp-pagination):not(.bp-content__pagination) { display: block !important; width: 100% !important; margin: 0 !important; }
	.bp-content__pagination, .bp-tools { display: flex !important; }
	.bp-lots:not(.bp-auctions) .bp-lot {
		display: flex !important;
		flex-direction: row !important;
		align-items: flex-start;
		width: 100% !important;
		max-width: none !important;
		margin: 0 0 0.9rem !important;
		padding: 0.6rem !important;
		background: var(--cl-surface) !important;
		border: 1px solid var(--cl-line-soft) !important;
		gap: 0.9rem;
	}
	.bp-lots:not(.bp-auctions) .bp-lot .bp-lot-gallery,
	.bp-lots:not(.bp-auctions) .bp-lot > .bp-lot__wrp-image { flex: 0 0 42% !important; width: 42% !important; margin: 0 !important; }
	.bp-lots:not(.bp-auctions) .bp-lot .bp-lot-gallery .bp-lot__wrp-image { width: 100% !important; margin: 0 !important; border: 0 !important; }
	.bp-lots:not(.bp-auctions) .bp-lot .bp-lot__content { flex: 1 1 auto !important; min-width: 0; margin: 0 !important; padding: 0.15rem 0 0 !important; }
	.bp-lots:not(.bp-auctions) .bp-lot .bp-lot__title,
	.bp-lots:not(.bp-auctions) .bp-lot .bp-lot__title a,
	.bp-lots:not(.bp-auctions) .bp-lot .bp-title { font-size: 0.625rem !important; letter-spacing: 0.1em !important; line-height: 1.5 !important; }
	.bp-lots .bp-lot__message, .bp-lots .bp-lot__message-inner { font-size: 0.875rem; }
	.bp-lot-gallery__nav { width: 26px !important; height: 26px !important; font-size: 16px !important; }
	.bp-lot-gallery__nav--prev { left: 6px !important; } .bp-lot-gallery__nav--next { right: 6px !important; }
	.bp-lot-gallery__count { top: 6px !important; right: 6px !important; }
	.bp-lot-gallery__dots { bottom: 6px !important; }
}

/* Toolbar keeps its own row layout at every width */
.bp-content__pagination.bp-lots,
.bp-tools.bp-lots { display: flex !important; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; width: 100% !important; margin: 0 0 1rem !important; }
.bp-header__content-minimal.cl-af-hero .cl-af-hero__thumb { display: none !important; }

/* Paint the hero from the custom property; later + !important so it wins
   over the generic band background above. */
.bp-container-fluid .bp-header__content-minimal.cl-af-hero,
.bp-header__content-minimal.cl-af-hero {
	background: var(--cl-hero-img, none) center right / cover no-repeat var(--cl-green-950) !important;
}
@media (max-width: 640px) {
	.bp-header__content-minimal.cl-af-hero { background-position: center 30% !important; min-height: 220px; }
	.bp-header__content-minimal.cl-af-hero .title { font-size: 2rem !important; }
}

/* Pager links keep their natural width inside the flex toolbar */
.bp-pagination .page-numbers,
.wrp-navigation .page-numbers { flex: 0 0 auto !important; width: auto !important; white-space: nowrap; }
@media (max-width: 640px) {
	.bp-content__pagination.bp-lots, .bp-tools.bp-lots { row-gap: 0.75rem; }
	.bp-form_per_page { margin-left: auto; }
}

/* Pager links: the plugin fixes their width at narrow widths; size to content. */
body .bp-container .bp-pagination a.page-numbers,
body .bp-container .bp-pagination span.page-numbers,
body .bp-pagination a.next,
body .bp-pagination a.prev,
body .wrp-navigation a.page-numbers {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 2.4rem !important;
	max-width: none !important;
	height: 2.4rem !important;
	padding: 0 0.85rem !important;
	line-height: 1 !important;
	overflow: visible !important;
	white-space: nowrap !important;
	font-size: 0.6875rem !important;
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Bottom pagination: the plugin appends its <nav class="pagination"> INSIDE
   the lot list, so it became a grid cell (desktop) / a cramped column
   (phones). Make it span the full row as a centred horizontal pager.
   -------------------------------------------------------------------------- */
.bp-lots > nav.pagination,
.bp-lots > .navigation.pagination,
#catalog-section nav.pagination {
	grid-column: 1 / -1 !important;
	flex: 0 0 100% !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center;
	margin: clamp(1.5rem, 3vw, 2.5rem) 0 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
}
.bp-lots > nav.pagination .nav-links,
#catalog-section nav.pagination .nav-links {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	width: auto !important;
}
.bp-lots > nav.pagination .nav-links .page-numbers,
#catalog-section nav.pagination .nav-links .page-numbers {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 2.4rem !important;
	height: 2.4rem !important;
	padding: 0 0.85rem !important;
	border: 1px solid var(--cl-line) !important;
	font-family: var(--cl-sans);
	font-size: 0.6875rem !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cl-green-900);
	background: var(--cl-surface);
	white-space: nowrap;
	width: auto !important;
	line-height: 1 !important;
}
.bp-lots > nav.pagination .nav-links .page-numbers.current,
#catalog-section nav.pagination .nav-links .page-numbers.current { background: var(--cl-green-900) !important; border-color: var(--cl-green-900) !important; color: #fff !important; }
.bp-lots > nav.pagination .nav-links .page-numbers.dots,
#catalog-section nav.pagination .nav-links .page-numbers.dots { border: 0 !important; background: none !important; }
@media (max-width: 760px) {
	.bp-lots:not(.bp-auctions) > nav.pagination { display: flex !important; margin-top: 1rem !important; }
}

/* Phone pager: one horizontal row of compact links, never one per line */
@media (max-width: 760px) {
	.bp-lots > nav.pagination .nav-links,
	#catalog-section nav.pagination .nav-links,
	.bp-content__pagination .nav-links {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		justify-content: center !important;
		gap: 0.4rem !important;
		width: 100% !important;
	}
	.bp-lots > nav.pagination .nav-links .page-numbers,
	#catalog-section nav.pagination .nav-links .page-numbers,
	.bp-content__pagination .nav-links .page-numbers {
		flex: 0 0 auto !important;
		width: auto !important;
		min-width: 2.4rem !important;
		max-width: none !important;
		height: 2.4rem !important;
		margin: 0 !important;
		display: inline-flex !important;
	}
}

/* Single-photo lots (no gallery wrapper): on phone rows the image link is a
   flex child of the card, so percentage padding resolves against the card's
   width and the box towers. Size it from its own 42% width instead. */
@media (max-width: 760px) {
	.bp-lots:not(.bp-auctions) .bp-lot > .bp-lot__wrp-image {
		padding-top: 0 !important;
		height: auto !important;
		aspect-ratio: 1 / 1 !important;
		flex: 0 0 42% !important;
		width: 42% !important;
		max-width: 42% !important;
	}
}

/* --------------------------------------------------------------------------
   Wishlist heart. The plugin draws it as an SVG background; an earlier
   recolour rule cleared that background, so draw our own: ink outline,
   gold fill when the lot is favourited.
   -------------------------------------------------------------------------- */
.bp-lots .bp-lot .bp-lot__wrp-image .bp__wishlist,
.bp-lots .bp-lot .bp-lot__wrp-image .bp__wishlist-removed,
.bp__wishlist {
	position: absolute;
	top: 8px !important;
	left: 8px !important;
	z-index: 9;
	width: 30px !important;
	height: 30px !important;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.92) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314110D' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-7.5-10A4.2 4.2 0 0 1 12 8.2a4.2 4.2 0 0 1 7.5 2.3c0 5.4-7.5 10-7.5 10z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 16px 16px !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	opacity: 1 !important;
	transition: transform 150ms ease;
}
.bp__wishlist:hover { transform: scale(1.08); }
.bp__wishlist.bp__wishlist-active,
.bp__wishlist.active,
.bp__wishlist-active {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23A88748' stroke='%23A88748' stroke-width='1.2' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-7.5-10A4.2 4.2 0 0 1 12 8.2a4.2 4.2 0 0 1 7.5 2.3c0 5.4-7.5 10-7.5 10z'/%3E%3C/svg%3E") !important;
}
/* Lot page heart (top-right of the bid panel) uses the same drawing */
.bp-control .bp__wishlist,
.bp-single-lot .bp__wishlist { position: absolute; }
@media (max-width: 760px) {
	.bp-lots .bp-lot .bp-lot__wrp-image .bp__wishlist { width: 26px !important; height: 26px !important; background-size: 14px 14px !important; top: 6px !important; left: 6px !important; }
}

/* --------------------------------------------------------------------------
   Favourites — prominent, labelled control on the lot page; larger heart on
   catalogue cards. The plugin toggles .bp__wishlist-active on click.
   -------------------------------------------------------------------------- */
.bp-control .bp__wishlist,
.bp-single-lot .bp-control .bp__wishlist,
#single-lot .bp-control .bp__wishlist {
	position: static !important;
	display: inline-flex !important;
	align-items: center;
	gap: 0.6rem;
	width: auto !important;
	height: 42px !important;
	margin: 0 0 1.1rem !important;
	padding: 0 1.1rem 0 2.6rem !important;
	border: 1px solid var(--cl-green-900) !important;
	border-radius: 999px !important;
	background-color: var(--cl-surface) !important;
	background-position: 0.95rem center !important;
	background-size: 18px 18px !important;
	box-shadow: none !important;
	font-family: var(--cl-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cl-green-900) !important;
	line-height: 1;
	cursor: pointer;
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 150ms ease;
}
.bp-control .bp__wishlist::after { content: "Add to favourites"; }
.bp-control .bp__wishlist:hover { background-color: var(--cl-bg-alt) !important; transform: none; }
.bp-control .bp__wishlist:focus-visible { outline: 2px solid var(--cl-green-900); outline-offset: 3px; }
.bp-control .bp__wishlist.bp__wishlist-active,
.bp-control .bp__wishlist.active {
	border-color: var(--cl-gold) !important;
	background-color: #FBF6EC !important;
	color: var(--cl-gold) !important;
}
.bp-control .bp__wishlist.bp__wishlist-active::after,
.bp-control .bp__wishlist.active::after { content: "Saved to favourites"; }

/* Catalogue cards: a heart you can actually see and tap */
.bp-lots .bp-lot .bp-lot__wrp-image .bp__wishlist { width: 36px !important; height: 36px !important; background-size: 19px 19px !important; top: 10px !important; left: 10px !important; }
.bp-lots .bp-lot .bp-lot__wrp-image .bp__wishlist:hover { transform: scale(1.1); background-color: #fff !important; }
@media (max-width: 760px) {
	.bp-lots .bp-lot .bp-lot__wrp-image .bp__wishlist { width: 30px !important; height: 30px !important; background-size: 16px 16px !important; top: 6px !important; left: 6px !important; }
	.bp-control .bp__wishlist { width: 100% !important; justify-content: center; padding-left: 2.2rem !important; }
	.bp-control .bp__wishlist { background-position: 1rem center !important; }
}

/* --------------------------------------------------------------------------
   Phone catalogue toolbar — matches the approved mobile layout:
   [ View auction information            v ]
   [ Sort By      v ] [ Search in this auction   Q ]
   [ 1 ][ NEXT ]            ITEMS IN PAGE [ 50 v ]
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
	.tax-auction_number .bp-container { padding-top: 0.25rem !important; }
	#bp-notice-block:empty { display: none; }

	/* Info bar: one line, collapsed by default (see auctionforge.js) */
	.af-auction-accordion { margin: 1rem 0 0.9rem !important; }
	.bp-container button.af-auction-accordion__header,
	.af-auction-accordion__header { padding: 0.95rem 1rem !important; }
	.af-auction-accordion__title { font-size: 0.6875rem; letter-spacing: 0.16em; white-space: nowrap; }
	.af-auction-accordion__chevron svg { width: 16px; height: 16px; }
	.af-auction-accordion__content { padding: 1rem !important; font-size: 0.9375rem; }

	/* Row 1: sort + search */
	.bp-lots.bp-tools.bp-col { display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
	#bp-from-tools { display: block !important; width: 100%; }
	#bp-from-tools > .bp-content__filter {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: stretch;
		gap: 0.6rem;
		width: 100% !important;
		margin: 0 0 0.75rem !important;
	}
	#bp-from-tools .bp-form_sorter { flex: 0 0 38% !important; width: 38% !important; min-width: 0; margin: 0 !important; }
	#bp-from-tools .bp-form_sorter .bp-form-group,
	#bp-from-tools .bp-form_sorter .bp-form-group__inner { width: 100% !important; margin: 0 !important; }
	#bp-from-tools .bp-form_sorter .select2-container,
	#bp-from-tools .bp-form_sorter select { width: 100% !important; min-width: 0 !important; height: 46px !important; }
	#bp-from-tools .bp-form_sorter .select2-selection--single { height: 46px !important; }
	#bp-from-tools .bp-form_sorter .select2-selection__rendered { line-height: 44px !important; font-size: 1rem; }
	#bp-from-tools .bp-content__filter .bp-content__filter { flex: 1 1 auto !important; min-width: 0; margin: 0 !important; justify-content: flex-start !important; }
	#bp-from-tools .bp-form__search { width: 100% !important; margin: 0 !important; }
	#bp-from-tools .bp-form__search .bp-form-group__inner { position: relative; display: flex !important; width: 100%; }
	#bp-from-tools .bp-form__search input.bp-form-control { flex: 1 1 auto; width: 100% !important; height: 46px !important; padding-right: 3.25rem !important; }

	/* Row 2: pager left, items-per-page right */
	.bp-content__pagination.bp-lots {
		display: flex !important;
		flex-wrap: nowrap !important;
		justify-content: space-between !important;
		align-items: center !important;
		gap: 0.6rem !important;
		width: 100% !important;
		margin: 0 0 1.25rem !important;
	}
	.bp-content__pagination nav.pagination { flex: 1 1 auto !important; justify-content: flex-start !important; margin: 0 !important; }
	.bp-content__pagination .nav-links { justify-content: flex-start !important; flex-wrap: nowrap !important; width: auto !important; }
	/* Only the current page and Prev/Next fit beside the per-page control */
	.bp-content__pagination .nav-links .page-numbers:not(.current):not(.next):not(.prev) { display: none !important; }
	.bp-content__pagination .nav-links .page-numbers { height: 2.6rem !important; min-width: 2.6rem !important; }
	.bp-content__pagination .bp-form_per_page { flex: 0 0 auto !important; margin: 0 0 0 auto !important; }
	.bp-content__pagination .bp-form_per_page .bp-form-group__inner { gap: 0.5rem; }
	.bp-content__pagination .bp-form_per_page label { font-size: 0.5625rem !important; letter-spacing: 0.14em; }
	.bp-content__pagination .bp-form_per_page .select2-container,
	.bp-content__pagination .bp-form_per_page select { width: 5.75rem !important; min-width: 5.75rem !important; height: 42px !important; }
	.bp-content__pagination .bp-form_per_page .select2-selection--single { height: 42px !important; }
	.bp-content__pagination .bp-form_per_page .select2-selection__rendered { line-height: 40px !important; }
}

@media (max-width: 760px) {
	/* Info bar title must fit beside the chevron */
	.af-auction-accordion__header { overflow: hidden; }
	.af-auction-accordion__title {
		flex: 1 1 auto;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		font-size: 0.625rem !important;
		letter-spacing: 0.12em !important;
	}
	.af-auction-accordion__chevron { flex: 0 0 auto; margin-left: 0.75rem; }

	/* Top pager sizes to its visible links so the per-page control stays on the row */
	.bp-content__pagination.bp-lots > nav.pagination,
	.bp-content__pagination nav.pagination {
		width: auto !important;
		max-width: none !important;
		flex: 1 1 auto !important;
		justify-content: flex-start !important;
		margin: 0 !important;
	}
	.bp-content__pagination .bp-form_per_page { flex: 0 0 auto !important; }
}

/* Phones: Previous / Next become chevron buttons flanking the current page */
@media (max-width: 760px) {
	.bp-content__pagination .nav-links { gap: 0.4rem !important; }
	.bp-content__pagination .nav-links .page-numbers.prev,
	.bp-content__pagination .nav-links .page-numbers.next {
		font-size: 0 !important;
		letter-spacing: 0 !important;
		width: 2.6rem !important;
		min-width: 2.6rem !important;
		padding: 0 !important;
		background-repeat: no-repeat !important;
		background-position: center !important;
		background-size: 14px 14px !important;
		background-color: var(--cl-surface) !important;
	}
	.bp-content__pagination .nav-links .page-numbers.prev {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314110D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E") !important;
	}
	.bp-content__pagination .nav-links .page-numbers.next {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314110D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") !important;
	}
	.bp-content__pagination .nav-links .page-numbers.current { min-width: 2.6rem !important; padding: 0 0.6rem !important; }
}

/* Same chevron rules at the specificity of the bottom-pager block */
@media (max-width: 760px) {
	.bp-lots.bp-content__pagination > nav.pagination .nav-links .page-numbers.prev,
	.bp-lots.bp-content__pagination > nav.pagination .nav-links .page-numbers.next,
	.bp-content__pagination > nav.pagination .nav-links a.prev,
	.bp-content__pagination > nav.pagination .nav-links a.next {
		font-size: 0 !important;
		line-height: 0 !important;
		color: transparent !important;
		letter-spacing: 0 !important;
		width: 2.6rem !important;
		min-width: 2.6rem !important;
		max-width: 2.6rem !important;
		height: 2.6rem !important;
		padding: 0 !important;
		overflow: hidden !important;
		background-repeat: no-repeat !important;
		background-position: center !important;
		background-size: 14px 14px !important;
		background-color: var(--cl-surface) !important;
	}
	.bp-lots.bp-content__pagination > nav.pagination .nav-links .page-numbers.prev,
	.bp-content__pagination > nav.pagination .nav-links a.prev {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314110D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E") !important;
	}
	.bp-lots.bp-content__pagination > nav.pagination .nav-links .page-numbers.next,
	.bp-content__pagination > nav.pagination .nav-links a.next {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314110D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") !important;
	}
	.bp-lots.bp-content__pagination > nav.pagination .nav-links { flex-wrap: nowrap !important; gap: 0.4rem !important; }
}

/* --------------------------------------------------------------------------
   Bid status panels (highest bid / your bid / sold / outbid): the plugin's
   colours stay; every line of text inside — label and price — reads white.
   Doubled class beats the plugin's own !important text colours.
   -------------------------------------------------------------------------- */
.bp-bg-blue.bp-bg-blue,
.bp-bg-green.bp-bg-green,
.bp-bg-red.bp-bg-red,
.bp-control__notice.bp-bg-blue,
.bp-control__notice.bp-bg-green,
.bp-control__notice.bp-bg-red { color: #fff !important; border-radius: 0 !important; }
.bp-bg-blue.bp-bg-blue *,
.bp-bg-green.bp-bg-green *,
.bp-bg-red.bp-bg-red *,
.bp-control__notice.bp-bg-blue *,
.bp-control__notice.bp-bg-green *,
.bp-control__notice.bp-bg-red *,
.bp-lots .bp-lot .bp-lot__tool.bp-lead[class*="bp-bg-"] .bp-price,
.bp-lots .bp-lot .bp-lot__tool.bp-lead[class*="bp-bg-"] .bp-subtitle,
.bp-control__notice[class*="bp-bg-"] .bp-bid,
.bp-control__notice[class*="bp-bg-"] .bp-title { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.bp-lots .bp-lot .bp-lot__tool.bp-lead .bp-subtitle { font-family: var(--cl-sans) !important; font-size: 0.625rem !important; letter-spacing: 0.18em; text-transform: uppercase; }
.bp-lots .bp-lot .bp-lot__tool.bp-lead .bp-price { font-family: var(--cl-serif) !important; font-size: 1.125rem !important; }
.bp-lots .bp-lot .bp-lot__tool.bp-lead[class*="bp-bg-"] { padding: 0.75rem 0.9rem; margin-top: 0.5rem; }

/* Lot page bid-status notice: same blue as the catalogue card panel, all
   text white (the plugin sets the price in orange). Green/red states keep
   the plugin's colours, text white. */
.bp-single-lot .bp-control__notice:not(.bp-bg-green):not(.bp-bg-red):not(.bp-control__notice-mod),
#single-lot .bp-control__notice:not(.bp-bg-green):not(.bp-bg-red):not(.bp-control__notice-mod),
.bp-control__notice.bp-bg-black,
.bp-control__notice.bp-bg-dark,
.bp-control__notice.bp-bg-grey {
	background-color: var(--cl-green-900) !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 1rem 1.25rem !important;
}
.bp-single-lot .bp-control__notice:not(.bp-control__notice-mod),
.bp-single-lot .bp-control__notice:not(.bp-control__notice-mod) *,
.bp-single-lot .bp-control__notice:not(.bp-control__notice-mod) .bp-bid,
.bp-single-lot .bp-control__notice:not(.bp-control__notice-mod) .bp-title,
#single-lot .bp-control__notice:not(.bp-control__notice-mod) .bp-bid {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}
.bp-single-lot .bp-control__notice .bp-title { font-family: var(--cl-serif); font-size: 1.125rem; margin: 0; }
.bp-single-lot .bp-control__notice .bp-bid { font-size: 1.25rem; font-weight: 500; }

/* Highest-bid panels in black and white: lot page notice and catalogue card */
.bp-lots .bp-lot .bp-lot__tool.bp-lead.bp-bg-blue,
.bp-bg-blue.bp-bg-blue:not(.bp-bg-green):not(.bp-bg-red),
.bp-control__notice.bp-bg-blue { background-color: var(--cl-green-900) !important; color: #fff !important; }

/* The notice wrapper now sits inside the bid form, under the Bid button */
#leadingBid.cl-under-bid,
.bp-control__inner > #leadingBid {
	width: 100% !important;
	flex: 0 0 100% !important;
	margin: 0 0 1.25rem !important;
	display: block !important;
}
#leadingBid.cl-under-bid .bp-control__notice { width: 100% !important; margin: 0 !important; }
#leadingBid.cl-under-bid.hidden,
#leadingBid.cl-under-bid:empty { display: none !important; }

/* --------------------------------------------------------------------------
   Clumber: gold accents on the plugin's interactive elements
   -------------------------------------------------------------------------- */
.bp-btn:hover, .bp-btn-default:hover, .bp-btn-black:hover,
.bp-container input[type="submit"]:hover, .bp-container button.bp-btn:hover { background: var(--cl-green-950) !important; border-color: var(--cl-green-950) !important; color: #fff !important; }
.bp-lot__title .bp-title:hover, .bp-lot__title a:hover { color: var(--cl-green-600) !important; }
.bp-lead, .bp-price, .bp-control__price { color: var(--cl-green-900) !important; }
.bp-countdown, .bp-auction-start-date .bp-countdown { color: var(--cl-gold-600) !important; }
.bp__wishlist.active, .bp__wishlist.is-active, .bp__wishlist:hover { color: var(--cl-gold-600) !important; }
.bp-header__content-minimal.cl-af-hero { background-color: var(--cl-green-900) !important; }
.bp-header__content-minimal.cl-af-hero::before { background: linear-gradient(180deg, rgba(6,25,14,.45) 0%, rgba(6,25,14,.85) 100%) !important; }
.bp-header__content-minimal.cl-af-hero .bp-auction-start-date,
.bp-header__content-minimal.cl-af-hero p { color: var(--cl-gold-200) !important; }
.bp-lot.bp-lot_auction .bp-lot__date, .bp-lot.bp-lot_auction .bp-auction-start-date { color: var(--cl-gold-600) !important; }
.bp-control__commission, #auction-commission-field { color: var(--cl-green-900); }
.bp-modal .bp-btn-default, .bp-modal .bp-btn { background: var(--cl-green-900) !important; border-color: var(--cl-green-900) !important; }
.bp-pagination .current, .bp-content__pagination .current, .page-numbers.current { background: var(--cl-green-900) !important; color: #fff !important; border-color: var(--cl-green-900) !important; }
.af-auction-accordion__head, #af-auction-info-toggle { color: var(--cl-green-900) !important; }
.bp-header__content-minimal:not(.cl-af-hero) { background: var(--cl-bg-alt) !important; }

/* Lot page: slim sale strip (title · date · catalogue button), no hero */
body.single-lot .bp-header__content-minimal:not(.cl-af-hero) {
	background: var(--cl-green-900) !important;
	color: #fff !important;
	min-height: 0 !important;
	padding: 0.9rem var(--cl-gut) !important;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}
body.single-lot .bp-header__content-minimal:not(.cl-af-hero) img,
body.single-lot .bp-header__content-minimal:not(.cl-af-hero) .minimal-header-thumb,
body.single-lot .bp-header__content-minimal:not(.cl-af-hero) .minimal-header-image { display: none !important; }
body.single-lot .bp-header__content-minimal:not(.cl-af-hero) .minimal-header-left { display: flex; align-items: baseline; gap: 1.25rem; flex-wrap: wrap; }
body.single-lot .bp-header__content-minimal:not(.cl-af-hero) .title,
body.single-lot .bp-header__content-minimal:not(.cl-af-hero) h1,
body.single-lot .bp-header__content-minimal:not(.cl-af-hero) .minimal-header-left * { color: #fff !important; margin: 0 !important; }
body.single-lot .bp-header__content-minimal:not(.cl-af-hero) .title,
body.single-lot .bp-header__content-minimal:not(.cl-af-hero) h1 { font-family: var(--cl-serif) !important; font-size: 1.125rem !important; font-weight: 600 !important; max-width: none !important; }
body.single-lot .bp-header__content-minimal:not(.cl-af-hero) .minimal-header-left > p,
body.single-lot .bp-header__content-minimal:not(.cl-af-hero) .minimal-header-date { font-size: 0.95rem !important; color: var(--cl-gold-200) !important; }
body.single-lot .bp-header__content-minimal:not(.cl-af-hero) .bp-btn,
body.single-lot .bp-header__content-minimal:not(.cl-af-hero) a.bp-btn-default { background: var(--cl-gold) !important; border-color: var(--cl-gold) !important; color: var(--cl-green-950) !important; padding: 0.6rem 1.2rem !important; }
/* Lot page: the sale strip's Catalogue button duplicates the one in the prev/next row */
body.single-lot .minimal-header-catalog-btn { display: none !important; }
