/**
 * The Auto Source — Single product auction panel
 * DigitalBid-inspired layout. Scoped to body.biltmore-auction-poc only.
 */

body.biltmore-auction-poc.single-product {
	--bap-bg: #ffffff;
	--bap-bg-soft: #fafafa;
	--bap-bg-highlight: rgba(29, 78, 216, 0.05);
	--bap-text: #0a0b0d;
	--bap-text-secondary: #5c6370;
	--bap-text-muted: #8b919a;
	--bap-border: #e8eaed;
	--bap-brand: #1d4ed8;
	--bap-brand-soft: rgba(29, 78, 216, 0.08);
	--bap-brand-border: rgba(29, 78, 216, 0.35);
	--bap-grad-brand: linear-gradient(135deg, #1a44c2 0%, #3b82f6 100%);
	--bap-grad-brand-hover: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	--bap-danger: #dc2626;
	--bap-danger-soft: rgba(220, 38, 38, 0.08);
	--bap-danger-border: rgba(220, 38, 38, 0.25);
	--bap-success: #16a34a;
	--bap-success-soft: rgba(22, 163, 74, 0.1);
	--bap-success-border: rgba(22, 163, 74, 0.15);
	--bap-radius-sm: 8px;
	--bap-radius-md: 12px;
	--bap-radius-lg: 16px;
	--bap-radius-pill: 999px;
	--bap-shadow: 0 8px 32px rgba(10, 11, 13, 0.08);
	--bap-fs-xs: 12px;
	--bap-fs-sm: 14px;
	--bap-fs-base: 16px;
	--bap-fs-md: 20px;
	--bap-fs-lg: 28px;
}

/* Panel container */
body.biltmore-auction-poc .summary .biltmore-auction-panel {
	background: var(--bap-bg);
	border: 1px solid var(--bap-border);
	border-radius: var(--bap-radius-lg);
	box-shadow: var(--bap-shadow);
	overflow: hidden;
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	display: flex;
	flex-direction: column;
}

/* Top-align auction card with gallery — minimal overrides (gallery sizing untouched) */
body.biltmore-auction-poc .summary.entry-summary,
body.biltmore-auction-poc.woocommerce div.product div.summary {
	margin-top: 0 !important;
}

body.biltmore-auction-poc .woocommerce .autobid-single-product-v2 div.product div.summary {
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
}

body.biltmore-auction-poc .summary.entry-summary > .product_title,
body.biltmore-auction-poc .summary.entry-summary > .woocommerce-product-rating,
body.biltmore-auction-poc .summary.entry-summary > .woocommerce-product-details__short-description {
	display: none !important;
}

/* Header — status, end date, starting bid */
body.biltmore-auction-poc .bap-header {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 0;
	border-bottom: 1px solid var(--bap-border);
	background: linear-gradient(180deg, #fafcff 0%, #ffffff 100%);
	text-align: center;
	overflow: hidden;
}

body.biltmore-auction-poc .bap-header-row {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	min-width: 0;
}

body.biltmore-auction-poc .bap-header-row + .bap-header-row {
	border-top: 1px solid rgba(10, 11, 13, 0.06);
}

body.biltmore-auction-poc .bap-header-row--status {
	padding-top: 14px;
	padding-bottom: 10px;
}

body.biltmore-auction-poc .bap-header-row--ends {
	padding-top: 10px;
	padding-bottom: 10px;
}

body.biltmore-auction-poc .bap-header-row--start {
	justify-content: space-between;
	gap: 12px;
	padding: 11px 16px;
	margin: 0 12px 12px;
	border: 1px solid rgba(29, 78, 216, 0.14);
	border-radius: var(--bap-radius-sm);
	background: linear-gradient(135deg, rgba(29, 78, 216, 0.05) 0%, rgba(255, 248, 237, 0.9) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.biltmore-auction-poc .bap-header-row--start + .bap-header-row,
body.biltmore-auction-poc .bap-header-row--ends + .bap-header-row--start {
	border-top: none;
}

body.biltmore-auction-poc .bap-header-start-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bap-text-muted);
	line-height: 1.2;
	text-align: left;
}

body.biltmore-auction-poc .bap-header-start-amount {
	font-size: clamp(12px, 1.5vw, 14px);
	font-weight: 600;
	color: var(--bap-text-muted);
	line-height: 1.1;
	text-align: right;
	white-space: nowrap;
}

body.biltmore-auction-poc .bap-header-start-amount .woocommerce-Price-amount,
body.biltmore-auction-poc .bap-header-start-amount .woocommerce-Price-amount bdi {
	font-size: inherit !important;
	font-weight: inherit !important;
	color: inherit !important;
}

body.biltmore-auction-poc .bap-header-row--start + .bap-header-row--winning {
	border-top: none;
}

body.biltmore-auction-poc .bap-header-row--buy-now {
	display: none !important;
}

body.biltmore-auction-poc .bap-header-start-amount--buy-now,
body.biltmore-auction-poc .bap-header-start-amount--buy-now .woocommerce-Price-amount,
body.biltmore-auction-poc .bap-header-start-amount--buy-now .woocommerce-Price-amount bdi {
	color: var(--bap-brand) !important;
	font-weight: 700 !important;
}

body.biltmore-auction-poc .biltmore-auction-panel.is-reserve-met .bap-header-row--start {
	margin-bottom: 8px;
}

body.biltmore-auction-poc .bap-header-row--winning {
	justify-content: space-between;
	gap: 12px;
	padding: 11px 16px;
	margin: 0 12px 12px;
	border: 1px solid var(--bap-success-border);
	border-radius: var(--bap-radius-sm);
	background: linear-gradient(135deg, rgba(22, 163, 74, 0.08) 0%, rgba(246, 255, 248, 0.95) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.biltmore-auction-poc .bap-header-winning-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bap-success);
	line-height: 1.2;
	text-align: left;
}

body.biltmore-auction-poc .bap-header-winning-amount {
	font-size: clamp(12px, 1.5vw, 14px);
	font-weight: 700;
	color: var(--bap-success);
	line-height: 1.1;
	text-align: right;
	white-space: nowrap;
}

body.biltmore-auction-poc .bap-header-winning-amount .woocommerce-Price-amount,
body.biltmore-auction-poc .bap-header-winning-amount .woocommerce-Price-amount bdi {
	font-size: inherit !important;
	font-weight: inherit !important;
	color: inherit !important;
}

body.biltmore-auction-poc .bap-live-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: var(--bap-radius-pill);
	background: var(--bap-brand-soft);
	border: 1px solid var(--bap-brand-border);
	color: var(--bap-brand);
	font-size: var(--bap-fs-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.2;
}

body.biltmore-auction-poc .bap-live-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--bap-brand);
}

body.biltmore-auction-poc .bap-live-badge--ended {
	background: var(--bap-bg-soft);
	border-color: var(--bap-border);
	color: var(--bap-text-secondary);
}

body.biltmore-auction-poc .bap-live-badge--ended::before {
	background: var(--bap-text-muted);
}

body.biltmore-auction-poc .bap-live-badge--reserve-fail {
	background: var(--bap-danger-soft);
	border-color: var(--bap-danger-border);
	color: var(--bap-danger);
}

