/* Chance2Win Silent Auction: public site styles (from the approved designs, auction/new-design/ui.css).
   Colors come from the same --c2w-* skin variables as the V7 raffle sites. Defaults are
   chance2win.org; a skin palette overrides the variables only. */
:root {
	--c2w-primary: #0A1A4D;
	--c2w-secondary: #1D4ED8;
	--c2w-accent: #C53A2B;
	--c2w-on-accent: #FFFFFF;
	--c2w-on-secondary: #FFFFFF;
	--c2w-bg: #FAF9F7;
	--c2w-light: #FFFFFF;
	--c2w-text: #1F2533;
	--c2w-muted: #5B6478;
	--c2w-faint: #8A91A5;
	--c2w-border: #ECEDF5;
	--c2w-border-strong: #DADDEA;
	--c2w-tint: #EAF1FE;
	--c2w-sunk: #F6F7FB;
	--c2w-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--c2w-font-head: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--c2w-btn-radius: 50px;

	--ok: #1E7A45; --ok-bg: #E6F4EC;
	--warn: #8A5A00; --warn-bg: #FDF3DC;
	--bad: #B3261E; --bad-bg: #FCEBEA;

	--r-lg: 16px; --r: 12px; --r-sm: 8px;
	--sh-1: 0 1px 2px rgba(10, 26, 77, .05), 0 1px 3px rgba(10, 26, 77, .04);
	--sh-2: 0 4px 12px rgba(10, 26, 77, .06), 0 1px 3px rgba(10, 26, 77, .05);
	--sh-3: 0 12px 32px rgba(10, 26, 77, .10), 0 2px 6px rgba(10, 26, 77, .05);
	color-scheme: light;
}
:root[data-skin="pro"] { --c2w-primary: #0B1E2F; --c2w-secondary: #0094B3; --c2w-accent: #00D4FF; --c2w-on-accent: #0B1E2F; --c2w-bg: #F0F6FC; --c2w-text: #111827; --c2w-muted: #64748B; --c2w-border: #E2E8F0; --c2w-border-strong: #CBD5E1; --c2w-tint: #E0F7FC; --c2w-sunk: #F5F9FC; --c2w-font-head: "Outfit", system-ui, sans-serif; --c2w-font: "DM Sans", system-ui, sans-serif; --c2w-btn-radius: 8px; }
:root[data-skin="basket"] { --c2w-primary: #5B2C6F; --c2w-secondary: #800080; --c2w-accent: #800080; --c2w-bg: #FAF9F7; --c2w-text: #2E2733; --c2w-muted: #6B6574; --c2w-border: #EFE8F1; --c2w-border-strong: #DCCFE3; --c2w-tint: #F6ECF6; --c2w-sunk: #FBF7FB; --c2w-font-head: "Bricolage Grotesque", system-ui, sans-serif; --c2w-font: "Instrument Sans", system-ui, sans-serif; --c2w-btn-radius: 100px; }
:root[data-skin="queen"] { --c2w-primary: #2D2438; --c2w-secondary: #6A5ACD; --c2w-accent: #6A5ACD; --c2w-bg: #FAF7F2; --c2w-text: #2D2438; --c2w-muted: #6B6574; --c2w-border: #EEE7F3; --c2w-border-strong: #D9CCE8; --c2w-tint: #EFECFB; --c2w-sunk: #FBFAFE; --c2w-btn-radius: 10px; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--c2w-bg); color: var(--c2w-text); font-family: var(--c2w-font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--c2w-secondary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--c2w-primary); margin: 0; font-family: var(--c2w-font-head); text-wrap: balance; letter-spacing: -.015em; line-height: 1.2; }
h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 600; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--c2w-muted); }
.faint { color: var(--c2w-faint); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c2w-muted); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--c2w-secondary) 45%, transparent); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.ico { width: 18px; height: 18px; flex: none; }
.ico.s { width: 16px; height: 16px; }
.ico.l { width: 22px; height: 22px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.stack { display: grid; gap: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.card { background: var(--c2w-light); border: 1px solid var(--c2w-border); border-radius: var(--r-lg); box-shadow: var(--sh-1); min-width: 0; }
.card-b { padding: 22px; }
.card-h { padding: 18px 22px; border-bottom: 1px solid var(--c2w-border); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-h h2, .card-h h3 { font-size: 16px; font-weight: 600; }
.divide > * + * { border-top: 1px solid var(--c2w-border); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--c2w-btn-radius); padding: 10px 20px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; line-height: 1.2; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s; text-decoration: none !important; }
.btn-primary { background: var(--c2w-accent); color: var(--c2w-on-accent); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.btn-primary:hover { background: color-mix(in srgb, var(--c2w-accent) 88%, #000); }
.btn-secondary { background: var(--c2w-secondary); color: var(--c2w-on-secondary); }
.btn-secondary:hover { background: color-mix(in srgb, var(--c2w-secondary) 88%, #000); }
.btn-outline { background: var(--c2w-light); color: var(--c2w-primary); border-color: var(--c2w-border-strong); }
.btn-outline:hover { border-color: var(--c2w-faint); background: var(--c2w-sunk); }
.btn-quiet { background: transparent; color: var(--c2w-secondary); padding-inline: 8px; }
.btn-lg { font-size: 16px; padding: 14px 24px; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--c2w-border-strong); background: var(--c2w-light); color: var(--c2w-primary); cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--c2w-sunk); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; white-space: nowrap; background: var(--c2w-sunk); color: var(--c2w-muted); border: 1px solid var(--c2w-border); }
.badge.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.badge.bad { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.badge.warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.badge.info { background: var(--c2w-tint); color: var(--c2w-secondary); border-color: transparent; }
.badge.solid { background: var(--c2w-primary); color: #fff; border-color: transparent; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22A35A; box-shadow: 0 0 0 3px rgba(34,163,90,.2); display: inline-block; }

/* Forms */
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > span:first-child { font-size: 13px; font-weight: 600; color: var(--c2w-text); }
.input, .field input, .field select, .field textarea { font: inherit; font-size: 15px; color: var(--c2w-text); background: var(--c2w-light); border: 1px solid var(--c2w-border-strong); border-radius: var(--r-sm); padding: 10px 12px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c2w-secondary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c2w-secondary) 18%, transparent); }
.field small { color: var(--c2w-faint); font-size: 12px; }
.affix { position: relative; }
.affix > b { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--c2w-faint); font-weight: 500; }
.affix input { padding-left: 26px; }
.g2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.g3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--c2w-border-strong); border-radius: var(--r); cursor: pointer; background: var(--c2w-light); }
.opt.on { border-color: var(--c2w-secondary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c2w-secondary) 14%, transparent); }
.opt input { margin-top: 3px; accent-color: var(--c2w-secondary); width: 16px; height: 16px; }
.opt strong { color: var(--c2w-primary); font-weight: 600; display: block; }
.setting { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; }
.setting + .setting { border-top: 1px solid var(--c2w-border); }
.setting strong { display: block; color: var(--c2w-primary); font-weight: 600; font-size: 14px; }
.switch { width: 40px; height: 22px; border-radius: 11px; background: var(--c2w-border-strong); position: relative; flex: none; border: 0; padding: 0; cursor: pointer; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: left .15s; }
.switch[aria-checked="true"] { background: var(--c2w-secondary); }
.switch[aria-checked="true"]::after { left: 20px; }
.select-sm { font: inherit; font-size: 14px; padding: 8px 32px 8px 12px; border: 1px solid var(--c2w-border-strong); border-radius: var(--r-sm); background: var(--c2w-light); color: var(--c2w-text); }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; color: var(--c2w-muted); font-weight: 600; padding: 11px 16px; background: var(--c2w-sunk); border-bottom: 1px solid var(--c2w-border); white-space: nowrap; }
td { padding: 13px 16px; border-bottom: 1px solid var(--c2w-border); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: color-mix(in srgb, var(--c2w-sunk) 60%, transparent); }
td.r, th.r { text-align: right; }
td strong { color: var(--c2w-primary); font-weight: 600; }
.cell-item { display: flex; gap: 12px; align-items: center; min-width: 240px; }
.cell-item img, .thumb { width: 52px; height: 40px; object-fit: cover; border-radius: 6px; background: var(--c2w-sunk); flex: none; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--c2w-tint); color: var(--c2w-secondary); font-weight: 700; font-size: 13px; display: inline-grid; place-items: center; flex: none; }

