/* ProcessLot listings. Works on its own; the ProcessLot theme sets the same tokens. */

:root {
	--pl-ink: #111c2a;
	--pl-steel: #22344a;
	--pl-steel-2: #2f4762;
	--pl-text: #1d2733;
	--pl-muted: #5b6878;
	--pl-line: #d8dee6;
	--pl-soft: #f2f4f7;
	--pl-paper: #ffffff;
	--pl-accent: #f0a500;
	--pl-accent-2: #d99400;
	--pl-accent-ink: #1a1200;
	--pl-ok: #17704a;
	--pl-pending: #9a5b00;
	--pl-sold: #a12323;
	--pl-radius: 6px;
	--pl-wrap: 1200px;
	--pl-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--pl-font-head: "Arial Narrow", "Roboto Condensed", "Segoe UI", system-ui, sans-serif;
}

.pl-main, .pl-home, .pl-form-wrap, .pl-cats, .pl-grid-cards { font-family: var(--pl-font); color: var(--pl-text); }
.pl-main *, .pl-home * { box-sizing: border-box; }
.pl-wrap { width: 100%; max-width: var(--pl-wrap); margin: 0 auto; padding: 0 16px; }
.pl-main { padding-bottom: 64px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.pl-main h1, .pl-main h2, .pl-home h1, .pl-home h2 { font-family: var(--pl-font-head); letter-spacing: .01em; line-height: 1.15; color: var(--pl-ink); }
.pl-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pl-muted); }