body.biltmore-auction-poc .bap-live-badge--reserve-fail::before {
	background: var(--bap-danger);
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

body.biltmore-auction-poc .bap-live-badge--reserve-met {
	background: var(--bap-success-soft);
	border-color: var(--bap-success-border);
	color: var(--bap-success);
}

body.biltmore-auction-poc .bap-live-badge--reserve-met::before {
	background: var(--bap-success);
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

body.biltmore-auction-poc .bap-header-row--relist {
	padding-top: 0;
	padding-bottom: 12px;
}

body.biltmore-auction-poc .bap-header-relist-note {
	display: block;
	width: 100%;
	font-size: var(--bap-fs-sm);
	font-weight: 700;
	line-height: 1.35;
	color: var(--bap-brand);
	text-align: center;
}

body.biltmore-auction-poc .biltmore-auction-panel.is-reserve-not-met .bap-header {
	background: linear-gradient(180deg, #fff6f4 0%, #ffffff 100%);
}

body.biltmore-auction-poc .biltmore-auction-panel.is-reserve-not-met .bap-header-row--status,
body.biltmore-auction-poc .biltmore-auction-panel.is-reserve-not-met .bap-header-row--relist {
	border-top-color: rgba(29, 78, 216, 0.08);
}

body.biltmore-auction-poc .biltmore-auction-panel.is-reserve-met .bap-header {
	background: linear-gradient(180deg, #f6fff8 0%, #ffffff 100%);
}

/* Ended auctions: no current bid / countdown block */
body.biltmore-auction-poc .biltmore-auction-panel.is-auction-ended .bap-highlight,
body.biltmore-auction-poc .biltmore-auction-panel.is-auction-ended .bap-countdown-area {
	display: none !important;
}

body.biltmore-auction-poc .bap-highlight {
	display: none;
}

body.biltmore-auction-poc .biltmore-auction-panel.has-current-bid .bap-highlight {
	display: block;
}

body.biltmore-auction-poc .bap-header-row--ends .bap-end-date {
	display: inline-flex;
	align-items: baseline;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.35em;
	color: var(--bap-text-secondary);
	font-size: var(--bap-fs-xs);
	font-weight: 600;
	line-height: 1.35;
	max-width: 100%;
	text-align: center;
}

body.biltmore-auction-poc .bap-header-row--ends .bap-end-prefix,
body.biltmore-auction-poc .bap-header-row--ends .bap-end-datetime {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

body.biltmore-auction-poc .bap-header-row--ends .bap-end-datetime {
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Highlight: bid rows + countdown */
body.biltmore-auction-poc .bap-highlight,
body.biltmore-auction-poc .bap-countdown-area {
	background: var(--bap-bg-highlight);
	padding: 18px;
}

body.biltmore-auction-poc .bap-highlight {
	border-bottom: none;
	padding-bottom: 12px;
}

body.biltmore-auction-poc .bap-bid-card {
	background: var(--bap-bg);
	border: 1px solid var(--bap-border);
	border-radius: var(--bap-radius-md);
	box-shadow:
		0 2px 8px rgba(10, 11, 13, 0.05),
		inset 0 1px 0 rgba(255, 255, 255, 0.85);
	overflow: hidden;
}

body.biltmore-auction-poc .bap-bid-stack {
	display: flex;
	flex-direction: column;
}

body.biltmore-auction-poc .bap-bid-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 15px 16px;
	min-width: 0;
}

body.biltmore-auction-poc .bap-bid-line--current {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	padding: 14px 16px;
	text-align: center;
	background: transparent;
	position: static;
}

body.biltmore-auction-poc .bap-bid-line--current::before {
	display: none;
}

body.biltmore-auction-poc .bap-bid-line--current .bap-bid-line__amount {
	width: 100%;
	display: flex;
	justify-content: center;
	text-align: center;
}

body.biltmore-auction-poc .bap-bid-line--current p.price {
	width: 100% !important;
	text-align: center !important;
}

body.biltmore-auction-poc .bap-bid-line.is-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.biltmore-auction-poc .bap-bid-line__lead {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1 1 auto;
}

body.biltmore-auction-poc .bap-bid-line__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #f3f4f6;
	border: 1px solid #e8eaed;
	color: var(--bap-text-secondary);
	font-size: 13px;
	flex-shrink: 0;
}

body.biltmore-auction-poc .bap-bid-line__icon--live {
	background: var(--bap-brand-soft);
	border-color: var(--bap-brand-border);
	color: var(--bap-brand);
	box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.06);
}

body.biltmore-auction-poc .bap-bid-line__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	min-width: 0;
}

body.biltmore-auction-poc .bap-bid-line__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bap-text-muted);
	line-height: 1.2;
}

body.biltmore-auction-poc .bap-bid-line__sub {
	font-size: 12px;
	font-weight: 600;
	color: var(--bap-text-secondary);
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

body.biltmore-auction-poc .bap-bid-line__amount {
	flex: 0 0 auto;
	text-align: right;
	line-height: 1.05;
}

body.biltmore-auction-poc .bap-highlight p.price {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	float: none !important;
	width: auto !important;
}

body.biltmore-auction-poc .bap-highlight p.price .auction-price {
	display: block;
}

body.biltmore-auction-poc .bap-highlight p.price .auction {
	display: none !important;
}

body.biltmore-auction-poc .bap-bid-line__amount--current .woocommerce-Price-amount,
body.biltmore-auction-poc .bap-bid-line__amount--current .woocommerce-Price-amount bdi {
	display: inline !important;
	font-size: 24px !important;
	font-weight: 800 !important;
	color: var(--bap-text) !important;
	line-height: 1.2 !important;
	font-variant-numeric: tabular-nums;
	letter-spacing: normal;
}

body.biltmore-auction-poc .bap-bid-line--current .bap-bid-line__amount--current .woocommerce-Price-amount.changed {
	animation: bap-bid-pulse 0.65s ease;
}

@keyframes bap-bid-pulse {
	0%,
	100% {
		transform: scale(1);
	}
	45% {
		transform: scale(1.04);
	}
}

body.biltmore-auction-poc .bap-countdown-area {
	border-bottom: none;
	padding-top: 18px;
	padding-bottom: 18px;
}

/* Live reserve — between countdown and your bid */
body.biltmore-auction-poc .biltmore-auction-panel:not(.is-auction-ended) .bap-live-reserve-area {
	background: var(--bap-bg-highlight);
	padding: 0 18px 14px;
	border-bottom: 1px solid var(--bap-border);
}

body.biltmore-auction-poc .biltmore-auction-panel:not(.is-auction-ended) .bap-live-reserve-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 10px 14px;
	border-radius: var(--bap-radius-pill);
	border: 1px solid transparent;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 2px 8px rgba(10, 11, 13, 0.06);
	font-family: var(--bap-mono, "Consolas", monospace);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3;
	text-align: center;
}

body.biltmore-auction-poc .biltmore-auction-panel:not(.is-auction-ended) .bap-live-reserve-pill__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	flex-shrink: 0;
}

body.biltmore-auction-poc .biltmore-auction-panel:not(.is-auction-ended) .bap-live-reserve-pill.hold {
	border-color: var(--bap-brand-border);
	color: var(--bap-brand);
}