/* Photos */
.ph { background: #E9EBF2 center/cover no-repeat; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ===================== BIDDER SITE ===================== */
.topstrip { background: var(--c2w-primary); color: rgba(255,255,255,.88); font-size: 13px; }
.topstrip .wrap { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding-block: 8px; flex-wrap: wrap; }
.topstrip strong, .topstrip a { color: #fff; }
.topstrip a { font-weight: 600; }
.site-head { background: var(--c2w-light); border-bottom: 1px solid var(--c2w-border); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.org { display: flex; align-items: center; gap: 12px; color: var(--c2w-primary); text-decoration: none !important; flex: none; }
.org-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--c2w-primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.org-name { font-weight: 700; line-height: 1.2; font-size: 15px; }
.org-name small { display: block; font-weight: 500; color: var(--c2w-muted); font-size: 12px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { color: var(--c2w-primary); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.site-nav a:hover { background: var(--c2w-sunk); }
.site-nav a.on { color: var(--c2w-secondary); background: var(--c2w-tint); }
.head-search { flex: 1; max-width: 360px; position: relative; margin-left: auto; }
.head-search input { width: 100%; font: inherit; font-size: 14px; padding: 9px 12px 9px 38px; border: 1px solid var(--c2w-border-strong); border-radius: 99px; background: var(--c2w-sunk); color: var(--c2w-text); }
.head-search .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--c2w-faint); }
.head-user { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.head-user .who { line-height: 1.2; font-size: 13px; }
.head-user .who b { display: block; color: var(--c2w-primary); font-size: 14px; }
.bubble { position: relative; }
.bubble i { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--c2w-accent); color: var(--c2w-on-accent); font-size: 11px; font-weight: 700; font-style: normal; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--c2w-light); }

.hero { position: relative; color: #fff; background: var(--c2w-primary); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 16, 40, .86) 0%, rgba(8, 16, 40, .66) 45%, rgba(8, 16, 40, .25) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: 56px 48px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 50px); }
.hero .lead { color: rgba(255,255,255,.86); font-size: 17px; max-width: 54ch; margin-top: 14px; }
/* The description is typed in the editor: its headings must stay readable on the dark hero, and
   the editor's inline "centered" setting must not fight the left-aligned layout. */
.hero .lead :is(h1, h2, h3, h4, h5, h6) { color: #fff; font-family: var(--c2w-font); font-size: 19px; font-weight: 600; letter-spacing: 0; line-height: 1.4; margin-bottom: 8px; }
.hero .lead > * { text-align: inherit !important; }
.hero .meta { display: flex; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 16px; }
.hero .meta span { display: inline-flex; gap: 6px; align-items: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn-onDark { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-onDark:hover { background: rgba(255,255,255,.2); }
.countdown { background: rgba(255,255,255,.96); color: var(--c2w-text); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-3); }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.cd-grid div { background: var(--c2w-sunk); border: 1px solid var(--c2w-border); border-radius: 10px; padding: 10px 4px; text-align: center; }
.cd-grid b { display: block; font-size: 28px; font-weight: 700; color: var(--c2w-primary); font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd-grid span { font-size: 11px; color: var(--c2w-muted); text-transform: uppercase; letter-spacing: .06em; }
.progress { height: 8px; border-radius: 99px; background: var(--c2w-border); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--c2w-secondary); border-radius: 99px; }

.stats { background: var(--c2w-light); border-bottom: 1px solid var(--c2w-border); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 20px 8px; display: flex; gap: 14px; align-items: center; }
.stat + .stat { border-left: 1px solid var(--c2w-border); padding-left: 24px; }
.stat .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--c2w-tint); color: var(--c2w-secondary); display: grid; place-items: center; flex: none; }
.stat b { display: block; font-size: 22px; color: var(--c2w-primary); font-variant-numeric: tabular-nums; line-height: 1.2; }
.stat span { font-size: 13px; color: var(--c2w-muted); }

.shop-bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.cat { border: 1px solid var(--c2w-border-strong); background: var(--c2w-light); color: var(--c2w-text); border-radius: 99px; padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.cat span { color: var(--c2w-faint); margin-left: 4px; }
.cat.on { background: var(--c2w-primary); border-color: var(--c2w-primary); color: #fff; }
.cat.on span { color: rgba(255,255,255,.7); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.p-card { background: var(--c2w-light); border: 1px solid var(--c2w-border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none !important; box-shadow: var(--sh-1); transition: box-shadow .2s, transform .2s; }
.p-card:hover { box-shadow: var(--sh-3); transform: translateY(-2px); }
.p-media { position: relative; }
.p-media .ph { aspect-ratio: 4 / 3; }
.p-flag { position: absolute; top: 12px; left: 12px; }
.p-heart { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; color: var(--c2w-primary); box-shadow: var(--sh-1); }
.p-heart.on { color: var(--c2w-accent); }
.p-time { position: absolute; bottom: 12px; left: 12px; background: rgba(10, 18, 40, .78); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; display: inline-flex; gap: 6px; align-items: center; }
.p-body { padding: 16px 18px 18px; display: grid; gap: 4px; flex: 1; }
.p-no { font-size: 12px; color: var(--c2w-faint); font-weight: 500; }
.p-title { font-size: 16px; font-weight: 600; color: var(--c2w-primary); line-height: 1.3; }
.p-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: auto; padding-top: 14px; }
.p-bid b { display: block; font-size: 22px; color: var(--c2w-primary); font-variant-numeric: tabular-nums; line-height: 1.15; }
.p-bid span, .p-val { font-size: 12px; color: var(--c2w-muted); }
.p-val { text-align: right; }
.p-cta { margin: 0 18px 18px; }

.sponsors { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.sponsor { height: 76px; border: 1px solid var(--c2w-border); border-radius: var(--r); background: var(--c2w-light); display: grid; place-items: center; font-weight: 700; color: var(--c2w-muted); font-size: 15px; letter-spacing: -.01em; }
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.how > div { background: var(--c2w-light); border: 1px solid var(--c2w-border); border-radius: var(--r-lg); padding: 20px; }
.how .n { width: 32px; height: 32px; border-radius: 50%; background: var(--c2w-tint); color: var(--c2w-secondary); font-weight: 700; display: grid; place-items: center; margin-bottom: 12px; }
.how h3 { margin-bottom: 4px; }

.site-foot { background: var(--c2w-light); border-top: 1px solid var(--c2w-border); margin-top: 56px; }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 36px 24px; }
.site-foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--c2w-muted); margin-bottom: 10px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.site-foot ul a { color: var(--c2w-text); }
.legal { border-top: 1px solid var(--c2w-border); }
.legal .wrap { display: flex; justify-content: space-between; gap: 12px; padding-block: 16px; font-size: 13px; color: var(--c2w-muted); flex-wrap: wrap; }

.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--c2w-muted); padding-block: 18px; flex-wrap: wrap; }
.crumbs a { color: var(--c2w-muted); }
.pd { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.gallery { display: grid; gap: 12px; }
.gallery .main { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c2w-border); position: relative; }
.gallery .main .ph { aspect-ratio: 4 / 3; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery .thumbs img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; }
.gallery .thumbs img.on { border-color: var(--c2w-secondary); }
.pd-info { display: grid; gap: 18px; position: sticky; top: 96px; }
.pd-title h1 { font-size: clamp(26px, 3vw, 32px); margin-top: 6px; }
.facts { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--c2w-muted); }
.facts span { display: inline-flex; gap: 6px; align-items: center; }
.facts b { color: var(--c2w-primary); font-weight: 600; }
.bidbox { padding: 22px; display: grid; gap: 16px; }
.bb-time { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--c2w-sunk); border-radius: var(--r); font-size: 14px; }
.bb-time b { color: var(--c2w-primary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bb-cur { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.bb-cur .amt { font-size: 40px; font-weight: 800; color: var(--c2w-primary); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.notice { display: flex; gap: 10px; align-items: flex-start; border-radius: var(--r); padding: 12px 14px; font-size: 14px; }
.notice.bad { background: var(--bad-bg); color: var(--bad); }
.notice.ok { background: var(--ok-bg); color: var(--ok); }
.notice.warn { background: var(--warn-bg); color: var(--warn); }
.notice.info { background: var(--c2w-tint); color: var(--c2w-primary); }
.notice strong { font-weight: 600; }
.stepper { display: grid; grid-template-columns: 48px 1fr 48px; border: 1px solid var(--c2w-border-strong); border-radius: var(--r); overflow: hidden; background: var(--c2w-light); }
.stepper button { border: 0; background: var(--c2w-sunk); color: var(--c2w-primary); font-size: 20px; font-weight: 500; cursor: pointer; }
.stepper input { border: 0; border-inline: 1px solid var(--c2w-border); text-align: center; font: inherit; font-size: 22px; font-weight: 700; color: var(--c2w-primary); padding: 10px; min-width: 0; font-variant-numeric: tabular-nums; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quick button { border: 1px solid var(--c2w-border-strong); background: var(--c2w-light); color: var(--c2w-primary); border-radius: var(--r-sm); padding: 10px 6px; font: inherit; font-weight: 600; cursor: pointer; }
.quick button.on { border-color: var(--c2w-secondary); color: var(--c2w-secondary); background: var(--c2w-tint); }
.assure { display: grid; gap: 8px; font-size: 13px; color: var(--c2w-muted); }
.assure span { display: flex; gap: 8px; align-items: center; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--c2w-border); overflow-x: auto; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 16px; font: inherit; font-weight: 600; color: var(--c2w-muted); cursor: pointer; white-space: nowrap; }
.tabs button.on { color: var(--c2w-primary); border-bottom-color: var(--c2w-accent); }
.tabs button span { color: var(--c2w-faint); font-weight: 500; margin-left: 4px; }
.bidlog { list-style: none; margin: 0; padding: 0; }
.bidlog li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; }
.bidlog li + li { border-top: 1px solid var(--c2w-border); }
.bidlog b { color: var(--c2w-primary); font-variant-numeric: tabular-nums; }
.bidlog .top b { color: var(--ok); }

/* Account area */
.acct { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; padding-block: 28px; }
.acct-nav { position: sticky; top: 96px; }
.acct-id { padding: 20px; display: flex; gap: 12px; align-items: center; }
.acct-id .avatar { width: 46px; height: 46px; font-size: 16px; }
.acct-id b { display: block; color: var(--c2w-primary); }
.acct-links { display: grid; padding: 8px; border-top: 1px solid var(--c2w-border); }
.acct-links a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--c2w-text); font-weight: 500; font-size: 14px; text-decoration: none; }
.acct-links a:hover { background: var(--c2w-sunk); }
.acct-links a.on { background: var(--c2w-tint); color: var(--c2w-secondary); font-weight: 600; }
.acct-links a .ct { margin-left: auto; font-size: 12px; color: var(--c2w-muted); }
.pagetitle { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.pagetitle h1 { font-size: 28px; }
.pagetitle p { color: var(--c2w-muted); margin-top: 4px; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.mini { background: var(--c2w-light); border: 1px solid var(--c2w-border); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--sh-1); }
.mini span { font-size: 13px; color: var(--c2w-muted); }
.mini b { display: block; font-size: 24px; color: var(--c2w-primary); font-variant-numeric: tabular-nums; margin-top: 2px; }
.bidrow { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 22px; }
.bidrow img { width: 110px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.bidrow h3 { margin: 4px 0 6px; }
.bidrow .nums { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--c2w-muted); }
.bidrow .nums b { display: block; font-size: 16px; color: var(--c2w-primary); font-variant-numeric: tabular-nums; }
.bidrow .act { display: grid; gap: 8px; justify-items: end; text-align: right; }

.order { overflow: hidden; }
.order-h { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 22px; background: var(--c2w-sunk); border-bottom: 1px solid var(--c2w-border); font-size: 13px; color: var(--c2w-muted); }
.order-h b { display: block; color: var(--c2w-primary); font-size: 14px; }
.order-line { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 22px; }
.order-line img { width: 80px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.order-f { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; padding: 14px 22px; border-top: 1px solid var(--c2w-border); }

.co { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; padding-block: 28px; }
.co-steps { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--c2w-muted); margin-bottom: 20px; flex-wrap: wrap; }
.co-steps b { color: var(--c2w-primary); }
.co-steps .ico { color: var(--c2w-faint); }
.summary .line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; }
.summary .total { border-top: 1px solid var(--c2w-border); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 700; color: var(--c2w-primary); }
.card-brand { width: 40px; height: 26px; border-radius: 5px; background: #1A1F71; color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; font-style: italic; flex: none; }
.card-brand.mc { background: #252525; font-style: normal; }

.auth { min-height: calc(100vh - 160px); display: grid; place-items: center; padding: 48px 16px; }
.auth-card { width: 100%; max-width: 440px; padding: 34px; }
.auth-card h1 { font-size: 26px; text-align: center; }
.auth-card .sub { text-align: center; color: var(--c2w-muted); margin-top: 6px; }
.codes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.codes input { text-align: center; font: inherit; font-size: 24px; font-weight: 700; color: var(--c2w-primary); padding: 12px 0; border: 1px solid var(--c2w-border-strong); border-radius: var(--r-sm); width: 100%; min-width: 0; }
.codes input:focus { outline: none; border-color: var(--c2w-secondary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c2w-secondary) 18%, transparent); }
.or { display: flex; align-items: center; gap: 12px; color: var(--c2w-faint); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--c2w-border); }
.auth-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1080px; width: 100%; }

.receipt { max-width: 760px; margin: 32px auto; padding: 40px; }
.receipt-h { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--c2w-border); }