/* Buttons */
.pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 2px solid transparent; border-radius: var(--pl-radius); font: 700 15px/1.2 var(--pl-font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.pl-btn-primary { background: var(--pl-accent); color: var(--pl-accent-ink); }
.pl-btn-primary:hover, .pl-btn-primary:focus-visible { background: var(--pl-accent-2); color: var(--pl-accent-ink); }
.pl-btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.pl-btn-ghost:hover, .pl-btn-ghost:focus-visible { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.pl-btn-block { width: 100%; }
.pl-btn:focus-visible, .pl-main a:focus-visible, .pl-home a:focus-visible { outline: 3px solid var(--pl-accent); outline-offset: 2px; }

/* Page head & breadcrumbs */
.pl-page-head { background: var(--pl-steel); color: #dfe6ee; padding: 28px 0 32px; margin-bottom: 24px; }
.pl-page-head h1 { color: #fff; margin: 6px 0 0; font-size: clamp(28px, 4vw, 40px); }
.pl-page-head .pl-crumbs, .pl-page-head .pl-crumbs a { color: #b9c6d4; }
.pl-term-desc { max-width: 70ch; margin-top: 10px; color: #dfe6ee; }
.pl-crumbs { font-size: 13px; color: var(--pl-muted); margin: 16px 0; }
.pl-page-head .pl-crumbs { margin: 0; }
.pl-crumbs a { color: var(--pl-muted); text-decoration: none; }
.pl-crumbs a:hover { text-decoration: underline; }

/* Filters */
.pl-filters { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 16px; background: var(--pl-soft); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); }
.pl-filter { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--pl-muted); }
.pl-filter input, .pl-filter select { min-height: 44px; padding: 8px 10px; border: 1px solid #b8c2ce; border-radius: var(--pl-radius); background: #fff; font: 15px var(--pl-font); color: var(--pl-text); width: 100%; }
.pl-filter-actions { display: flex; align-items: end; gap: 14px; }
.pl-reset { font-size: 14px; color: var(--pl-steel-2); padding-bottom: 12px; }
@media (min-width: 720px) { .pl-filters { grid-template-columns: repeat(2, 1fr); } .pl-filter-q { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .pl-filters { grid-template-columns: 2fr repeat(4, 1fr) auto; } .pl-filter-q { grid-column: auto; } }
.pl-count { margin: 18px 0 12px; font-size: 14px; color: var(--pl-muted); }

/* Cards */
.pl-grid-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px) { .pl-grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pl-grid-cards { grid-template-columns: repeat(3, 1fr); } }
.pl-card { display: flex; flex-direction: column; background: var(--pl-paper); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.pl-card:hover { box-shadow: 0 8px 24px rgba(17, 28, 42, .12); transform: translateY(-2px); }
.pl-card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--pl-soft); }
.pl-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-card-sold .pl-card-media img { filter: grayscale(.7); opacity: .8; }
.pl-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--pl-muted); font-size: 14px; background: repeating-linear-gradient(-45deg, #eef1f5 0 12px, #e6eaf0 12px 24px); min-height: 200px; }
.pl-card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.pl-card-title { margin: 0 0 6px; font: 700 17px/1.3 var(--pl-font); }
.pl-card-title a { color: var(--pl-ink); text-decoration: none; }
.pl-card-title a::after { content: ""; position: absolute; inset: 0; }
.pl-card { position: relative; }
.pl-card-meta { margin: 0 0 12px; font-size: 14px; color: var(--pl-muted); }
.pl-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--pl-line); }
.pl-card-price { font-weight: 800; font-size: 17px; color: var(--pl-ink); }
.pl-card-lot { font-size: 12px; color: var(--pl-muted); }

/* Status badges */
.pl-badge { display: inline-block; padding: 4px 10px; border-radius: 3px; font: 800 12px/1.2 var(--pl-font); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.pl-badge-sold { background: var(--pl-sold); }
.pl-badge-pending { background: var(--pl-pending); }
.pl-card-media .pl-badge, .pl-gallery-main .pl-badge { position: absolute; top: 12px; left: 12px; }

/* Pager / empty */
.pl-pager { margin-top: 32px; display: flex; gap: 6px; flex-wrap: wrap; }
.pl-pager .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--pl-line); border-radius: var(--pl-radius); text-decoration: none; color: var(--pl-ink); }
.pl-pager .current { background: var(--pl-steel); border-color: var(--pl-steel); color: #fff; }
.pl-empty { padding: 40px 16px; text-align: center; background: var(--pl-soft); border-radius: var(--pl-radius); }

/* Single */
.pl-single-top { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) { .pl-single-top { grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr); align-items: start; } }
.pl-gallery-main { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--pl-soft); border-radius: var(--pl-radius); overflow: hidden; cursor: zoom-in; }
.pl-gallery-main img { width: 100%; height: 100%; object-fit: contain; display: block; background: #1b2633; }
.pl-gallery-thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.pl-gallery-thumbs button { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 4px; background: none; cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.pl-gallery-thumbs button[aria-current="true"] { border-color: var(--pl-accent); }
.pl-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-single-title { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 36px); }
.pl-pricebox { margin: 18px 0; padding: 18px; background: var(--pl-soft); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); }
.pl-price { margin: 0 0 12px; font: 800 30px/1.1 var(--pl-font); color: var(--pl-ink); }
.pl-price-sold { color: var(--pl-sold); }
.pl-price-note { margin: 0 0 12px; font-size: 14px; color: var(--pl-muted); }
.pl-call { margin: 12px 0 0; font-size: 14px; color: var(--pl-muted); text-align: center; }
.pl-call a { font-weight: 700; color: var(--pl-ink); }
.pl-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--pl-line); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); overflow: hidden; }
.pl-facts div { background: #fff; padding: 10px 12px; }
.pl-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--pl-muted); }
.pl-facts dd { margin: 2px 0 0; font-weight: 700; color: var(--pl-ink); }