body.biltmore-auction-poc .biltmore-auction-panel:not(.is-auction-ended) .bap-live-reserve-pill.hold .bap-live-reserve-pill__dot {
	background: var(--bap-brand);
	box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

body.biltmore-auction-poc .biltmore-auction-panel:not(.is-auction-ended) .bap-live-reserve-pill.free {
	border-color: var(--bap-success-border);
	color: var(--bap-success);
}

body.biltmore-auction-poc .biltmore-auction-panel:not(.is-auction-ended) .bap-live-reserve-pill.free .bap-live-reserve-pill__dot {
	background: var(--bap-success);
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

body.biltmore-auction-poc .bap-countdown-card {
	background: var(--bap-bg);
	border: 1px solid var(--bap-border);
	border-radius: var(--bap-radius-md);
	box-shadow: 0 2px 8px rgba(10, 11, 13, 0.06);
	padding: 16px 16px 16px;
	text-align: center;
}

body.biltmore-auction-poc .bap-countdown-card .bap-time-label {
	margin-top: 0;
	margin-bottom: 12px;
}

body.biltmore-auction-poc .bap-countdown-card .auction-time,
body.biltmore-auction-poc .bap-countdown-card p.auction-time {
	background: transparent !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}

body.biltmore-auction-poc .bap-countdown-wrap {
	width: 100%;
}

body.biltmore-auction-poc .bap-countdown-card .auction-time,
body.biltmore-auction-poc .bap-countdown-card p.auction-time,
body.biltmore-auction-poc .biltmore-auction-panel > .auction-time,
body.biltmore-auction-poc .biltmore-auction-panel > p.auction-time,
body.biltmore-auction-poc .bap-countdown-wrap .auction-time,
body.biltmore-auction-poc .bap-countdown-wrap p.auction-time {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	font-size: 0 !important;
	line-height: 0 !important;
	width: 100%;
	color: transparent !important;
}

body.biltmore-auction-poc .bap-countdown-card .auction-time .over,
body.biltmore-auction-poc .bap-countdown-card p.auction-time .over,
body.biltmore-auction-poc .biltmore-auction-panel > .auction-time .over,
body.biltmore-auction-poc .biltmore-auction-panel > p.auction-time .over,
body.biltmore-auction-poc .bap-countdown-wrap .auction-time .over,
body.biltmore-auction-poc .bap-countdown-wrap .auction-time-countdown .over {
	display: none !important;
}

body.biltmore-auction-poc .bap-countdown-card .auction-time .auction-time-countdown,
body.biltmore-auction-poc .bap-countdown-card p.auction-time .auction-time-countdown,
body.biltmore-auction-poc .biltmore-auction-panel > .auction-time .auction-time-countdown,
body.biltmore-auction-poc .biltmore-auction-panel > p.auction-time .auction-time-countdown,
body.biltmore-auction-poc .bap-countdown-wrap .auction-time-countdown,
body.biltmore-auction-poc .bap-countdown-wrap .main-auction {
	display: block !important;
	width: 100%;
	font-size: var(--bap-fs-sm) !important;
	color: var(--bap-text-secondary) !important;
	line-height: 1.5 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.biltmore-auction-poc .bap-countdown-card .countdown_row,
body.biltmore-auction-poc .biltmore-auction-panel > .auction-time .countdown_row,
body.biltmore-auction-poc .biltmore-auction-panel > p.auction-time .countdown_row,
body.biltmore-auction-poc .bap-countdown-wrap .countdown_row {
	display: flex !important;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.biltmore-auction-poc .bap-countdown-card .countdown_section,
body.biltmore-auction-poc .bap-countdown-wrap .countdown_section {
	display: block !important;
	flex: 1 1 0;
	min-width: 0;
	background: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
	text-align: center !important;
	width: auto !important;
}

body.biltmore-auction-poc .bap-countdown-card .countdown_amount,
body.biltmore-auction-poc .bap-countdown-wrap .countdown_amount {
	display: inline !important;
	font-size: 24px !important;
	font-weight: 800 !important;
	color: var(--bap-text) !important;
	line-height: 1.2 !important;
	font-variant-numeric: tabular-nums;
}

body.biltmore-auction-poc .bap-countdown-card .countdown_section br,
body.biltmore-auction-poc .bap-countdown-wrap .countdown_section br {
	display: inline !important;
}

body.biltmore-auction-poc .bap-countdown-card .countdown_section::after,
body.biltmore-auction-poc .bap-countdown-wrap .countdown_section::after {
	display: none !important;
}

body.biltmore-auction-poc .bap-time-label {
	display: block;
	width: 100%;
	font-size: var(--bap-fs-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bap-text-muted);
	margin-bottom: 10px;
	text-align: center;
}

/* Hide redundant meta inside panel (shown in accordions) */
body.biltmore-auction-poc .biltmore-auction-panel .auction-ajax-change {
	border: none;
	padding: 0;
	margin: 0;
}

body.biltmore-auction-poc .bap-highlight .auction-ajax-change > .auction-condition,
body.biltmore-auction-poc .bap-highlight .auction-ajax-change > .auction-end,
body.biltmore-auction-poc .biltmore-auction-panel .auction-end,
body.biltmore-auction-poc .biltmore-auction-panel p.auction-end,
body.biltmore-auction-poc .auction-ajax-change > .auction-condition,
body.biltmore-auction-poc .auction-ajax-change > .auction-end {
	display: none !important;
}

body.biltmore-auction-poc .bap-highlight > .reserve,
body.biltmore-auction-poc .auction-ajax-change > .reserve:not(.bap-reserve-card):not(.bap-live-reserve-pill) {
	margin: 12px 18px 0;
	padding: 10px 14px;
	border-radius: var(--bap-radius-sm);
	font-size: var(--bap-fs-xs);
	font-weight: 600;
	line-height: 1.4;
}

body.biltmore-auction-poc .bap-reserve-area {
	background: var(--bap-bg-highlight);
	padding: 18px;
	border-bottom: 1px solid var(--bap-border);
}

body.biltmore-auction-poc .bap-reserve-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 18px 20px;
	border-radius: var(--bap-radius-md);
	border: 1px solid var(--bap-brand-border);
	background: linear-gradient(135deg, #f5f9ff 0%, #ffffff 58%, #fafcff 100%);
	box-shadow:
		0 2px 8px rgba(10, 11, 13, 0.06),
		inset 4px 0 0 var(--bap-brand);
	text-align: left;
}

body.biltmore-auction-poc .bap-reserve-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--bap-grad-brand);
	color: #fff;
	font-size: 18px;
	box-shadow: 0 4px 14px rgba(29, 78, 216, 0.22);
}

body.biltmore-auction-poc .bap-reserve-card__body {
	min-width: 0;
	flex: 1 1 auto;
}

body.biltmore-auction-poc .bap-reserve-card__title {
	margin: 0 0 6px;
	font-size: var(--bap-fs-base);
	font-weight: 800;
	line-height: 1.25;
	color: var(--bap-text);
	letter-spacing: -0.01em;
}

body.biltmore-auction-poc .bap-reserve-card__detail {
	margin: 0;
	font-size: var(--bap-fs-sm);
	font-weight: 600;
	line-height: 1.45;
	color: var(--bap-text-secondary);
}

body.biltmore-auction-poc .auction-ajax-change > .reserve.hold:not(.bap-reserve-card):not(.bap-live-reserve-pill),
body.biltmore-auction-poc .biltmore-auction-panel .reserve.hold:not(.bap-reserve-card):not(.bap-live-reserve-pill) {
	background: var(--bap-danger-soft) !important;
	border: 1px solid var(--bap-danger-border) !important;
	color: var(--bap-danger) !important;
}

body.biltmore-auction-poc .auction-ajax-change > .reserve.met,
body.biltmore-auction-poc .auction-ajax-change > .reserve.free:not(.bap-live-reserve-pill),
body.biltmore-auction-poc .biltmore-auction-panel .reserve.met,
body.biltmore-auction-poc .biltmore-auction-panel .reserve.free:not(.bap-live-reserve-pill) {
	background: var(--bap-success-soft) !important;
	border: 1px solid var(--bap-success-border) !important;
	color: var(--bap-success) !important;
}

/* Bid form section */
body.biltmore-auction-poc .bap-bid-section {
	padding: 18px;
	border-bottom: 1px solid var(--bap-border);
}

body.biltmore-auction-poc .bap-bid-start-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 14px;
	padding: 12px 14px;
	min-height: 48px;
	border-radius: var(--bap-radius-sm);
	background: linear-gradient(180deg, #f2f6ff 0%, #fff 100%);
	border: 1px solid #d5e2fb;
	box-sizing: border-box;
}

body.biltmore-auction-poc .bap-bid-max-row {
	margin-top: -6px;
}

/* Hide legacy plugin max-bid line (now rendered under Starting bid). */
body.biltmore-auction-poc .auction-ajax-change > .max-bid,
body.biltmore-auction-poc .biltmore-auction-panel > .max-bid,
body.biltmore-auction-poc p.max-bid {
	display: none !important;
}

body.biltmore-auction-poc .bap-bid-start-label {
	display: inline-flex;
	align-items: center;
	font-size: var(--bap-fs-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bap-brand, #1d4ed8);
	line-height: 1;
}

body.biltmore-auction-poc .bap-bid-start-amount {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	font-size: 1.45rem;
	font-weight: 800;
	color: var(--bap-text);
	line-height: 1;
	min-height: 1.4em;
}

body.biltmore-auction-poc .bap-bid-start-amount .woocommerce-Price-amount,
body.biltmore-auction-poc .bap-bid-start-amount .amount,
body.biltmore-auction-poc .bap-bid-start-amount bdi {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: 1;
	color: inherit;
}

body.biltmore-auction-poc .bap-min-bid {
	display: inline-flex;
	align-items: center;
	font-size: var(--bap-fs-xs);
	font-weight: 600;
	color: var(--bap-success);
	background: var(--bap-success-soft);
	padding: 4px 10px;
	border-radius: var(--bap-radius-pill);
	white-space: nowrap;
	line-height: 1.2;
	min-height: 28px;
}

body.biltmore-auction-poc .bap-min-amount,
body.biltmore-auction-poc .bap-min-amount .woocommerce-Price-amount,
body.biltmore-auction-poc .bap-min-amount .amount,
body.biltmore-auction-poc .bap-min-amount bdi {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
	line-height: 1;
	font-size: inherit;
	font-weight: inherit;
}

body.biltmore-auction-poc .auction-ajax-change > .bap-bid-section {
	padding-left: 18px;
	padding-right: 18px;
}

body.biltmore-auction-poc .bap-bid-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

body.biltmore-auction-poc .bap-bid-section-header label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: var(--bap-fs-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bap-text-muted);
	margin: 0;
}

body.biltmore-auction-poc .auction_form.cart {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
}

body.biltmore-auction-poc .auction_form .quantity.buttons_added {
	display: flex !important;
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	position: static;
	order: 1;
}

body.biltmore-auction-poc .auction_form .minus-bid {
	order: 1;
}

body.biltmore-auction-poc .auction_form .plus-bid {
	order: 3;
}

body.biltmore-auction-poc .auction_form .plus-bid,
body.biltmore-auction-poc .auction_form .minus-bid {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 42px !important;
	min-width: 42px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--bap-border) !important;
	border-radius: var(--bap-radius-sm) !important;
	background: var(--bap-bg) !important;
	color: var(--bap-text) !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	cursor: pointer;
}

body.biltmore-auction-poc .auction_form .plus-bid:hover,
body.biltmore-auction-poc .auction_form .minus-bid:hover {
	border-color: var(--bap-brand-border) !important;
	color: var(--bap-brand) !important;
}

body.biltmore-auction-poc .auction_form input[name="bid_value"] {
	order: 2;
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	height: 44px !important;
	padding: 0 12px !important;
	border: 1px solid var(--bap-border) !important;
	border-radius: var(--bap-radius-sm) !important;
	font-size: var(--bap-fs-base) !important;
	font-weight: 600 !important;
	color: var(--bap-text) !important;
	background: var(--bap-bg) !important;
	box-shadow: none !important;
	text-align: center;
	order: 2;
}

/* WooCommerce clearfixes. On a flex container they blockify into zero-width
   flex items that still consume a gap each, indenting the amount row by 16px
   while the full-width rows below it wrap clear of them. */
body.biltmore-auction-poc .auction_form.cart::before,
body.biltmore-auction-poc .auction_form.cart::after,
body.biltmore-auction-poc .auction_form .quantity.buttons_added::before {
	content: none !important;
}

body.biltmore-auction-poc .bap-quick-bids {
	display: flex !important;
	flex: 1 1 100%;
	width: 100%;
	gap: 8px;
	order: 2;
	margin: 0;
}

body.biltmore-auction-poc .bap-quick-bid-btn {
	flex: 1 1 0;
	min-width: 0;
	height: 36px;
	padding: 0 8px;
	border: 1px solid var(--bap-border);
	border-radius: var(--bap-radius-sm);
	background: var(--bap-bg-soft);
	color: var(--bap-text-secondary);
	font-size: var(--bap-fs-xs);
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
}

body.biltmore-auction-poc .bap-quick-bid-btn:hover {
	border-color: var(--bap-brand-border);
	color: var(--bap-brand);
	background: var(--bap-brand-soft);
}

body.biltmore-auction-poc .auction_form .coment-on-bid {
	flex: 1 1 100%;
	margin: 0 !important;
	order: 4;
}

body.biltmore-auction-poc .auction_form .coment-on-bid textarea {
	width: 100% !important;
	min-height: 72px;
	padding: 10px 12px;
	border: 1px solid var(--bap-border);
	border-radius: var(--bap-radius-sm);
	font-size: var(--bap-fs-sm);
	resize: vertical;
}

/* The logged-out CTA is an anchor to the login page; it has to sit in the
   button rules so it matches the submit button pixel for pixel. */
body.biltmore-auction-poc .auction_form button.bid_button,
body.biltmore-auction-poc .auction_form a.bid_button {
	width: 56px !important;
	min-width: 56px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: var(--bap-radius-sm) !important;
	background: var(--bap-grad-brand) !important;
	background-color: transparent !important;
	border: none !important;
	color: #fff !important;
	font-size: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	float: none !important;
	flex: 0 0 56px;
	/* Last of the three bid rows, under the quick-bid chips, at every width. */
	order: 3;
	box-shadow: 0 4px 14px rgba(29, 78, 216, 0.22);
	text-decoration: none !important;
	box-sizing: border-box;
}

body.biltmore-auction-poc .auction_form button.bid_button:hover,
body.biltmore-auction-poc .auction_form a.bid_button:hover {
	background: var(--bap-grad-brand-hover) !important;
	background-color: transparent !important;
	border: none !important;
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(29, 78, 216, 0.28);
	text-decoration: none !important;
}

body.biltmore-auction-poc .auction_form button.bid_button i,
body.biltmore-auction-poc .auction_form a.bid_button i {
	font-size: 16px !important;
}

body.biltmore-auction-poc .bap-login-cta {
	display: none !important;
}

/* Buy now + watchlist row (centered between bid section and accordions dividers) */
body.biltmore-auction-poc .bap-actions-row {
	padding: 18px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	clear: both;
	min-height: 80px;
	box-sizing: border-box;
}

body.biltmore-auction-poc .auction-ajax-change > .bap-actions-row {
	margin-top: 0;
}

body.biltmore-auction-poc .bap-actions-row form.buy-now.cart {
	flex: 0 1 auto;
	margin: 0 !important;
	width: auto !important;
	min-width: 0;
}

body.biltmore-auction-poc .bap-actions-row form.buy-now.cart .single_add_to_cart_button {
	width: auto !important;
	min-width: 148px;
	height: 44px !important;
	margin: 0 !important;
	border-radius: var(--bap-radius-sm) !important;
	background: var(--bap-grad-brand) !important;
	background-color: transparent !important;
	border: none !important;
	color: #fff !important;
	font-weight: 700 !important;
	font-size: var(--bap-fs-sm) !important;
	text-transform: none !important;
	line-height: 1.2 !important;
	padding: 0 18px !important;
	box-shadow: 0 4px 14px rgba(29, 78, 216, 0.22);
}

body.biltmore-auction-poc .bap-actions-row form.buy-now.cart .single_add_to_cart_button:hover,
body.biltmore-auction-poc .bap-actions-row form.buy-now.cart .single_add_to_cart_button:hover span.amount {
	color: #fff !important;
	background: var(--bap-grad-brand-hover) !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: 0 6px 18px rgba(29, 78, 216, 0.28);
}

body.biltmore-auction-poc .bap-actions-row form.buy-now.cart span.amount {
	color: #fff !important;
	font-weight: 700 !important;
}

/* Hide any leftover native Buy Now form when this lot only has the lock + info modal. */
body.biltmore-auction-poc.bap-buy-now-info-only form.buy-now.cart {
	display: none !important;
}

body.biltmore-auction-poc .bap-buy-now-info-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 148px;
	height: 44px;
	margin: 0;
	padding: 0 18px;
	border: none;
	border-radius: var(--bap-radius-sm);
	background: var(--bap-grad-brand);
	color: #fff;
	font-size: var(--bap-fs-sm);
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(29, 78, 216, 0.22);
}