/* ===================== ADMIN ===================== */
.adm { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; background: var(--c2w-sunk); }
.adm-side { background: var(--c2w-light); border-right: 1px solid var(--c2w-border); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.adm-brand { display: flex; gap: 10px; align-items: center; padding: 18px 18px 14px; color: var(--c2w-primary); font-weight: 700; }
.adm-brand .org-mark { width: 36px; height: 36px; font-size: 11px; }
.adm-brand small { display: block; font-weight: 500; color: var(--c2w-muted); font-size: 12px; }
.adm-event { margin: 4px 14px 10px; padding: 10px 12px; border: 1px solid var(--c2w-border); border-radius: var(--r); background: var(--c2w-sunk); font-size: 13px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.adm-event b { display: block; color: var(--c2w-primary); font-size: 13px; }
.adm-nav { padding: 6px 10px; display: grid; gap: 2px; overflow-y: auto; }
.adm-nav .grp { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c2w-faint); padding: 14px 10px 6px; }
.adm-nav a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; color: var(--c2w-text); font-size: 14px; font-weight: 500; text-decoration: none; }
.adm-nav a .ico { color: var(--c2w-faint); }
.adm-nav a:hover { background: var(--c2w-sunk); }
.adm-nav a.on { background: var(--c2w-tint); color: var(--c2w-secondary); font-weight: 600; }
.adm-nav a.on .ico { color: var(--c2w-secondary); }
.adm-nav a .ct { margin-left: auto; font-size: 11px; font-weight: 700; background: var(--c2w-accent); color: var(--c2w-on-accent); border-radius: 99px; padding: 1px 7px; }
.adm-side-foot { margin-top: auto; padding: 14px; border-top: 1px solid var(--c2w-border); font-size: 12px; color: var(--c2w-faint); display: flex; align-items: center; gap: 8px; }
.adm-main { min-width: 0; display: flex; flex-direction: column; }
.adm-top { background: var(--c2w-light); border-bottom: 1px solid var(--c2w-border); padding-block: 12px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); display: flex; align-items: center; gap: 16px; position: sticky; top: 0; z-index: 10; }
.adm-top .head-search { margin-left: 0; max-width: 420px; }
.adm-top .right { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.adm-body { padding-block: 28px 48px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); display: grid; gap: 22px; max-width: 1320px; width: 100%; }
.adm-body > * { min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { background: var(--c2w-light); border: 1px solid var(--c2w-border); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--sh-1); display: grid; gap: 4px; }
.kpi-top { display: flex; justify-content: space-between; align-items: center; color: var(--c2w-muted); font-size: 13px; font-weight: 500; }
.kpi-top .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--c2w-tint); color: var(--c2w-secondary); display: grid; place-items: center; }
.kpi b { font-size: 28px; color: var(--c2w-primary); font-variant-numeric: tabular-nums; line-height: 1.2; letter-spacing: -.02em; }
.delta { font-size: 12px; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.delta.up { color: var(--ok); }
.delta.down { color: var(--bad); }
.split { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.split > * { min-width: 0; }
.chart text { fill: var(--c2w-faint); font-size: 11px; font-family: var(--c2w-font); }
.chart .g { stroke: var(--c2w-border); }
.chart .area { fill: var(--c2w-secondary); opacity: .08; }
.chart .ln { fill: none; stroke: var(--c2w-secondary); stroke-width: 2.25; }
.chart .ln2 { fill: none; stroke: var(--c2w-faint); stroke-width: 1.5; stroke-dasharray: 4 4; }
.chart .end { fill: var(--c2w-secondary); }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--c2w-muted); }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; background: var(--c2w-secondary); vertical-align: middle; margin-right: 6px; }
.legend i.d { background: none; border-top: 2px dashed var(--c2w-faint); height: 0; }
.task { display: flex; gap: 12px; align-items: flex-start; padding: 14px 22px; }
.task .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.task .ic.warn { background: var(--warn-bg); color: var(--warn); }
.task .ic.info { background: var(--c2w-tint); color: var(--c2w-secondary); }
.task .ic.bad { background: var(--bad-bg); color: var(--bad); }
.task b { color: var(--c2w-primary); font-weight: 600; font-size: 14px; display: block; }
.feed li { display: flex; gap: 12px; align-items: center; padding: 11px 22px; }
.feed { list-style: none; margin: 0; padding: 6px 0; }
.feed b { color: var(--c2w-primary); font-variant-numeric: tabular-nums; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--c2w-border); }
.toolbar .head-search { margin-left: 0; max-width: 320px; }
.seg { display: inline-flex; border: 1px solid var(--c2w-border-strong); border-radius: var(--r-sm); overflow: hidden; }
.seg button, .seg a { border: 0; text-decoration: none !important; display: inline-block; background: var(--c2w-light); padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 500; color: var(--c2w-muted); cursor: pointer; white-space: nowrap; }
.seg button + button, .seg a + a { border-left: 1px solid var(--c2w-border-strong); }
.seg button.on, .seg a.on { background: var(--c2w-tint); color: var(--c2w-secondary); font-weight: 600; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; font-size: 13px; color: var(--c2w-muted); border-top: 1px solid var(--c2w-border); flex-wrap: wrap; }
.wizard { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; }
.wsteps { list-style: none; margin: 0; padding: 10px; display: grid; gap: 2px; }
.wsteps li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--c2w-muted); }
.wsteps li .n { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--c2w-border-strong); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; background: var(--c2w-light); }
.wsteps li.done { color: var(--c2w-text); }
.wsteps li.done .n { background: var(--ok); border-color: var(--ok); color: #fff; }
.wsteps li.on { background: var(--c2w-tint); color: var(--c2w-primary); font-weight: 600; }
.wsteps li.on .n { border-color: var(--c2w-secondary); color: var(--c2w-secondary); }
.form-sec { padding: 22px; display: grid; gap: 16px; }
.form-sec + .form-sec { border-top: 1px solid var(--c2w-border); }
.form-sec h3 { font-size: 15px; }
.form-sec > p { color: var(--c2w-muted); font-size: 14px; margin-top: -10px; }
.form-foot { padding: 16px 22px; border-top: 1px solid var(--c2w-border); display: flex; justify-content: space-between; gap: 12px; background: var(--c2w-sunk); border-radius: 0 0 var(--r-lg) var(--r-lg); flex-wrap: wrap; }
.uploader { border: 1.5px dashed var(--c2w-border-strong); border-radius: var(--r); padding: 26px; text-align: center; background: var(--c2w-sunk); display: grid; gap: 6px; justify-items: center; color: var(--c2w-muted); font-size: 14px; }
.uploader .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--c2w-light); border: 1px solid var(--c2w-border); display: grid; place-items: center; color: var(--c2w-secondary); }
.photo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.photo-row img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.photo-row .cover { position: relative; }
.photo-row .cover span { position: absolute; left: 8px; bottom: 8px; }
.proc { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 22px; }
.proc-logo { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; }
.mail { max-width: 600px; }
.mail-h { padding: 14px 20px; border-bottom: 1px solid var(--c2w-border); font-size: 13px; color: var(--c2w-muted); display: grid; gap: 2px; }
.mail-h b { color: var(--c2w-primary); }
.mail-body { padding: 28px; background: var(--c2w-sunk); }
.mail-inner { background: #fff; border: 1px solid var(--c2w-border); border-radius: var(--r); padding: 28px; display: grid; gap: 14px; }
.list-emails { padding: 6px; }
.list-emails a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; color: var(--c2w-text); text-decoration: none; }
.list-emails a.on { background: var(--c2w-tint); }
.list-emails a b { display: block; color: var(--c2w-primary); font-size: 14px; font-weight: 600; }

