/* ==========================================================================
   AuctionForge skin
   Restyles the plugin's shortcodes and screens — sale cards, catalogue
   grid, lot page, account area, forms and modals — to the Kew 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(--kew-serif);
	color: var(--kew-ink);
}

.bp-container,
.bp-main-container { max-width: var(--kew-wrap); margin-inline: auto; padding-inline: var(--kew-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(--kew-serif);
	font-weight: 300;
	color: var(--kew-ink);
	letter-spacing: 0;
}

.bp-container a { color: var(--kew-ink); }

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

/* Plugin's "minimal" page-title band → the theme's page header. */
.bp-container-fluid .bp-header__content-minimal {
	background: var(--kew-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(--kew-wrap);
	margin-inline: auto !important;
	padding-inline: var(--kew-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(--kew-serif) !important;
	font-size: clamp(2rem, 4.4vw, 3.4rem) !important;
	font-weight: 300 !important;
	color: var(--kew-ink) !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(.kew-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(--kew-ink);
	border-radius: 0 !important;
	background: var(--kew-ink);
	color: #fff;
	font-family: var(--kew-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(.kew-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(--kew-ink); 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(--kew-ink);
}

.bp-btn.bp-btn-link:hover,
.bp-btn.bp-btn-outline:hover { background: var(--kew-ink); 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(--kew-line) !important;
	border-radius: 0 !important;
	background: var(--kew-surface) !important;
	box-shadow: none !important;
	padding: 0.8rem 1rem;
	font-family: var(--kew-serif);
	font-size: 1rem;
	color: var(--kew-ink);
}

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

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

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

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

/* Plugin status tints reduced to two: ink for actions, gold for highlights. */
.bp-bg-blue,
.bp-bg-green { background-color: var(--kew-ink) !important; color: #fff !important; }
.bp-bg-red { background-color: var(--kew-gold) !important; 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(--kew-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(--kew-sans);
	font-size: 0.625rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--kew-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(--kew-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(--kew-ink);
	margin: 0 0 0.35rem;
}

.bp-lot.bp-lot_auction .bp-lot__text {
	font-family: var(--kew-serif);
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--kew-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(--kew-sans);
	font-size: 0.625rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--kew-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(--kew-ink-2);
	font-family: var(--kew-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(--kew-ink); }
.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(--kew-ink) !important;
	border: 0;
	font-family: var(--kew-serif);
}

.bp-countdown-time { display: flex; flex-direction: column; align-items: flex-start; color: var(--kew-ink); }
.bp-countdown-number { font-size: 1.25rem; line-height: 1; color: var(--kew-ink) !important; }
.bp-countdown-text,
.bp-countdown-title,
.bpw-countdown-label {
	font-family: var(--kew-sans);
	font-size: 0.5625rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--kew-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(--kew-bg-alt);
	border: 0;
}

.bp-container .bp-header__content h1,
.bp-container .bp-header__content .bp-title {
	font-family: var(--kew-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(--kew-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--kew-muted);
}

.bp-spoiler-block,
.bp-auction-info {
	background: var(--kew-surface) !important;
	border: 1px solid var(--kew-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(--kew-surface) !important;
	border: 0 !important;
	border-bottom: 1px solid var(--kew-line-soft) !important;
	box-shadow: none !important;
	text-align: left;
}

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

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

.bp-spoiler-trigger,
.bp-spoiler-trigger *,
.bp-spoiler-block .bp-title,
.bp-auction-info__title {
	font-family: var(--kew-sans) !important;
	font-size: 0.6875rem !important;
	font-weight: 400 !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--kew-ink) !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(--kew-sans) !important;
	font-size: 0.5625rem !important;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--kew-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(--kew-line) !important;
	border-radius: 0 !important;
	background: var(--kew-surface) !important;
	font-family: var(--kew-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(--kew-surface) !important;
	border: 1px solid var(--kew-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(--kew-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(--kew-ink) !important;
	text-align: left;
}

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

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

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

.bp-price,
.bp-lot__price,
.bp-lots .bp-price {
	font-family: var(--kew-serif) !important;
	font-size: 1rem !important;
	font-weight: 400;
	color: var(--kew-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(--kew-ink) !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(--kew-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(--kew-gold) !important; fill: currentColor; }

/* Pagination */
.wrp-navigation,
.bp-pagination {
	font-family: var(--kew-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(--kew-line);
	border-radius: 0 !important;
	background: transparent;
	color: var(--kew-ink);
}

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

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

.bp-control__title,
.bp-container h1.bp-control__title {
	font-family: var(--kew-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(--kew-ink);
}

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

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

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

.bp-control__price span,
.bp-control__estimate span,
.bp-control__commission span { color: var(--kew-ink); }

.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(--kew-surface);
	border: 1px solid var(--kew-line-soft);
}

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

.slick-arrow,
.bp-gallery__arrow {
	background: var(--kew-surface) !important;
	border: 1px solid var(--kew-line) !important;
	border-radius: 0 !important;
	color: var(--kew-ink) !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(--kew-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--kew-ink-2);
}

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

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

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

.bp-share a:hover,
.bp-lot__share a:hover { background: var(--kew-ink) !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(--kew-line);
	box-shadow: 0 30px 60px rgba(20, 17, 13, 0.18);
	background: var(--kew-surface);
	font-family: var(--kew-serif);
}

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

.bp-modal__close,
.bp-modal .modal__close { color: var(--kew-ink); }

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

.bp-login-link:hover,
.bp-form-group__link:hover { border-bottom-color: var(--kew-ink); }

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

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

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

#bp-account table,
.bp-container table { width: 100%; border-collapse: collapse; font-family: var(--kew-serif); }
#bp-account th,
.bp-container th {
	font-family: var(--kew-sans);
	font-size: 0.5625rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--kew-muted);
	font-weight: 400;
	border-bottom: 1px solid var(--kew-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(--kew-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(--kew-ink) 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(--kew-ink) !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(--kew-gold) !important; opacity: 1; }

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

.af-auction-accordion {
	border: 1px solid var(--kew-line-soft) !important;
	border-radius: 0 !important;
	background: var(--kew-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(--kew-surface) !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--kew-ink) !important;
	text-align: left;
	cursor: pointer;
}

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

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

.af-auction-accordion__chevron svg { width: 18px; height: 18px; fill: var(--kew-ink); }

.af-auction-accordion__content {
	border-top: 1px solid var(--kew-line-soft) !important;
	padding: 1.25rem !important;
	font-family: var(--kew-serif);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--kew-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(--kew-sans) !important;
	font-size: 0.5625rem !important;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--kew-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(--kew-line) !important;
	border-radius: 0 !important;
	background: var(--kew-surface) !important;
	display: flex;
	align-items: center;
}

.bp-container .select2-selection__rendered { line-height: 38px !important; font-family: var(--kew-serif); color: var(--kew-ink) !important; padding-left: 0.75rem !important; }
.bp-container .select2-selection__arrow { height: 38px !important; }
.select2-dropdown { border: 1px solid var(--kew-line) !important; border-radius: 0 !important; font-family: var(--kew-serif); }
.select2-results__option--highlighted { background: var(--kew-ink) !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(--kew-ink) !important;
	font-family: var(--kew-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(--kew-ink) !important; }
.bp-container .bp-lot-gallery__nav:focus-visible { outline: 2px solid var(--kew-ink); 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(--kew-ink); outline-offset: 2px; }

.bp-lot-gallery__count {
	background: rgba(20, 17, 13, 0.72) !important;
	font-family: var(--kew-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(--kew-ink) !important;
	font-size: 1rem;
	line-height: 1.9;
}

.bp-control__price span,
.bp-control__estimate span,
.bp-control__commission span { color: var(--kew-ink); font-weight: 500; }

.bp-control__notice,
.bp-control__notice_wrp,
.bp-control__title { color: var(--kew-ink) !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(--kew-ink) !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(--kew-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(--kew-ink-2) !important; }

.bp-lot__desc,
.bp-lot__description,
.bp-control__description,
.bp-container p { color: var(--kew-ink); }

.bp-text-grey,
.bp-text-red { color: var(--kew-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(--kew-sans);
	font-size: 0.625rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--kew-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(--kew-ink) !important;
	border-radius: 0 !important;
	background: var(--kew-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(--kew-serif);
	font-size: 1.0625rem;
	color: var(--kew-ink) !important;
}

.bp-control__bid .select2-selection__arrow { height: 44px !important; right: 0.6rem; }
.bp-control__bid .select2-selection__arrow b { border-color: var(--kew-ink) 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(--kew-surface) !important;
	border: 1px solid var(--kew-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(--kew-serif);
	overflow: hidden;
}

.select2-results { background: var(--kew-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(--kew-surface) !important;
	color: var(--kew-ink) !important;
	font-family: var(--kew-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(--kew-ink) !important;
	color: #fff !important;
}

.select2-search--dropdown { padding: 0.5rem; background: var(--kew-surface); border-bottom: 1px solid var(--kew-line-soft); }
.select2-search--dropdown .select2-search__field { border: 1px solid var(--kew-line) !important; border-radius: 0 !important; padding: 0.5rem 0.75rem; font-family: var(--kew-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(--kew-serif);
	color: var(--kew-ink) !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(--kew-ink) 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(--kew-ink) 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(--kew-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--kew-ink) !important;
	white-space: nowrap !important;
	line-height: 1;
	width: auto !important;
	flex: 0 0 auto;
}

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

.navigation-bar a.catalog-link {
	padding: 0 1.25rem !important;
	background: var(--kew-ink) !important;
	color: #fff !important;
	border: 1px solid var(--kew-ink) !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(--kew-ink) !important;
	-webkit-text-fill-color: var(--kew-ink) !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(--kew-ink) !important;
		-webkit-text-fill-color: var(--kew-ink) !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; }
}
