/**
 * Public auction page + on-auction notice (v3.89.0).
 *
 * Deliberately plain: fonts and base colours are inherited from the theme so
 * the page sits inside whatever Bricks wraps it in. Override the three custom
 * properties on .alauc (or globally) to re-colour it.
 */
.alauc,
.alauc-notice,
.alauc-tag-inline {
	--alauc-ink: #1d1d1b;
	--alauc-accent: #1d1d1b;
	--alauc-line: #e2ddd3;
	--alauc-soft: #f6f3ee;
	--alauc-good: #1f6b43;
	--alauc-bad: #a02929;
}

.alauc { color: var(--alauc-ink); max-width: 1240px; margin: 0 auto; padding: clamp(20px, 4vw, 48px) 20px 56px; }
.alauc *, .alauc *::before, .alauc *::after { box-sizing: border-box; }
.alauc-loading { opacity: .7; }

/* header */
.alauc-head { margin: 0 0 36px; }
.alauc-title { margin: 0 0 10px; font-size: clamp(28px, 4vw, 40px); font-weight: 300; line-height: 1.15; }
.alauc-phase { margin: 0 0 8px; font-size: 18px; font-weight: 500; }
.alauc-phase--ended { color: #6b6862; }
.alauc-sub { margin: 0 0 8px; font-size: 16px; line-height: 1.5; max-width: 62ch; }
.alauc-me { margin: 10px 0 0; font-size: 15px; color: #55524c; }

.alauc-msg { margin: 0 0 18px; padding: 14px 16px; background: var(--alauc-soft); border: 1px solid var(--alauc-line); border-radius: 8px; font-size: 16px; line-height: 1.45; }
.alauc-msg--ok { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; background: #eef6ef; border-color: #bfdcc3; color: #1d4a27; }
.alauc-msg__x { flex: 0 0 auto; width: 32px; height: 32px; margin: -4px -6px 0 0; padding: 0; border: 0; background: none; color: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.alauc-msg--error { background: #fbeeee; border-color: #ecc8c8; color: var(--alauc-bad); }

/* buttons */
.alauc-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 22px; border: 2px solid var(--alauc-accent); border-radius: 0;
	background: var(--alauc-accent); color: #fff; font: inherit; font-size: 16px; font-weight: 600;
	line-height: 1.2; text-decoration: none; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.alauc-btn:hover, .alauc-btn:focus-visible { opacity: .88; color: #fff; }
.alauc-btn[disabled] { opacity: .55; cursor: default; }
.alauc-btn--ghost { background: transparent; color: var(--alauc-ink); border-color: var(--alauc-line); }
.alauc-btn--ghost:hover, .alauc-btn--ghost:focus-visible { color: var(--alauc-ink); border-color: var(--alauc-ink); opacity: 1; }
.alauc-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* section headings, toolbar, filters */
.alauc-h { text-align: left; margin: 0 0 20px; font-size: 22px; font-weight: 400; line-height: 1.2; }
.alauc-featured { display: block; width: 100%; text-align: left; margin: 0 0 44px; padding: 0 0 36px; border-bottom: 1px solid var(--alauc-line); }
.alauc-featured[hidden], .alauc-filters[hidden], .alauc-h[hidden] { display: none; }
.alauc-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.alauc-count { margin: 0; font-size: 15px; color: #55524c; }
.alauc-filterbtn {
	min-height: 44px; padding: 0 18px; border: 1px solid var(--alauc-line); border-radius: 0; background: #fff; color: var(--alauc-ink);
	font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}
.alauc-filterbtn:hover, .alauc-filterbtn:focus-visible, .alauc-filterbtn[aria-expanded="true"] { border-color: var(--alauc-ink); }
.alauc-filters { display: grid; grid-template-columns: 1fr; gap: 14px 18px; align-items: end; margin: 0 0 28px; padding: 18px; background: var(--alauc-soft); border: 1px solid var(--alauc-line); }
@media (min-width: 640px) { .alauc-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .alauc-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.alauc-f { display: block; margin: 0; }
.alauc-f > span { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #55524c; }
.alauc-f input, .alauc-f select { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid #b9b3a7; border-radius: 0; background: #fff; color: var(--alauc-ink); font: inherit; font-size: 16px; }
.alauc-fcheck { display: flex; align-items: center; gap: 10px; min-height: 46px; font-size: 15px; cursor: pointer; }
.alauc-fcheck input { width: 20px; height: 20px; margin: 0; accent-color: var(--alauc-accent); }
.alauc-clear { justify-self: start; min-height: 46px; font-size: 14px; }

/* lots — borderless, like the gallery's artwork list */
.alauc-grid { display: grid; width: 100%; grid-template-columns: 1fr; gap: 48px 40px; align-items: start; }
@media (min-width: 640px) { .alauc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .alauc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.alauc-grid__none { grid-column: 1 / -1; }

.alauc-lot { display: flex; flex-direction: column; min-width: 0; }
.alauc-lot__img { display: block; }
.alauc-lot__img img { width: 100%; height: auto; display: block; }
.alauc-lot__noimg { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--alauc-soft); color: #8a867e; font-size: 14px; }
.alauc-lot__body { padding: 16px 0 0; }
.alauc-lot__artist { margin: 0 0 2px; font-size: 22px; font-weight: 300; line-height: 1.25; }
.alauc-lot__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 2px; font-size: 16px; line-height: 1.4; }
.alauc-lot__title { color: inherit; text-decoration: none; }
.alauc-lot__title:hover { text-decoration: underline; }
.alauc-lot__no { flex: 0 0 auto; white-space: nowrap; }
.alauc-lot__small { margin: 0 0 2px; font-size: 13px; line-height: 1.45; color: #3a3d40; }
.alauc-lot__desc { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: #3a3d40; }
span.alauc-lot__img { cursor: default; }
.alauc-lot__note { margin: 6px 0 0; font-size: 14px; line-height: 1.4; font-style: italic; color: #55524c; }
.alauc-lot__dyn > .alauc-btn { width: 100%; }
.alauc-lot--big .alauc-lot__artist { font-size: 24px; }
.alauc-lot.is-target { outline: 2px solid var(--alauc-ink); outline-offset: 10px; }

.alauc-bid { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; margin: 14px 0 12px; padding-top: 12px; border-top: 1px solid var(--alauc-line); }
.alauc-bid__k { font-size: 14px; color: #55524c; }
.alauc-bid__v { font-size: 22px; font-weight: 400; text-align: right; white-space: nowrap; }
.alauc-bid__n { grid-column: 1 / -1; font-size: 13px; color: #6b6862; }
.alauc-leading { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--alauc-good); }
.alauc-outbid { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--alauc-bad); }

/* live auction (v3.92.0) */
.alauc-now { margin: 0 0 40px; padding: 22px; border: 2px solid var(--alauc-ink); background: #fff; }
.alauc-now[hidden] { display: none; }
.alauc-now__k { display: inline-block; margin: 0 0 14px; padding: 5px 12px; background: var(--alauc-ink); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.alauc-now__k--open { background: #c62828; }
.alauc-now__k--sold { background: var(--alauc-good); }
.alauc-now__wait { margin: 0; font-size: 17px; }
.alauc-now__in { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; }
@media (min-width: 640px) { .alauc-now__in { grid-template-columns: minmax(0, 320px) 1fr; gap: 28px; } }
.alauc-now__img { display: block; width: 100%; max-height: 360px; object-fit: contain; }
.alauc-now__body p { margin: 0; }
.alauc-now__lot { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #6b6862; }
.alauc-now__artist { font-size: 26px; font-weight: 300; line-height: 1.2; }
.alauc-now__title { font-size: 18px; margin-bottom: 14px !important; }
.alauc-now__bid { font-size: clamp(44px, 9vw, 72px); font-weight: 600; line-height: 1.05; white-space: nowrap; }
.alauc-now__note { margin-top: 6px !important; font-size: 15px; color: #55524c; }
.alauc-bid--now .alauc-bid__k { color: #c62828; font-weight: 600; }
.alauc-bid--sold .alauc-bid__k { color: var(--alauc-good); font-weight: 600; }
.alauc-bid__n--right { grid-column: auto; text-align: right; font-size: 16px; }
.alauc-lot.is-onblock { outline: 2px solid #c62828; outline-offset: 10px; }

/* conditions */
.alauc-terms { margin: 32px 0 0; border-top: 1px solid var(--alauc-line); padding-top: 16px; font-size: 15px; line-height: 1.55; }
.alauc-terms summary { cursor: pointer; font-weight: 600; }
.alauc-terms--in { margin: 12px 0 0; padding-top: 12px; font-size: 14px; }
.alauc-terms--in > div { max-height: 220px; overflow: auto; }

/* modal: a bottom sheet on phones, a centred card on larger screens */
html.alauc-lock { overflow: hidden; }
.alauc-overlay { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; background: rgba(20, 20, 18, .55); }
.alauc-modal { position: relative; width: 100%; max-width: 520px; max-height: 92vh; max-height: 92dvh; overflow: auto; background: #fff; color: var(--alauc-ink); border-radius: 16px 16px 0 0; padding: 26px 20px calc(22px + env(safe-area-inset-bottom, 0px)); font-size: 16px; line-height: 1.5; }
@media (min-width: 640px) {
	.alauc-overlay { align-items: center; padding: 24px; }
	.alauc-modal { border-radius: 14px; padding: 30px 30px 26px; }
}
.alauc-modal h3 { margin: 0 34px 12px 0; font-size: 24px; line-height: 1.2; }
.alauc-modal p { margin: 0 0 12px; }
.alauc-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; color: #55524c; cursor: pointer; }
.alauc-fine { font-size: 14px; color: #6b6862; }
.alauc-confirm { font-size: 20px; }

.alauc-sum { display: flex; gap: 14px; align-items: center; margin: 0 0 16px; padding: 12px; background: var(--alauc-soft); border-radius: 8px; }
.alauc-sum img { width: 72px; height: 72px; object-fit: contain; flex: 0 0 72px; background: #fff; border-radius: 4px; }
.alauc-sum p { margin: 0; }
.alauc-sum__t { font-weight: 600; line-height: 1.3; }
.alauc-sum__a, .alauc-sum__b { font-size: 14px; color: #55524c; }

.alauc-field { display: block; margin: 0 0 14px; }
.alauc-field > span { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.alauc-field input { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #b9b3a7; border-radius: 6px; background: #fff; color: var(--alauc-ink); font: inherit; font-size: 18px; }
.alauc-field textarea { width: 100%; min-height: 84px; padding: 10px 14px; border: 1px solid #b9b3a7; border-radius: 6px; background: #fff; color: var(--alauc-ink); font: inherit; font-size: 17px; line-height: 1.4; resize: vertical; }
.alauc-field > span em { font-style: normal; font-weight: 400; color: #6b675f; }
.alauc-field textarea:focus { outline: 2px solid var(--alauc-accent); outline-offset: 1px; }
.alauc-field input:focus { outline: 2px solid var(--alauc-accent); outline-offset: 1px; }
.alauc-check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 14px; font-size: 15px; line-height: 1.45; cursor: pointer; }
.alauc-check input { flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--alauc-accent); }
.alauc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.alauc-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.alauc-chip { min-height: 44px; padding: 0 14px; border: 1px solid var(--alauc-line); border-radius: 22px; background: #fff; color: var(--alauc-ink); font: inherit; font-size: 15px; cursor: pointer; }
.alauc-chip:hover, .alauc-chip:focus-visible { border-color: var(--alauc-ink); }
.alauc-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.alauc-actions .alauc-btn { width: 100%; }
@media (min-width: 640px) {
	.alauc-actions { flex-direction: row; }
	.alauc-actions .alauc-btn { width: auto; flex: 1; }
}

/* on-auction notice — replaces the price on artwork pages and product cards */
.alauc-notice { display: block; margin: 0; padding: 16px 18px; border: 1px solid var(--alauc-line); border-radius: 8px; background: var(--alauc-soft); color: var(--alauc-ink); font-size: 16px; font-weight: 400; line-height: 1.45; text-align: left; white-space: normal; }
.alauc-notice__tag { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #6b6862; }
.alauc-notice__bid { display: block; margin: 4px 0 8px; font-size: 24px; font-weight: 700; }
.alauc-notice__when { display: block; margin: 0 0 14px; font-size: 15px; }
.alauc-notice__btn { width: 100%; }
@media (min-width: 640px) { .alauc-notice__btn { width: auto; } }
.alauc-tag-inline { font-size: .95em; }
.alauc-tag-inline__k { font-size: .82em; letter-spacing: .06em; text-transform: uppercase; color: #6b6862; }
.alauc-tag-inline__v { display: block; font-weight: 600; }

/* v3.95.0 — what a winning bid costs */
.alauc-costline { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: #4a4843; }
.alauc-cost { width: 100%; margin: 0 0 16px; border-collapse: collapse; font-size: 15px; }
.alauc-cost td { padding: 7px 0; border-bottom: 1px solid var(--alauc-line); }
.alauc-cost td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.alauc-cost__t td { border-bottom: 0; font-weight: 700; font-size: 17px; }