@media (max-width: 1080px) {
	.kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.split, .wizard { grid-template-columns: minmax(0, 1fr); }
	.how { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.hero .wrap, .pd, .co, .acct { grid-template-columns: minmax(0, 1fr); }
	.pd-info, .acct-nav { position: static; }
	.head-user .who { display: none; }
	.site-head .wrap { flex-wrap: wrap; row-gap: 8px; }
	.site-nav { order: 10; flex: 1 0 100%; overflow-x: auto; scrollbar-width: none; margin-inline: -8px; }
	.site-nav a { white-space: nowrap; padding: 6px 10px; }
	.stats .wrap { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-left: 0; padding-left: 8px; }
	.adm { grid-template-columns: minmax(0, 1fr); }
	.adm-side { position: static; height: auto; flex-direction: row; overflow-x: auto; }
	.adm-brand, .adm-event, .adm-nav .grp, .adm-side-foot { display: none; }
	.adm-nav { display: flex; padding: 8px; }
	.adm-nav a { white-space: nowrap; }
	.site-foot .wrap { grid-template-columns: 1fr; }
	.auth-steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.head-search { display: none; }
	.mini-kpis { grid-template-columns: 1fr; }
	.how { grid-template-columns: 1fr; }
	.bidrow { grid-template-columns: 80px minmax(0, 1fr); }
	.bidrow img { width: 80px; }
	.bidrow .act { grid-column: 1 / -1; justify-items: stretch; text-align: left; }
	.kpis { grid-template-columns: minmax(0, 1fr); }
	.receipt, .auth-card { padding: 22px; }
	.cd-grid b { font-size: 22px; }
	.adm-top .head-search { display: none; }
}

/* narrow-screen header fixes */
.org { flex: 0 1 auto; min-width: 0; }
.org-name { min-width: 0; }
.site-head .wrap { min-width: 0; }
@media (max-width: 600px) {
	.site-head .wrap { gap: 12px; }
	.org-name { font-size: 14px; }
	.org-name small { display: none; }
	.org-mark { width: 38px; height: 38px; font-size: 11px; }
	.head-user { gap: 6px; }
	.head-user .icon-btn { width: 36px; height: 36px; }
	.topstrip .wrap > span:last-child { display: none; }
}

.row > .cats { min-width: 0; max-width: 100%; }
.products .p-card .p-media .ph[src^="shots/"] { background: var(--c2w-sunk); }

.p-card .p-cta { width: auto; }

.stack > * { min-width: 0; }

/* ---- WordPress build: pieces the static designs set inline or did not need ---- */
.org-logo { height: 44px; width: auto; max-width: 160px; object-fit: contain; flex: none; }
.hero .lead p + p { margin-top: 8px; }
.cd-goal { margin-top: 16px; }
.cd-goal > .row { margin-bottom: 6px; }
.cd-goal b { color: var(--c2w-primary); }
.head-me { gap: 10px; text-decoration: none !important; }
.items-main { padding-block: 40px 8px; }
.items-head { margin-bottom: 18px; align-items: flex-end; }
.items-head h2, .how-section h2 { font-size: 26px; }
.items-head p { margin-top: 4px; }
.items-main .shop-bar { margin-bottom: 22px; }
.items-empty { padding: 24px 0; }
.how-section { padding-block: 48px 0; }
.how-section > h2 { margin-bottom: 18px; }
.how-section .sponsors-title { font-size: 22px; margin-bottom: 16px; }
.sponsor img { max-height: 52px; max-width: 80%; width: auto; object-fit: contain; }
.foot-org { gap: 10px; }
.foot-about { max-width: 42ch; }
.p-card[hidden] { display: none; }


/* Product page */
.pd-main { padding-bottom: 8px; }
.pd-left { gap: 28px; }
.pd-tabs { padding: 0 10px; }
.pd-desc { gap: 14px; }
.pd-text p + p { margin-top: 12px; }
.pd-facts { margin-top: 6px; }
.pd-facts p, .pd-terms strong, .bidlog-who { font-weight: 600; color: var(--c2w-primary); }
.pd-terms { gap: 10px; }
.facts { margin-top: 10px; }
.bb-time .row { gap: 8px; flex-wrap: nowrap; align-items: flex-start; }
.bb-time .row .ico { margin-top: 2px; }
@media (max-width: 600px) {
	.bb-time { flex-wrap: wrap; row-gap: 4px; }
}
.bb-cur .amt { margin-top: 6px; }
.bb-cur-meta { text-align: right; justify-items: end; }
.bb-form { gap: 10px; }
.bb-msg { font-size: 14px; font-weight: 600; }
.bb-msg.ok { color: var(--ok); }
.bb-msg.bad { color: var(--bad); }
.bb-hint { text-align: center; }
.btn[aria-pressed="true"] { color: var(--c2w-accent); border-color: var(--c2w-accent); }
.pd-more { padding-top: 48px; }
.pd-more > .row { margin-bottom: 18px; }
.pd-all { gap: 4px; font-weight: 600; }
/* WooCommerce notices (its own stylesheet is off on these pages) */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 18px; border-radius: var(--r); padding: 12px 14px; font-size: 14px; background: var(--c2w-tint); color: var(--c2w-primary); }
.woocommerce-message { background: var(--ok-bg); color: var(--ok); }
.woocommerce-error { background: var(--bad-bg); color: var(--bad); }
.woocommerce-message .button, .woocommerce-info .button { float: right; font-weight: 600; }