body.biltmore-auction-poc .bap-buy-now-info-btn__lock {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.95em;
	opacity: 0.95;
}

body.biltmore-auction-poc .bap-buy-now-info-btn:hover,
body.biltmore-auction-poc .bap-buy-now-info-btn:focus {
	background: var(--bap-grad-brand-hover);
	color: #fff;
	outline: none;
	box-shadow: 0 6px 18px rgba(29, 78, 216, 0.28);
}

body.biltmore-auction-poc .bap-buy-now-modal[hidden] {
	display: none !important;
}

body.biltmore-auction-poc .bap-buy-now-modal {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
}

body.biltmore-auction-poc .bap-buy-now-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 11, 13, 0.62);
	backdrop-filter: blur(2px);
}

body.biltmore-auction-poc .bap-buy-now-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(680px, 100%);
	max-height: min(94vh, 900px);
	overflow: auto;
	background: var(--bap-bg, #fff);
	border: 1px solid var(--bap-border, #e8eaed);
	border-radius: var(--bap-radius-lg, 16px);
	box-shadow: 0 28px 72px rgba(10, 11, 13, 0.32);
}

body.biltmore-auction-poc .bap-buy-now-modal__accent {
	height: 4px;
	background: var(--bap-grad-brand);
}

body.biltmore-auction-poc .bap-buy-now-modal__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 26px 28px 20px;
	border-bottom: 1px solid var(--bap-border, #e8eaed);
}

body.biltmore-auction-poc .bap-buy-now-modal__title-wrap {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
}

body.biltmore-auction-poc .bap-buy-now-modal__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--bap-brand-soft, rgba(29, 78, 216, 0.08));
	border: 1px solid var(--bap-brand-border, rgba(29, 78, 216, 0.35));
	color: var(--bap-brand, #1d4ed8);
	font-size: 1.35rem;
	flex: 0 0 auto;
}

body.biltmore-auction-poc .bap-buy-now-modal__titles {
	min-width: 0;
	padding-top: 2px;
}

body.biltmore-auction-poc .bap-buy-now-modal__eyebrow {
	margin: 0 0 8px;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bap-brand, #1d4ed8);
}

body.biltmore-auction-poc .bap-buy-now-modal__title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 2.5rem);
	font-weight: 800;
	line-height: 1.2;
	color: var(--bap-text, #0a0b0d);
}