.pl-single-body { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
@media (min-width: 900px) { .pl-single-body { grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr); align-items: start; } .pl-quote { position: sticky; top: 24px; } }
.pl-block h2 { font-size: 22px; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--pl-accent); display: inline-block; }
.pl-block + .pl-block { margin-top: 32px; }
.pl-specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.pl-specs th, .pl-specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--pl-line); vertical-align: top; }
.pl-specs th { width: 40%; font-weight: 600; color: var(--pl-muted); background: var(--pl-soft); }
.pl-desc { line-height: 1.65; }
.pl-docs-list { list-style: none; margin: 0; padding: 0; }
.pl-docs-list li { padding: 10px 0; border-bottom: 1px solid var(--pl-line); }
.pl-docs-list span { font-size: 12px; color: var(--pl-muted); }
.pl-quote { padding: 20px; background: #fff; border: 1px solid var(--pl-line); border-top: 4px solid var(--pl-accent); border-radius: var(--pl-radius); }
.pl-quote-ref { margin: -6px 0 14px; font-size: 14px; color: var(--pl-muted); }
.pl-related { margin-top: 56px; }

/* Lightbox */
.pl-lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.pl-lightbox::backdrop { background: rgba(8, 12, 18, .92); }
.pl-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.pl-lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.pl-lb-close, .pl-lb-nav { position: fixed; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 32px; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.pl-lb-close { top: 16px; right: 16px; }
.pl-lb-prev { left: 12px; top: 50%; }
.pl-lb-next { right: 12px; top: 50%; }

/* Forms */
.pl-form-grid { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 560px) { .pl-form-grid { grid-template-columns: 1fr 1fr; } .pl-f-textarea { grid-column: 1 / -1; } }
.pl-quote .pl-form-grid { grid-template-columns: 1fr; }
.pl-f { margin: 0 0 14px; }
.pl-f label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; color: var(--pl-ink); }
.pl-f input, .pl-f textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #b8c2ce; border-radius: var(--pl-radius); font: 16px var(--pl-font); color: var(--pl-text); background: #fff; }
.pl-f input:focus, .pl-f textarea:focus, .pl-filter input:focus, .pl-filter select:focus { outline: 2px solid var(--pl-accent); outline-offset: 1px; border-color: var(--pl-steel-2); }
.pl-req { color: var(--pl-sold); }
.pl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pl-form-actions { margin: 4px 0 0; }
.pl-notice { padding: 14px 16px; border-radius: var(--pl-radius); margin-bottom: 16px; }
.pl-notice-ok { background: #e6f4ec; border: 1px solid #9fd2b5; color: #0f4f33; }
.pl-notice-err { background: #fbeaea; border: 1px solid #e6a5a5; color: #7a1717; }
.pl-contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.pl-contact-list li { padding: 8px 0; font-size: 17px; }
.pl-contact-list span { display: inline-block; min-width: 70px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--pl-muted); }

/* Home */
.pl-hero { position: relative; color: #e8eef5; padding: clamp(48px, 9vw, 104px) 0; background:
	linear-gradient(115deg, rgba(17,28,42,.97) 0%, rgba(34,52,74,.93) 60%, rgba(47,71,98,.9) 100%),
	repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px),
	repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px),
	var(--pl-ink); }
.pl-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--pl-accent) 0 14px, var(--pl-ink) 14px 28px); }
.pl-hero-kicker { margin: 0 0 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pl-accent); font-size: 14px; }
.pl-hero h1 { color: #fff; margin: 0 0 14px; font-size: clamp(34px, 6vw, 60px); max-width: 16ch; text-transform: uppercase; }
.pl-hero-intro { max-width: 58ch; font-size: clamp(16px, 2vw, 19px); line-height: 1.55; margin: 0 0 26px; color: #c9d4e0; }
.pl-search { display: grid; grid-template-columns: 1fr; gap: 8px; max-width: 820px; padding: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: calc(var(--pl-radius) + 2px); }
.pl-search input, .pl-search select { min-height: 48px; padding: 10px 12px; border: 0; border-radius: var(--pl-radius); font: 16px var(--pl-font); width: 100%; color: var(--pl-text); background: #fff; }
@media (min-width: 720px) { .pl-search { grid-template-columns: 1fr 220px auto; } }
.pl-hero-links { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 0; }
.pl-section { padding: clamp(40px, 6vw, 72px) 0; }
.pl-section-alt { background: var(--pl-soft); }
.pl-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.pl-section-head h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); }
.pl-section-head a { font-weight: 700; color: var(--pl-steel-2); text-decoration: none; }
.pl-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.pl-cats a { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: #fff; border: 1px solid var(--pl-line); border-left: 4px solid var(--pl-accent); border-radius: var(--pl-radius); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.pl-cats a:hover { box-shadow: 0 6px 18px rgba(17,28,42,.1); border-color: var(--pl-steel-2); border-left-color: var(--pl-accent); }
.pl-cat-name { font-weight: 800; color: var(--pl-ink); font-size: 17px; }
.pl-cat-count { font-size: 13px; color: var(--pl-muted); }
.pl-two { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 820px) { .pl-two { grid-template-columns: 1fr 1fr; } }
.pl-panel { padding: clamp(22px, 4vw, 36px); background: #fff; border: 1px solid var(--pl-line); border-radius: var(--pl-radius); }
.pl-panel h2 { margin-top: 0; }
.pl-panel-dark { background: var(--pl-steel); border-color: var(--pl-steel); color: #dfe6ee; }
.pl-panel-dark h2 { color: #fff; }
.pl-steps { padding-left: 22px; margin: 0 0 22px; line-height: 1.6; }
.pl-steps li { margin-bottom: 8px; }
.pl-has-home .entry-title, .pl-has-home .page-title { display: none; }