/* Sign-in */
.head-back { margin-left: auto; }
.auth-card { gap: 18px; }
.auth-badge { justify-self: center; }
.auth-names { grid-template-columns: 1fr 1fr; }
.auth-note { text-align: center; }
.auth-msg { font-size: 14px; font-weight: 600; color: var(--bad); text-align: center; }
.auth-msg a { color: inherit; text-decoration: underline; }
.auth-card .sub b { color: var(--c2w-primary); word-break: break-all; }
@media (max-width: 420px) {
	.auth-names { grid-template-columns: 1fr; }
	.codes { gap: 6px; }
	.codes input { font-size: 20px; padding: 10px 0; }
}

/* Account pages */
.bidrow-main { min-width: 0; }
.bidrow-tags { gap: 8px; }
.bidrow h3 a { color: inherit; }
.acct-tabs { padding: 0 12px; }
.acct-empty { text-align: center; padding-block: 48px; display: grid; justify-items: center; gap: 10px; }
.acct-empty .avatar { width: 52px; height: 52px; }
.mini b.is-bad { color: var(--bad); }
.orders-list { gap: 18px; }
.order-st { align-self: center; }
.order-amt { color: var(--c2w-primary); }
.acct-settings { gap: 18px; }
.form-msg.ok { color: var(--ok); }
.form-msg.bad { color: var(--bad); }
.saved-card strong { color: var(--c2w-primary); }
.alert-list { padding-block: 6px; }
@media (max-width: 900px) {
	.acct { grid-template-columns: minmax(0, 1fr); }
}