body.biltmore-auction-poc .bap-buy-now-modal__close {
	width: 44px;
	height: 44px;
	border: 1px solid var(--bap-border, #e8eaed);
	border-radius: 10px;
	background: var(--bap-bg-soft, #fafafa);
	color: var(--bap-text-secondary, #5c6370);
	font-size: 1.65rem;
	line-height: 1;
	cursor: pointer;
	flex: 0 0 auto;
}

body.biltmore-auction-poc .bap-buy-now-modal__close:hover {
	background: #fff;
	color: var(--bap-text, #0a0b0d);
	border-color: #d1d5db;
}

body.biltmore-auction-poc .bap-buy-now-modal__body {
	padding: 26px 28px 14px;
}

body.biltmore-auction-poc .bap-buy-now-modal__lead {
	margin: 0 0 24px;
	font-size: 1.4rem;
	line-height: 1.65;
	color: var(--bap-text-secondary, #5c6370);
}

body.biltmore-auction-poc .bap-buy-now-modal__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

body.biltmore-auction-poc .bap-buy-now-modal__list li {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 16px 18px;
	background: var(--bap-bg-soft, #fafafa);
	border: 1px solid var(--bap-border, #e8eaed);
	border-radius: var(--bap-radius-md, 12px);
}

body.biltmore-auction-poc .bap-buy-now-modal__item-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-top: 0;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--bap-border, #e8eaed);
	color: var(--bap-brand, #1d4ed8);
	font-size: 1.15rem;
	flex: 0 0 auto;
}

body.biltmore-auction-poc .bap-buy-now-modal__item-copy {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	padding-top: 2px;
}

body.biltmore-auction-poc .bap-buy-now-modal__item-label {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bap-text-muted, #8b919a);
}

body.biltmore-auction-poc .bap-buy-now-modal__item-copy strong {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--bap-text, #0a0b0d);
	line-height: 1.45;
}

body.biltmore-auction-poc .bap-buy-now-modal__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 20px 28px 24px;
	border-top: 1px solid var(--bap-border, #e8eaed);
	background: rgba(29, 78, 216, 0.02);
}

body.biltmore-auction-poc .bap-buy-now-modal__note {
	margin: 0;
	flex: 1 1 240px;
	font-size: 1.25rem;
	line-height: 1.55;
	color: var(--bap-text-secondary, #5c6370);
}

body.biltmore-auction-poc .bap-buy-now-modal__note i {
	color: var(--bap-brand, #1d4ed8);
	margin-right: 6px;
}

body.biltmore-auction-poc .bap-buy-now-modal__note a {
	color: var(--bap-brand, #1d4ed8);
	text-decoration: underline;
	font-weight: 700;
}

body.biltmore-auction-poc .bap-buy-now-modal__dismiss {
	flex: 0 0 auto;
	min-width: 140px;
	height: 54px;
	padding: 0 26px;
	border: none;
	border-radius: var(--bap-radius-sm, 8px);
	background: var(--bap-grad-brand);
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(29, 78, 216, 0.22);
}

body.biltmore-auction-poc .bap-buy-now-modal__dismiss:hover {
	background: var(--bap-grad-brand-hover);
	color: #fff;
}

body.biltmore-auction-poc.bap-buy-now-modal-open {
	overflow: hidden;
}

@media (max-width: 560px) {
	body.biltmore-auction-poc .bap-buy-now-modal {
		padding: 12px;
		align-items: flex-end;
	}

	body.biltmore-auction-poc .bap-buy-now-modal__dialog {
		width: 100%;
		max-height: 90vh;
		border-radius: 16px 16px 12px 12px;
	}

	body.biltmore-auction-poc .bap-buy-now-modal__head,
	body.biltmore-auction-poc .bap-buy-now-modal__body,
	body.biltmore-auction-poc .bap-buy-now-modal__foot {
		padding-left: 20px;
		padding-right: 20px;
	}

	body.biltmore-auction-poc .bap-buy-now-modal__title {
		font-size: 1.75rem;
	}

	body.biltmore-auction-poc .bap-buy-now-modal__lead,
	body.biltmore-auction-poc .bap-buy-now-modal__item-copy strong {
		font-size: 1.3rem;
	}

	body.biltmore-auction-poc .bap-buy-now-modal__item-label {
		font-size: 1rem;
	}

	body.biltmore-auction-poc .bap-buy-now-modal__note {
		font-size: 1.15rem;
	}

	body.biltmore-auction-poc .bap-buy-now-modal__dismiss {
		width: 100%;
		height: 56px;
		font-size: 1.3rem;
	}
}

body.biltmore-auction-poc .bap-actions-row .wishlist-container {
	display: none !important;
}

body.biltmore-auction-poc .bap-actions-row .wsawl-link {
	width: auto;
	margin: 0 !important;
	padding: 0;
	float: none !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex: 0 0 auto;
}

body.biltmore-auction-poc .bap-actions-row .wsawl-link a,
body.biltmore-auction-poc .bap-actions-row .wsawl-link a.add-wsawl.sa-watchlist-action,
body.biltmore-auction-poc .bap-actions-row .wsawl-link a.remove-wsawl.sa-watchlist-action,
body.biltmore-auction-poc .bap-actions-row .wsawl-link a.bap-watchlist-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center;
	gap: 0;
	width: 44px !important;
	min-width: 44px !important;
	max-width: 44px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: var(--bap-radius-sm) !important;
	background: var(--bap-grad-brand) !important;
	background-color: transparent !important;
	color: #fff !important;
	line-height: 1 !important;
	text-align: center;
	text-decoration: none !important;
	box-sizing: border-box;
	vertical-align: middle;
	box-shadow: 0 4px 14px rgba(29, 78, 216, 0.22);
	position: relative;
}

body.biltmore-auction-poc .bap-actions-row .wsawl-link a:hover,
body.biltmore-auction-poc .bap-actions-row .wsawl-link a:focus-visible {
	background: var(--bap-grad-brand-hover) !important;
	background-color: transparent !important;
	border: none !important;
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(29, 78, 216, 0.28);
}

body.biltmore-auction-poc .bap-actions-row .add-wsawl.bap-watchlist-btn::before,
body.biltmore-auction-poc .bap-actions-row .remove-wsawl.bap-watchlist-btn::before {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 20px;
	height: 20px;
	font-size: 18px;
	line-height: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
	flex-shrink: 0;
	color: #fff !important;
}

body.biltmore-auction-poc .bap-actions-row .bap-watchlist-btn__label {
	display: none !important;
}

body.biltmore-auction-poc .bap-actions-row .bap-watchlist-btn::after {
	content: attr(data-bap-tooltip);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	transform: translateX(-50%) translateY(4px);
	padding: 6px 10px;
	border-radius: 8px;
	background: #0f172a;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
	z-index: 5;
}

body.biltmore-auction-poc .bap-actions-row .bap-watchlist-btn:hover::after,
body.biltmore-auction-poc .bap-actions-row .bap-watchlist-btn:focus-visible::after {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

body.biltmore-auction-poc .auction-ajax-change > .wsawl-link,
body.biltmore-auction-poc .auction-ajax-change > .wishlist-container {
	display: none !important;
}

body.biltmore-auction-poc .summary > .yith-add-to-wishlist-button-block {
	display: none !important;
}

body.biltmore-auction-poc .auction-ajax-change .yith-wcwl-add-to-wishlist-button__label {
	font-size: var(--bap-fs-sm);
}

/* Accordions */
body.biltmore-auction-poc .bap-accordions {
	border-top: 1px solid var(--bap-border);
	margin-top: auto;
	min-width: 0;
	max-width: 100%;
}

body.biltmore-auction-poc .bap-accordion {
	border-bottom: 1px solid var(--bap-border);
}

body.biltmore-auction-poc .bap-accordion-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	border: none;
	background: var(--bap-bg);
	cursor: pointer;
	font-size: var(--bap-fs-sm);
	font-weight: 600;
	color: var(--bap-text);
	text-align: left;
}

body.biltmore-auction-poc .bap-accordion-toggle:hover {
	background: var(--bap-bg-soft);
}

body.biltmore-auction-poc .bap-accordion-toggle .bap-acc-left {
	display: flex;
	align-items: center;
	gap: 8px;
}

body.biltmore-auction-poc .bap-accordion-badge {
	min-width: 24px;
	height: 24px;
	padding: 0 8px;
	border-radius: var(--bap-radius-pill);
	background: var(--bap-bg-soft);
	border: 1px solid var(--bap-border);
	font-size: var(--bap-fs-xs);
	font-weight: 700;
	color: var(--bap-text-secondary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

body.biltmore-auction-poc .bap-accordion-chevron {
	width: 18px;
	height: 18px;
	transition: transform 0.2s ease;
	color: var(--bap-text-muted);
}

body.biltmore-auction-poc .bap-accordion.is-open .bap-accordion-chevron {
	transform: rotate(180deg);
}

body.biltmore-auction-poc .bap-accordion-panel {
	display: none;
	padding: 0 18px 16px;
	font-size: var(--bap-fs-sm);
	color: var(--bap-text-secondary);
}

body.biltmore-auction-poc .bap-accordion.is-open .bap-accordion-panel {
	display: block;
}

/* Bid history feed */
body.biltmore-auction-poc .bap-bid-history {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

body.biltmore-auction-poc .bap-bid-history__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.biltmore-auction-poc .bap-bid-history__item {
	padding: 12px 14px;
	border: 1px solid var(--bap-border);
	border-radius: var(--bap-radius-sm);
	background: var(--bap-bg);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.biltmore-auction-poc .bap-bid-history__item.is-leading {
	background: linear-gradient(180deg, var(--bap-bg-highlight) 0%, var(--bap-bg) 100%);
	border-color: var(--bap-brand-border);
	box-shadow: inset 3px 0 0 var(--bap-brand);
}

body.biltmore-auction-poc .bap-bid-history__amount-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

body.biltmore-auction-poc .bap-bid-history__amount {
	font-size: var(--bap-fs-base);
	font-weight: 700;
	color: var(--bap-text);
	line-height: 1.2;
}

body.biltmore-auction-poc .bap-bid-history__amount .woocommerce-Price-amount {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

body.biltmore-auction-poc .bap-bid-history__tag {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: var(--bap-radius-pill);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.4;
}

body.biltmore-auction-poc .bap-bid-history__tag--leading {
	background: var(--bap-brand-soft);
	border: 1px solid var(--bap-brand-border);
	color: var(--bap-brand);
}

body.biltmore-auction-poc .bap-bid-history__tag--auto {
	background: var(--bap-bg-soft);
	border: 1px solid var(--bap-border);
	color: var(--bap-text-secondary);
}

body.biltmore-auction-poc .bap-bid-history__tag--buy-now {
	background: rgba(180, 83, 9, 0.12);
	border: 1px solid rgba(180, 83, 9, 0.28);
	color: #b45309;
}

body.biltmore-auction-poc .bap-bid-history__item.is-buy-now {
	border-color: rgba(180, 83, 9, 0.22);
}

body.biltmore-auction-poc .bap-header-start-amount--selling {
	color: var(--bap-brand);
}

body.biltmore-auction-poc .bap-bid-history__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 12px;
	font-size: var(--bap-fs-xs);
	color: var(--bap-text-muted);
}

body.biltmore-auction-poc .bap-bid-history__bidder {
	color: var(--bap-text-secondary);
	font-weight: 500;
}

body.biltmore-auction-poc .bap-bid-history__date {
	color: var(--bap-text-muted);
	white-space: nowrap;
}

body.biltmore-auction-poc .bap-bid-history__sealed {
	margin: 0;
	padding: 12px 14px;
	border-radius: var(--bap-radius-sm);
	background: var(--bap-bg-soft);
	border: 1px solid var(--bap-border);
	font-size: var(--bap-fs-sm);
	color: var(--bap-text-secondary);
	line-height: 1.5;
}

body.biltmore-auction-poc .bap-sealed-info {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 4px 0 2px;
}

body.biltmore-auction-poc .bap-sealed-info__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	gap: 8px;
	margin: 0 auto;
	padding: 8px 16px;
	width: fit-content;
	border-radius: var(--bap-radius-pill);
	background: var(--bap-brand-soft);
	border: 1px solid var(--bap-brand-border);
	font-size: var(--bap-fs-xs);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bap-brand);
}

body.biltmore-auction-poc .bap-sealed-info__badge i {
	font-size: 0.9em;
}

body.biltmore-auction-poc .bap-sealed-info__text {
	margin: 0;
	font-size: var(--bap-fs-sm);
	line-height: 1.6;
	color: var(--bap-text-secondary);
}

body.biltmore-auction-poc .bap-sealed-info__text:first-of-type {
	font-size: var(--bap-fs-base);
	font-weight: 600;
	color: var(--bap-text);
}

body.biltmore-auction-poc .bap-sealed-info__list {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: var(--bap-fs-sm);
	line-height: 1.5;
	color: var(--bap-text);
}

body.biltmore-auction-poc .bap-sealed-info__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding-left: 0;
	font-weight: 500;
}

body.biltmore-auction-poc .bap-sealed-info__list li::before {
	content: none !important;
	display: none !important;
}

body.biltmore-auction-poc .bap-sealed-info__check {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	background: none !important;
	border: 0 !important;
}

body.biltmore-auction-poc .bap-bid-history__milestone {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 2px 0;
	margin-top: 4px;
	border-top: 1px dashed var(--bap-border);
}

body.biltmore-auction-poc .bap-bid-history__milestone-dot {
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	margin-top: 4px;
	border-radius: 50%;
	background: var(--bap-text-muted);
	box-shadow: 0 0 0 3px var(--bap-bg-soft);
}

body.biltmore-auction-poc .bap-bid-history__milestone--started .bap-bid-history__milestone-dot {
	background: var(--bap-success);
	box-shadow: 0 0 0 3px var(--bap-success-soft);
}

body.biltmore-auction-poc .bap-bid-history__milestone-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

body.biltmore-auction-poc .bap-bid-history__milestone-label {
	font-size: var(--bap-fs-sm);
	font-weight: 600;
	color: var(--bap-text);
}

body.biltmore-auction-poc .bap-bid-history__milestone-date {
	font-size: var(--bap-fs-xs);
	color: var(--bap-text-muted);
}

body.biltmore-auction-poc .bap-details-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.biltmore-auction-poc .bap-details-list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--bap-border);
}

body.biltmore-auction-poc .bap-details-list li:last-child {
	border-bottom: none;
}

body.biltmore-auction-poc .bap-details-list strong {
	color: var(--bap-text);
	font-weight: 600;
}

body.biltmore-auction-poc .bap-empty-note {
	color: var(--bap-text-muted);
	font-style: italic;
	margin: 0;
}

/* Card ending — same panel language as bid box / accordions */
body.biltmore-auction-poc .bap-card-ending {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px 18px 18px;
	border-top: 1px solid var(--bap-border);
	background: var(--bap-bg-soft);
}

body.biltmore-auction-poc .bap-secure-note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--bap-border);
	border-radius: var(--bap-radius-sm);
	background: var(--bap-bg);
	color: var(--bap-text);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	overflow: hidden;
	min-width: 0;
	box-sizing: border-box;
}

body.biltmore-auction-poc .bap-secure-note > i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	border-radius: 6px;
	background: var(--bap-brand-soft);
	border: 1px solid var(--bap-brand-border);
	color: var(--bap-brand);
	font-size: 0.7rem;
	margin: 0;
}

body.biltmore-auction-poc .bap-secure-note > span:not(.bap-secure-note__badge) {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0;
	color: var(--bap-text-secondary);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.biltmore-auction-poc .bap-secure-note--covered {
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	overflow: hidden;
}

body.biltmore-auction-poc .bap-secure-note--covered > span {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0;
	color: var(--bap-text-secondary);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.biltmore-auction-poc .bap-secure-note--covered .bap-secure-note__badge {
	display: inline-flex;
	flex: 0 0 auto;
	align-self: center;
	margin-left: 0;
	padding: 4px 8px;
	border-radius: 6px;
	background: var(--bap-success-soft);
	border: 1px solid var(--bap-success-border);
	color: var(--bap-success) !important;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	white-space: nowrap;
}

body.biltmore-auction-poc .bap-secure-note--covered .bap-secure-note__badge:hover {
	background: rgba(22, 163, 74, 0.16);
	color: var(--bap-success) !important;
}

body.biltmore-auction-poc .bap-buyer-policy {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 16px 44px 16px 16px;
	border-radius: var(--bap-radius-md);
	background: linear-gradient(180deg, #f2f6ff 0%, #ffffff 100%);
	border: 1px solid #d5e2fb;
	text-decoration: none !important;
	color: inherit;
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.biltmore-auction-poc .bap-buyer-policy:hover {
	border-color: var(--bap-brand-border);
	box-shadow: 0 4px 14px rgba(29, 78, 216, 0.08);
	color: inherit;
}

body.biltmore-auction-poc .bap-buyer-policy__row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

body.biltmore-auction-poc .bap-buyer-policy__icon {
	width: 40px;
	height: 40px;
	border-radius: var(--bap-radius-sm);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.05rem;
	flex-shrink: 0;
}

body.biltmore-auction-poc .bap-buyer-policy__icon--fees {
	background: var(--bap-brand-soft);
	border: 1px solid var(--bap-brand-border);
	color: var(--bap-brand);
}

body.biltmore-auction-poc .bap-buyer-policy__icon--ship {
	background: var(--bap-success-soft);
	border: 1px solid var(--bap-success-border);
	color: var(--bap-success);
}

body.biltmore-auction-poc .bap-buyer-policy__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding-top: 1px;
}

body.biltmore-auction-poc .bap-buyer-policy__text strong {
	font-size: var(--bap-fs-base);
	font-weight: 800;
	color: var(--bap-text);
	line-height: 1.3;
}

body.biltmore-auction-poc .bap-buyer-policy__text span {
	font-size: var(--bap-fs-sm);
	font-weight: 500;
	color: var(--bap-text-secondary);
	line-height: 1.45;
}

body.biltmore-auction-poc .bap-buyer-policy__arrow {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--bap-brand-soft);
	color: var(--bap-brand);
	font-size: 0.85rem;
	transition: transform 0.18s ease, background 0.18s ease;
}

body.biltmore-auction-poc .bap-buyer-policy:hover .bap-buyer-policy__arrow {
	transform: translateY(-50%) translateX(3px);
	background: rgba(29, 78, 216, 0.14);
}

/* Legacy trust footer (replaced by card ending) */
body.biltmore-auction-poc .bap-trust {
	display: none;
}

/* Max bid display if plugin outputs it — replaced by .bap-bid-max-row */
body.biltmore-auction-poc .auction-ajax-change > .max-bid {
	display: none !important;
}

/* Override theme auction form width rules */
body.biltmore-auction-poc.woocommerce div.product.sold-individually.product-type-auction form.cart.auction_form {
	width: 100% !important;
}

body.biltmore-auction-poc .summary .woocommerce-product-details__short-description + .woocommerce-product-details__short-description {
	display: none;
}

@media (max-width: 767px) {
	body.biltmore-auction-poc .bap-bid-line {
		padding-left: 14px;
		padding-right: 14px;
	}

	body.biltmore-auction-poc .bap-bid-line__icon {
		width: 32px;
		height: 32px;
		font-size: 12px;
	}

	body.biltmore-auction-poc .bap-header-row--start,
	body.biltmore-auction-poc .bap-header-row--winning {
		margin-left: 10px;
		margin-right: 10px;
	}

	body.biltmore-auction-poc .bap-bid-line__amount--current .woocommerce-Price-amount,
	body.biltmore-auction-poc .bap-bid-line__amount--current .woocommerce-Price-amount bdi {
		font-size: 20px !important;
	}

	body.biltmore-auction-poc .auction_form.cart {
		flex-wrap: wrap;
	}

	body.biltmore-auction-poc .bap-countdown-card .countdown_amount {
		font-size: 20px !important;
	}

	body.biltmore-auction-poc .bap-header,
	body.biltmore-auction-poc .bap-highlight,
	body.biltmore-auction-poc .bap-countdown-area,
	body.biltmore-auction-poc .auction-ajax-change > .bap-bid-section {
		padding-left: 14px;
		padding-right: 14px;
	}
}

@media (max-width: 640px) {
	body.biltmore-auction-poc .summary .biltmore-auction-panel,
	body.biltmore-auction-poc .biltmore-auction-panel {
		min-width: 0;
		max-width: 100%;
	}

	body.biltmore-auction-poc .bap-accordions {
		overflow: visible;
	}

	body.biltmore-auction-poc .bap-accordion-panel[data-bap-history-panel="1"] {
		padding-left: 12px;
		padding-right: 12px;
		max-width: 100%;
		overflow: visible;
		box-sizing: border-box;
	}

	body.biltmore-auction-poc .bap-bid-history__meta {
		flex-direction: column;
		align-items: flex-start;
	}

	body.biltmore-auction-poc .bap-bid-history__date {
		white-space: normal;
	}
}

@media (max-width: 480px) {
	body.biltmore-auction-poc .bap-header-row--ends .bap-end-datetime {
		white-space: normal;
		overflow: visible;
		text-overflow: unset;
		word-break: break-word;
	}

	body.biltmore-auction-poc .bap-bid-section-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	body.biltmore-auction-poc .bap-min-bid {
		white-space: normal;
	}

	body.biltmore-auction-poc .auction_form.cart button.bid_button,
	body.biltmore-auction-poc .auction_form.cart .bid_button {
		flex: 1 1 100%;
		width: 100% !important;
		max-width: none !important;
	}
}

/* Winner pay — single source in #bap-winner-pay-panel (hide plugin duplicates) */
body.biltmore-auction-poc .summary .bap-winner-pay-panel__content,
body.biltmore-auction-poc .bap-bid-sheet .bap-winner-pay-panel__content,
body.biltmore-auction-poc .auction-ajax-change .bap-winner-pay-panel__content {
	display: none !important;
}

body.biltmore-auction-poc #bap-winner-pay-panel .bap-winner-pay-panel__content {
	display: block !important;
}

body.biltmore-auction-poc .bap-winner-pay-panel {
	display: none;
	margin: 0;
	padding: 18px;
	border-top: 1px solid var(--bap-border);
	background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}

body.biltmore-auction-poc .bap-winner-pay-panel.is-visible,
body.biltmore-auction-poc .bap-winner-pay-panel:not(:empty) {
	display: block;
}

body.biltmore-auction-poc .bap-winner-pay-panel__content {
	background: var(--bap-bg);
	border: 1px solid var(--bap-border);
	border-radius: var(--bap-radius-md);
	box-shadow:
		0 2px 8px rgba(10, 11, 13, 0.05),
		inset 0 1px 0 rgba(255, 255, 255, 0.85);
	padding: 24px 20px 22px;
	text-align: center;
}

body.biltmore-auction-poc .bap-winner-pay-panel__eyebrow {
	margin: 0 0 8px;
	font-size: var(--bap-fs-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bap-brand);
}

body.biltmore-auction-poc .bap-winner-pay-panel__message {
	margin: 0 0 10px;
	font-size: var(--bap-fs-md);
	font-weight: 700;
	line-height: 1.35;
	color: var(--bap-text);
}

body.biltmore-auction-poc .bap-winner-pay-panel__hint {
	margin: 0 0 18px;
	font-size: var(--bap-fs-sm);
	font-weight: 500;
	line-height: 1.45;
	color: var(--bap-text-secondary);
}

body.biltmore-auction-poc .bap-winner-pay-panel__actions {
	margin: 0;
}

body.biltmore-auction-poc .bap-winner-pay-panel__button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 240px;
	min-height: 48px;
	padding: 0 28px !important;
	font-size: var(--bap-fs-base) !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	background: var(--bap-grad-brand) !important;
	background-color: transparent !important;
	border: none !important;
	color: #fff !important;
	border-radius: var(--bap-radius-sm) !important;
	box-shadow: 0 4px 14px rgba(29, 78, 216, 0.22);
}

body.biltmore-auction-poc .bap-winner-pay-panel__button:hover,
body.biltmore-auction-poc .bap-winner-pay-panel__button:focus {
	background: var(--bap-grad-brand-hover) !important;
	background-color: transparent !important;
	border: none !important;
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(29, 78, 216, 0.28);
}

/* In-panel ended notice (AJAX close — no full page reload) */
body.biltmore-auction-poc .bap-panel-ended-notice {
	text-align: center;
	padding: 8px 4px 4px;
}

body.biltmore-auction-poc .bap-panel-ended-notice__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: var(--bap-brand-soft);
	color: var(--bap-brand);
	font-size: 1.1rem;
}

body.biltmore-auction-poc .bap-panel-ended-notice__eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bap-brand);
}

body.biltmore-auction-poc .bap-panel-ended-notice__title {
	margin: 0 0 10px;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--bap-text);
}

body.biltmore-auction-poc .bap-panel-ended-notice__listing,
body.biltmore-auction-poc .bap-panel-ended-notice__text {
	margin: 0 0 10px;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--bap-text-secondary);
}

body.biltmore-auction-poc .bap-panel-ended-notice__actions {
	margin: 14px 0 0;
}

/* ==========================================================================
   Sticky bid bar + bid sheet — phones and tablets only.
   The auction panel is not duplicated here: single-auction-poc.js moves the
   one panel between the page and .bap-bid-sheet__body, so the bid form, the
   countdown and the polling IDs stay unique.
   ========================================================================== */

.bap-mobile-bidbar,
.bap-bid-sheet {
	display: none;
}

/* Hidden by default so the label never shows on a button that is not laid out
   for it; each breakpoint below opts back in. */
body.biltmore-auction-poc .bap-bid-button-label {
	display: none;
}

@media (min-width: 992px) {
	/* Submit takes its own full-width line instead of sitting beside the
	   amount field, so the gavel gets its label and the whole card width. */
	body.biltmore-auction-poc .auction_form.cart button.bid_button,
	body.biltmore-auction-poc .auction_form.cart .bid_button {
		flex: 1 1 100%;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		height: 48px !important;
		gap: 10px;
		padding: 0 18px !important;
		font-size: var(--bap-fs-base) !important;
		font-weight: 700 !important;
	}

	body.biltmore-auction-poc .auction_form.cart button.bid_button .bap-bid-button-label,
	body.biltmore-auction-poc .auction_form.cart a.bid_button .bap-bid-button-label {
		display: inline;
		line-height: 1;
	}
}