/* Receipt */
.receipt-main { padding-bottom: 32px; }
.receipt { gap: 24px; }
.receipt h1 { font-size: 28px; }
.receipt-sub { margin-top: 6px; }
.receipt-st { text-align: right; }
.receipt-st p { margin-top: 8px; }
.receipt-facts p { font-weight: 600; color: var(--c2w-primary); }
.receipt-table { box-shadow: none; }
.receipt-total td { border-top: 2px solid var(--c2w-border-strong); }
.receipt-extra { font-size: 14px; }
@media print {
	.topstrip, .site-head, .site-foot, .receipt-actions, #wpadminbar { display: none !important; }
	body { background: #fff; }
	.receipt { box-shadow: none; border: 0; margin: 0 auto; padding: 0; }
}

/* Checkout: WooCommerce's form inside the auction layout */
.co-page { padding-block: 28px 40px; }
.co-title { font-size: 28px; margin-bottom: 18px; }
.co-congrats { margin-bottom: 18px; }
.co-foot { margin-top: 18px; display: flex; gap: 6px; align-items: center; justify-content: center; }
.co-wc form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 18px 28px; align-items: start; }
.co-wc #customer_details { grid-column: 1; display: grid; gap: 18px; }
.co-wc form.checkout > .co-pickup { grid-column: 1; }
.co-wc #order_review_heading { display: none; }
.co-wc #order_review { grid-column: 2; grid-row: 1 / span 4; background: var(--c2w-light); border: 1px solid var(--c2w-border); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 22px; position: sticky; top: 96px; }
.co-wc .col2-set .col-1, .co-wc .col2-set .col-2 { background: var(--c2w-light); border: 1px solid var(--c2w-border); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 22px; }
.co-wc .col2-set .col-2:empty, .co-wc .woocommerce-additional-fields:empty { display: none; }
.co-wc h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.co-wc .form-row { display: grid; gap: 6px; margin: 0 0 12px; }
.co-wc .form-row label { font-size: 13px; font-weight: 600; color: var(--c2w-text); }
.co-wc .form-row .required { color: var(--bad); text-decoration: none; }
.co-wc .form-row input.input-text, .co-wc .form-row select, .co-wc .form-row textarea { font: inherit; font-size: 15px; color: var(--c2w-text); background: var(--c2w-light); border: 1px solid var(--c2w-border-strong); border-radius: var(--r-sm); padding: 10px 12px; width: 100%; }
.co-wc .form-row input.input-text:focus { outline: none; border-color: var(--c2w-secondary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c2w-secondary) 18%, transparent); }
.co-wc .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.co-wc .form-row-wide, .co-wc #billing_address_1_field, .co-wc #billing_address_2_field { grid-column: 1 / -1; }
.co-wc .woocommerce-invalid input.input-text { border-color: var(--bad); }
.co-wc table.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; }
.co-wc table.shop_table th, .co-wc table.shop_table td { padding: 8px 0; text-align: left; border-bottom: 1px solid var(--c2w-border); vertical-align: top; }
.co-wc table.shop_table td:last-child, .co-wc table.shop_table th:last-child { text-align: right; }
.co-wc table.shop_table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--c2w-muted); }
.co-wc .cart_item .product-name { font-weight: 600; color: var(--c2w-primary); }
.co-wc .c2wa-fmv th, .co-wc .c2wa-fmv td { color: var(--c2w-muted); font-weight: 400; }
.co-wc .order-total th, .co-wc .order-total td { font-size: 18px; font-weight: 700; color: var(--c2w-primary); border-bottom: 0; padding-top: 14px; }
.co-wc #payment { margin-top: 18px; }
.co-wc #payment ul.payment_methods { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.co-wc #payment li.wc_payment_method { border: 1px solid var(--c2w-border-strong); border-radius: var(--r); padding: 12px 14px; }
.co-wc #payment li.wc_payment_method > label { font-weight: 600; color: var(--c2w-primary); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.co-wc #payment li.wc_payment_method > label img { max-height: 22px; width: auto; display: inline; }
.co-wc #payment .payment_box { margin-top: 10px; font-size: 14px; color: var(--c2w-muted); }
.co-wc #payment .woocommerce-privacy-policy-text { font-size: 12px; color: var(--c2w-muted); margin: 12px 0; }
.co-wc #place_order { width: 100%; font: inherit; font-size: 16px; font-weight: 700; background: var(--c2w-accent); color: var(--c2w-on-accent); border: 0; border-radius: var(--c2w-btn-radius); padding: 14px 18px; cursor: pointer; margin-top: 8px; }
.co-wc #place_order:hover { filter: brightness(1.05); }
.co-wc .woocommerce-form-coupon-toggle, .co-wc .checkout_coupon { display: none; }
.co-wc .co-pickup .opt { cursor: pointer; }
@media (max-width: 900px) {
	.co-wc form.checkout { grid-template-columns: minmax(0, 1fr); }
	.co-wc #customer_details, .co-wc form.checkout > .co-pickup, .co-wc #order_review { grid-column: 1; grid-row: auto; }
	.co-wc #order_review { position: static; }
}
@media (max-width: 600px) {
	.co-wc .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
}

/* Auction admin (WordPress build) */
.adm-title { margin: 0; }
.adm-brand .org-logo { height: 36px; max-width: 120px; }
.adm-live { padding: 2px 8px; }
.adm-link { gap: 4px; font-weight: 600; }
.adm-push { margin-left: auto; }
.adm-edit { width: 32px; height: 32px; }
.adm-person { min-width: 200px; }
.adm-thumbs { gap: 6px; flex-wrap: nowrap; }
.adm-thumbs .thumb { width: 44px; height: 34px; object-fit: cover; border-radius: 6px; }
.adm-actions { justify-content: flex-end; gap: 6px; flex-wrap: nowrap; }
.adm-actions form { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.adm-aside { gap: 18px; position: sticky; top: 88px; }
.adm-facts { gap: 12px; }
.adm-facts strong { color: var(--c2w-primary); }
.adm-preview { overflow: hidden; display: block; text-decoration: none !important; color: inherit; }
.adm-preview .card-b { padding: 16px; }
.adm-preview-t { font-weight: 600; color: var(--c2w-primary); }
.kpi-note { gap: 8px; }
.feed-who { color: var(--c2w-primary); }
.cell-item:hover strong { color: var(--c2w-secondary); }
a.cell-item { text-decoration: none !important; color: inherit; }
.photo-row .photo { position: relative; }
.photo-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.photo-add { cursor: pointer; padding: 10px; aspect-ratio: 4 / 3; align-content: center; font: inherit; }
.step-h { font-size: 18px; margin-bottom: 4px; }
.wsteps li { padding: 0; }
.wsteps li a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; color: inherit; text-decoration: none !important; width: 100%; border-radius: 10px; }
.palettes .opt { align-items: center; }
.swatch { display: inline-flex; flex: none; }
.swatch i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--c2w-light); }
.swatch i + i { margin-left: -6px; }
.media-pick { display: grid; gap: 8px; }
.media-pick > span:first-child { font-size: 13px; font-weight: 600; }
.media-prev img { max-height: 90px; width: auto; border-radius: 8px; border: 1px solid var(--c2w-border); background: var(--c2w-sunk); }
.media-prev:empty { display: none; }
.table-row .input, .sponsor-row .input { max-width: 260px; }
.sponsor-row .media-prev img { max-height: 48px; cursor: pointer; }
.settings-switches { padding-block: 6px; }
.report-cards .report-card { gap: 10px; }
.report-card .ic { width: 40px; height: 40px; }
.mail-ic { border-radius: 10px; }
.list-emails a.is-locked { cursor: default; opacity: .75; }
.list-emails .switch { margin-left: auto; }
.import-drop { cursor: pointer; }
.import-drop input[type=file] { margin-top: 8px; }
.imp-name { color: var(--c2w-primary); }
.checklist .task { padding-inline: 0; }
.adm .notice { margin: 0; }
.c2wa-admin .chart { display: block; }
@media (max-width: 900px) {
	.adm-aside { position: static; }
	.adm-actions { flex-wrap: wrap; justify-content: flex-start; }
}


.staff-edit { margin: 0 0 12px; }
.adm-body td.nowrap { white-space: nowrap; }

/* Admin rows stack by the content area's own width, not the screen's: with the sidebar
   open, a 1280px screen leaves too little room for two columns of tables. */