@media (max-width: 991px) {
	/* Touch targets: the submit button takes its own full-width line and
	   spells the action out next to the gavel. */
	body.biltmore-auction-poc .auction_form.cart button.bid_button,
	body.biltmore-auction-poc .auction_form.cart .bid_button {
		flex: 1 1 100%;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		height: 50px !important;
		gap: 10px;
		padding: 0 18px !important;
		font-size: 16px !important;
		font-weight: 700 !important;
	}

	body.biltmore-auction-poc .auction_form.cart button.bid_button .bap-bid-button-label,
	body.biltmore-auction-poc .auction_form.cart a.bid_button .bap-bid-button-label {
		display: inline;
		line-height: 1;
	}

	/* Minimum bid stays on the "Your bid" row, pushed right, as on desktop. */
	body.biltmore-auction-poc .bap-bid-section-header {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
	}

	body.biltmore-auction-poc .bap-bid-section-header .bap-min-bid {
		margin-left: auto;
		white-space: nowrap;
	}

	/* Hidden from the page even before scripts run, so it never flashes in
	   place on the way into the sheet. */
	body.bap-has-mobile-bidbar .summary .biltmore-auction-panel {
		display: none;
	}

	/* The summary column is empty once the panel leaves, so it must not keep
	   reserving space between the gallery and the product sections. */
	body.bap-has-mobile-bidbar div.product .summary.entry-summary {
		margin-bottom: 0 !important;
	}

	/* Clears the fixed bar. The time-left row made it one line taller, so this
	   grew with it — too little and the last of the page sits under the bar. */
	body.bap-has-mobile-bidbar {
		padding-bottom: 104px;
	}

	.bap-mobile-bidbar {
		display: block;
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1400;
		background: var(--bap-bg, #fff);
		border-top: 1px solid var(--bap-border, #e8eaed);
		box-shadow: 0 -8px 28px rgba(10, 11, 13, 0.14);
		padding: 10px 14px;
		padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	}

	.bap-mobile-bidbar__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		max-width: 720px;
		margin: 0 auto;
	}

	.bap-mobile-bidbar__info {
		min-width: 0;
		display: flex;
		flex-direction: column;
		gap: 3px;
	}

	.bap-mobile-bidbar__badge {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		font-size: 10px;
		font-weight: 800;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: var(--bap-brand, #1d4ed8);
		white-space: nowrap;
	}

	.bap-mobile-bidbar__dot {
		width: 7px;
		height: 7px;
		border-radius: 50%;
		background: var(--bap-brand, #1d4ed8);
		box-shadow: 0 0 0 3px var(--bap-brand-soft, rgba(29, 78, 216, 0.08));
	}

	.bap-mobile-bidbar__price {
		display: flex;
		align-items: baseline;
		gap: 7px;
		min-width: 0;
	}

	.bap-mobile-bidbar__label {
		font-size: 12px;
		color: var(--bap-text-muted, #8b919a);
		white-space: nowrap;
	}

	.bap-mobile-bidbar__amount,
	.bap-mobile-bidbar__amount .woocommerce-Price-amount {
		font-size: 18px;
		font-weight: 800;
		color: var(--bap-text, #0a0b0d);
		white-space: nowrap;
	}

	/*
	 * Time left, built to match the price line above it rather than to stand
	 * apart from it: same muted label, same baseline, one step down in size.
	 * The countdown lives on the auction panel, which this layout moves into
	 * the bid sheet, so until now the one number under real time pressure was
	 * the one thing a phone could not see without opening the sheet.
	 */
	.bap-mobile-bidbar__time {
		display: flex;
		align-items: baseline;
		gap: 7px;
		min-width: 0;
	}

	.bap-mobile-bidbar__time-value {
		font-size: 15px;
		font-weight: 800;
		color: var(--bap-text, #0a0b0d);
		white-space: nowrap;
		/* Digits keep their column as the value ticks, so the row beside it
		   does not jitter every second in the final hour. */
		font-variant-numeric: tabular-nums;
	}

	/* Last hour. The colour is the message; nothing moves or flashes, which
	   would fight the bid button for attention right when it matters. */
	.bap-mobile-bidbar__time.is-urgent .bap-mobile-bidbar__time-value {
		color: #b42318;
	}

	.bap-mobile-bidbar__time.is-ended .bap-mobile-bidbar__time-value {
		color: var(--bap-text-muted, #8b919a);
	}

	/* Winner variant: the outcome reads as a statement, not a status pill. */
	.bap-mobile-bidbar__won {
		font-size: 18px;
		font-weight: 800;
		letter-spacing: 0.01em;
		text-transform: uppercase;
		color: var(--bap-text, #0a0b0d);
		white-space: nowrap;
	}

	/* "Claim your lot" is a long label next to a long heading. */
	.bap-mobile-bidbar--claim .bap-mobile-bidbar__cta {
		gap: 7px;
		padding: 0 16px;
		font-size: 14px;
	}

	.bap-mobile-bidbar__cta {
		flex: 0 0 auto;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 46px;
		padding: 0 20px;
		border: 0;
		border-radius: var(--bap-radius-pill, 999px);
		background: var(--bap-grad-brand, linear-gradient(135deg, #1a44c2 0%, #3b82f6 100%));
		box-shadow: 0 6px 18px rgba(26, 68, 194, 0.32);
		color: #fff;
		font-size: 15px;
		font-weight: 700;
		line-height: 1;
		cursor: pointer;
		transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	}

	.bap-mobile-bidbar__cta:hover,
	.bap-mobile-bidbar__cta:focus-visible {
		background: var(--bap-grad-brand-hover, linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%));
		color: #fff;
	}

	.bap-mobile-bidbar__cta:active {
		transform: translateY(1px);
		box-shadow: 0 3px 10px rgba(26, 68, 194, 0.3);
	}

	.bap-bid-sheet:not([hidden]) {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		position: fixed;
		inset: 0;
		z-index: 1500;
	}

	.bap-bid-sheet__backdrop {
		position: absolute;
		inset: 0;
		border: 0;
		background: rgba(10, 11, 13, 0.55);
	}

	.bap-bid-sheet__close {
		position: relative;
		z-index: 1;
		align-self: flex-end;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		margin: 0 16px 12px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #fff;
		box-shadow: 0 4px 14px rgba(10, 11, 13, 0.28);
		color: var(--bap-text, #0a0b0d);
		font-size: 24px;
		line-height: 1;
		cursor: pointer;
	}

	.bap-bid-sheet__dialog {
		position: relative;
		z-index: 1;
		max-height: 88vh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		background: var(--bap-bg, #fff);
		border-radius: 20px 20px 0 0;
		box-shadow: 0 -10px 40px rgba(10, 11, 13, 0.28);
		animation: bap-bid-sheet-in 0.22s ease-out;
	}

	.bap-bid-sheet__body {
		padding: 6px 14px calc(18px + env(safe-area-inset-bottom, 0px));
	}

	/* The panel's own card chrome comes from a .summary-scoped rule, so it is
	   re-declared here for the sheet, minus the border the sheet provides. */
	.bap-bid-sheet .biltmore-auction-panel {
		display: flex;
		flex-direction: column;
		margin: 0;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		overflow: visible;
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	}

	body.bap-bidsheet-open {
		overflow: hidden;
	}
}

@keyframes bap-bid-sheet-in {
	from {
		transform: translateY(14px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bap-bid-sheet__dialog {
		animation: none;
	}
}