.adm-body { container-type: inline-size; }
@container (max-width: 1080px) {
	.adm-body .split { grid-template-columns: minmax(0, 1fr); }
}
@container (max-width: 760px) {
	.adm-body .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.feed .grow { min-width: 0; overflow-wrap: anywhere; }
.adm-body .cell-item strong { overflow-wrap: anywhere; }

/* Colour palette picker: copied from the Traditional theme (page-layouts.css) so it looks and works the same. */
/* =====================================================================
   Color Palette Picker (front-end Site-Settings)
   Behaviour: assets/js/color-palette-picker.js
   ===================================================================== */
.c2w-pp { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.c2w-pp-header { margin-bottom: 16px; }
.c2w-pp-title { font-size: 18px; font-weight: 800; color: #111827; margin: 0 0 4px; }
.c2w-pp-current { font-size: 13px; color: #666; }

.c2w-pp-preview {
	display: flex; gap: 3px; border-radius: 14px; overflow: hidden;
	margin-bottom: 18px; box-shadow: 0 4px 16px rgba(0,0,0,.08); min-height: 70px;
}
.c2w-pp-swatch {
	flex: 1; min-height: 70px; display: flex; flex-direction: column;
	align-items: center; justify-content: flex-end; gap: 3px; padding: 6px 4px;
	position: relative; cursor: pointer; transition: filter .15s, transform .1s;
}
.c2w-pp-swatch:hover { filter: brightness(.93); }
.c2w-pp-swatch:active { transform: scale(.98); }
.c2w-pp-swatch::after {
	content: '\270E'; position: absolute; top: 5px; right: 6px;
	font-size: 11px; opacity: .55;
}
/* native colour input fills the swatch but stays invisible so the whole
   tile is the click target / picker trigger */
.c2w-pp-color {
	position: absolute; inset: 0; width: 100%; height: 100%;
	opacity: 0; border: 0; padding: 0; margin: 0; cursor: pointer;
}
.c2w-pp-swatch-label {
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
	background: rgba(255,255,255,.75); color: #333; padding: 2px 6px;
	border-radius: 4px; white-space: nowrap; pointer-events: none;
}
.c2w-pp-swatch-hex {
	font-size: 11px; font-weight: 700; letter-spacing: .3px;
	pointer-events: none; text-shadow: 0 1px 1px rgba(0,0,0,.15);
}
.c2w-pp-hint { font-size: 12px; color: #555; margin: 0 0 8px; }
.c2w-pp-none {
	font-size: 13px; color: #999; padding: 20px; display: flex;
	align-items: center; justify-content: center; width: 100%;
	background: #f7f8fc; border-radius: 14px;
}

/* ── Mobile: the 7 palette swatches (Primary…Border) can't shrink below their
      nowrap labels, so a single flex row overflows and gets clipped. Stack them
      one per line — full-width colour rows with the label on the left and the hex
      on the right — matching the stacked action buttons below. ── */
@media (max-width: 600px) {
	.c2w-pp-preview {
		display: grid; grid-template-columns: 1fr;
		gap: 6px; overflow: visible;
	}
	.c2w-pp-swatch {
		flex-direction: row; justify-content: space-between; align-items: center;
		min-height: 46px; padding: 10px 14px; border-radius: 8px;
	}
	.c2w-pp-swatch-label { font-size: 11px; }
	.c2w-pp-swatch-hex { font-size: 11px; }
}

/* Logo/upload preview image carries an inline max-width:300px; on narrow cards
   that overflows the container by a few px. Cap it to the container width. */
.page-template-site-setting .upload-your-cross,
.page-template-site-setting .upload-your-cross img {
	max-width: 100% !important;
	height: auto !important;
}

.c2w-pp-grid {
	display: flex; flex-wrap: wrap; gap: 8px;
	max-height: 400px; overflow-y: auto; padding: 4px; margin-bottom: 16px;
}
.c2w-pp-group {
	width: 100%; font-size: 11px; font-weight: 800; text-transform: uppercase;
	letter-spacing: .4px; color: #999; margin-top: 8px; padding-bottom: 4px;
	border-bottom: 1px solid #eee;
}
.c2w-pp-group:first-child { margin-top: 0; }

.c2w-pp-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 12px; border-radius: 10px;
	border: 2px solid rgba(0,0,0,.08); background: #fff;
	cursor: pointer; transition: border-color .15s, box-shadow .15s;
	font-size: 12px; font-weight: 600; color: #333;
}
.c2w-pp-btn:hover { border-color: rgba(46,231,251,.3); }
.c2w-pp-btn.is-active {
	border-color: #2ee7fb; background: rgba(46,231,251,.06);
	box-shadow: 0 2px 10px rgba(46,231,251,.2);
}
.c2w-pp-dots { display: flex; gap: 3px; }
.c2w-pp-dot {
	width: 14px; height: 14px; border-radius: 50%;
	border: 1px solid rgba(0,0,0,.1);
}
.c2w-pp-label { white-space: nowrap; }
.c2w-pp-footer { display: flex; align-items: center; gap: 12px; justify-content: flex-end; margin-top: 8px; }
/* Mobile: stack the three palette actions (Reset / Save Custom / Apply) one per
   line, each full-width, instead of cramming them side by side. */
@media (max-width: 600px) {
	.c2w-pp-footer { flex-direction: column; align-items: stretch; }
	.c2w-pp-footer > button,
	.c2w-pp-footer > a { width: 100%; }
}
.c2w-pp-save {
	background: #2ee7fb; color: #0f054e; border: none;
	padding: 10px 28px; border-radius: 10px; font-size: 14px;
	font-weight: 700; cursor: pointer; transition: background .15s;
}
.c2w-pp-save:hover { background: #1ad6ea; }
.c2w-pp-save:disabled { opacity: .5; cursor: wait; }
.c2w-pp-custom {
	background: #0f054e; color: #fff; border: none;
	padding: 10px 24px; border-radius: 10px; font-size: 14px;
	font-weight: 700; cursor: pointer; transition: background .15s, opacity .15s;
}
.c2w-pp-custom:hover:not(:disabled) { background: #1b0e6e; }
.c2w-pp-custom:disabled { opacity: .4; cursor: not-allowed; }
.c2w-pp-reset {
	background: transparent; color: #b91c1c; border: 2px solid #b91c1c;
	padding: 9px 22px; border-radius: 10px; font-size: 13px;
	font-weight: 700; cursor: pointer; transition: all .15s;
}
.c2w-pp-reset:hover { background: #b91c1c; color: #fff; }
.c2w-pp-reset:disabled { opacity: .5; cursor: wait; }
.c2w-pp-msg {
	padding: 10px 16px; border-radius: 8px; margin-bottom: 14px;
	font-size: 13px; font-weight: 600; display: none;
}
.c2w-pp-msg.ok  { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; display: block; }
.c2w-pp-msg.err { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; display: block; }
.c2w-pp-status { font-size: 12px; color: #666; }

/* Palette cards and the colour picker popover: also from Traditional (dashboard-shell.css). */
/* Color palette preset cards — reference: c2w-color-palette-editor */
.c2w-pp-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.c2w-pp-group { grid-column: 1 / -1; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #64748b; margin: 22px 0 4px; }
.c2w-pp-btn.c2w-pp-card { display: flex; flex-direction: column; align-items: stretch; gap: 0; text-align: left; background: #fff; border: 2px solid #e2e8f0; border-radius: 10px; padding: 13px; cursor: pointer; width: 100%; min-height: 0; transition: border-color .15s, box-shadow .15s; box-shadow: none; }
.c2w-pp-btn.c2w-pp-card:hover { border-color: #93c5fd; box-shadow: 0 3px 12px rgba(0,0,0,.07); }
.c2w-pp-btn.c2w-pp-card.is-active { border-color: var(--d-navy, #1a237e); box-shadow: 0 0 0 2px rgba(26,35,126,.18); }
.c2w-pp-card-name { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 8px; }
.c2w-pp-strip { display: flex; height: 44px; border-radius: 7px; overflow: hidden; margin-bottom: 4px; }
.c2w-pp-strip > span, .c2w-pp-strip-seg { flex: 1 1 0; }
.c2w-pp-strip-seg { cursor: pointer; transition: transform .1s, box-shadow .1s; }
.c2w-pp-strip-seg:hover { transform: scaleY(1.14); position: relative; z-index: 2; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.c2w-pp-card-chip { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 5px; border: 1px solid rgba(0,0,0,.1); cursor: pointer; transition: transform .1s; }
.c2w-pp-card-chip:hover { transform: scale(1.12); position: relative; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.2); }

/* In-page colour picker popover */
.c2w-cp-pop { position: absolute; z-index: 100000; width: 220px; background: #fff; border: 1px solid #d1d5db; border-radius: 10px; box-shadow: 0 10px 34px rgba(0,0,0,.28); padding: 12px; }
.c2w-cp-sv { position: relative; width: 100%; height: 140px; border-radius: 6px; cursor: crosshair; margin-bottom: 12px; }
.c2w-cp-h { position: absolute; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.45); transform: translate(-50%, -50%); pointer-events: none; }
.c2w-cp-hue { width: 100%; height: 14px; -webkit-appearance: none; appearance: none; border-radius: 7px; margin-bottom: 12px; cursor: pointer; background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%); }
.c2w-cp-hue::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #555; cursor: pointer; }
.c2w-cp-hue::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #555; cursor: pointer; }
.c2w-cp-row { display: flex; align-items: center; gap: 8px; }
.c2w-cp-prev { width: 28px; height: 28px; border-radius: 6px; border: 1px solid rgba(0,0,0,.15); flex: 0 0 auto; }
.c2w-cp-hex { flex: 1 1 auto; min-width: 0; padding: 6px 8px; border: 1px solid #d1d5db; border-radius: 6px; font-family: monospace; font-size: 13px; text-transform: uppercase; }
.c2w-cp-ok { flex: 0 0 auto; padding: 6px 14px; border: none; border-radius: 6px; background: var(--d-navy, #1a237e); color: #fff; font-weight: 600; font-size: 13px; cursor: pointer; }
.c2w-pp-card-lbl { font-size: 11px; line-height: 1.1; color: #9ca3af; text-transform: uppercase; letter-spacing: .03em; text-align: center; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c2w-pp-card-hex { font-size: 11px; line-height: 1.1; color: #9ca3af; font-family: monospace; text-align: center; }
.c2w-pp-card-key { font-size: 11px; color: #c7ccd4; font-family: monospace; margin-top: 3px; }
