/* Plus Jakarta Sans (SIL Open Font License, see static/fonts/plus-jakarta-sans-OFL.txt), served from
   our own server: no trip to Google's servers before the text can show. One variable file covers the
   weights 400-800; "latin-ext" adds the rupee sign and accented letters. Indian scripts come from
   Google Fonts only on pages in those languages (SCRIPT_FONT_URL). */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.341687eeeb6a.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.7660bd9909fb.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   AuctionHub design system
   Black and white at heart: near-white pages, white cards, black type and black
   buttons. The colour comes from the flowing background (static/js/flow.js),
   which drifts through purple, blue, teal, green, coral and pink, plus a few
   soft colour touches (placeholders, step numbers).
   ========================================================================== */

:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --surface-2: #f4f4f8;
  --surface-3: #ececf3;
  --ink: #0b0b14;
  --ink-2: #33333f;
  --ink-3: #676779;
  --ink-4: #9a9aab;
  --line: #e7e7ef;
  --line-2: #d9d9e5;

  /* black is the main colour: buttons, active tabs, highlights */
  --brand: #0b0b14;
  --brand-hover: #24242f;
  --brand-ink: #0b0b14;
  --brand-soft: #f0f0f6;
  --deep: #0b0b14;

  /* soft colour touches: listing placeholders, step numbers */
  --lilac: #e9e6ff;
  --mint: #dcf3e6;
  --peach: #fde4d6;
  --sky: #dde9fb;
  --butter: #fbf0cc;
  --cream: #f8f3e3;

  --live: #e5484d;
  --live-soft: #fdecec;
  --danger-ink: #b42318;
  --ok: #15803d;
  --ok-soft: #e7f6ec;
  --warn: #b45309;
  --warn-soft: #fdf3e2;
  --info: #3d3dc4;
  --info-soft: #eeefff;

  --radius-sm: 10px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-1: 0 1px 2px rgba(15, 15, 40, .05), 0 1px 1px rgba(15, 15, 40, .03);
  --shadow-2: 0 12px 32px -14px rgba(30, 30, 80, .22);
  --shadow-3: 0 34px 90px -28px rgba(40, 40, 130, .3);
  --ring: 0 0 0 4px rgba(11, 11, 20, .08);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Roboto Mono", monospace;
  --container: 1200px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
main { flex: 1; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: #dcdcff; }
:focus-visible { outline: 3px solid rgba(11, 11, 20, .3); outline-offset: 2px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- utilities ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 760px; }
.container-xs { max-width: 480px; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
.faint { color: var(--ink-4); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }
.stack-lg > * + * { margin-top: 24px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap { flex-wrap: wrap; }
.icon { flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 11px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-ink); font-size: 14px; font-weight: 600;
}
.link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(11, 11, 20, .3); text-underline-offset: 3px; }
.link:hover { text-decoration-color: currentColor; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--brand-ink); }
.link-arrow:hover { color: var(--brand); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.divider { height: 1px; background: var(--line); border: 0; margin: 24px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: var(--radius); border: 1px solid transparent;
  font: 600 15px/1 var(--font); white-space: nowrap; cursor: pointer;
  transition: transform .15s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
/* the main button: green (".btn-dark" is the older name, used across the site) */
.btn-dark, .btn-primary { background: var(--brand); color: #fff; }
.btn-dark:hover, .btn-primary:hover { background: var(--brand-hover); box-shadow: var(--shadow-2); }
.btn-light { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-light:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn-soft { background: var(--surface-2); color: var(--ink); }
.btn-soft:hover { background: var(--surface-3); }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: rgba(15, 15, 40, .05); color: var(--ink); }
.btn-danger { background: var(--live-soft); color: var(--danger-ink); }
.btn-live { background: var(--live); color: #fff; }
.btn-live:hover { background: #c13a25; box-shadow: 0 12px 28px -14px rgba(214, 69, 47, .55); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: var(--radius-sm); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn-xl { height: 56px; padding: 0 28px; font-size: 16.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }

/* ---------- chips & badges ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  font-size: 15px; font-weight: 500; transition: border-color .2s, color .2s, background .2s; white-space: nowrap;
}
.chip:hover { border-color: var(--brand); color: var(--brand-ink); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chips:not(.scroll-x .chips) > .chip { max-width: 100%; white-space: normal; height: auto; min-height: 36px; padding-block: 7px; line-height: 1.3; }
.chip .count { font-size: 12px; color: var(--ink-4); }
.chip.active .count { color: rgba(255, 255, 255, .7); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  background: var(--surface-2); color: var(--ink-2);
}
.badge-live { background: #fff; color: var(--live); box-shadow: var(--shadow-1); }
.badge-live i, .live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--live); display: inline-block;
  animation: pulse 1.6s infinite;
}
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-danger { background: var(--live-soft); color: var(--danger-ink); }
.badge-brand { background: var(--info-soft); color: var(--info); }
.badge-dark { background: var(--deep); color: #fff; }
.badge-glass { background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--shadow-1); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(214, 69, 47, .5); }
  70% { box-shadow: 0 0 0 8px rgba(214, 69, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 69, 47, 0); }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center;
  background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.page-home .site-header:not(.scrolled) { background: transparent; }
.header-inner { display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
/* The logo's ring dots the "i" of the name (partials/brand_word.html; dotless ı + ring) */
.brand-i { position: relative; display: inline-block; line-height: 1; }
.brand-i svg { position: absolute; left: 50%; top: .01em; width: .32em; height: .32em; max-width: none; transform: translateX(-50%); }
/* nothing in the header shrinks (a squeezed logo looked broken); app.js hides extras instead */
.header-inner > * { flex: none; }
.main-tabs { display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: rgba(15, 15, 40, .05); }
.main-tabs a {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: var(--ink-3); transition: color .2s, background .2s, box-shadow .2s;
}
.main-tabs a:hover { color: var(--ink); }
.main-tabs a.active { background: #fff; color: var(--brand-ink); box-shadow: var(--shadow-1); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-link { padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-link:hover { background: rgba(15, 15, 40, .05); color: var(--ink); }
/* "Agent portal": a frosted-glass pill. Over the home page's moving background it lets the colours
   through; on the plain header it takes the same soft tint as the section tabs. */
.agent-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 12px;
  font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  background: rgba(15, 15, 40, .05); border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.agent-btn .icon { stroke: url(#ah-spectrum-24); stroke-width: 1.9; }
.agent-btn:hover { background: rgba(15, 15, 40, .08); color: var(--ink); }
.agent-btn.active { background: #fff; color: var(--brand-ink); box-shadow: var(--shadow-1); }
.page-home .site-header:not(.scrolled) .agent-btn {
  background: rgba(255, 255, 255, .38); border-color: rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 26px -16px rgba(40, 52, 120, .45);
  -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
}
.page-home .site-header:not(.scrolled) .agent-btn:hover { background: rgba(255, 255, 255, .66); color: var(--ink); }
.menu-panel a.menu-sm { display: none; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; color: var(--ink-2); }
.icon-btn:hover { background: rgba(15, 15, 40, .06); color: var(--ink); }
.badge-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--live); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff;
}
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px;
  color: #fff; background: var(--ink);
}
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 250px; padding: 8px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-3); z-index: 70;
}
.menu-head { display: flex; flex-direction: column; padding: 8px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; font-size: 14px; }
.menu-panel a, .menu-panel button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 10px;
  font-size: 14.5px; color: var(--ink-2); background: none; border: 0; cursor: pointer; text-align: left;
}
.menu-panel a:hover, .menu-panel button:hover { background: var(--surface-2); color: var(--ink); }

/* language menu */
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border-radius: 12px;
  color: var(--ink-2); font-size: 14px; font-weight: 500;
}
.lang-btn:hover, .lang-menu[open] > .lang-btn { background: rgba(15, 15, 40, .06); color: var(--ink); }
.lang-panel { width: 250px; max-height: min(72vh, 560px); overflow-y: auto; }
.lang-panel form { display: grid; gap: 2px; }
.lang-panel .lang-en { margin-left: auto; font-size: 12.5px; color: var(--ink-4); }
.lang-panel .current { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.footer-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-2); color: var(--ink-3); }
.footer-langs button { border: 0; background: none; padding: 5px 9px; border-radius: 999px; font: inherit; font-size: 14px; color: var(--ink-3); cursor: pointer; }
.footer-langs button:hover { color: var(--ink); background: rgba(15, 15, 40, .06); }
.footer-langs .current { color: var(--ink); font-weight: 600; }

/* listing translation */
.tr-bar { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tr-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0; }
.tr-note button.link { border: 0; background: none; padding: 0; font: inherit; color: var(--brand-ink); text-decoration: underline; cursor: pointer; }

/* Indian scripts: the script's own font after Plus Jakarta Sans (which keeps digits and Latin
   letters), no tight letter-spacing (it pulls joined letters apart) and a little more line height */
html.indic { --font: "Plus Jakarta Sans", var(--script-font), "Nirmala UI", ui-sans-serif, system-ui, sans-serif; }
html.indic body *:not(.otp-input):not(.dev-code b) { letter-spacing: 0 !important; }
html.indic h1, html.indic h2, html.indic h3, html.indic h4 { line-height: 1.32; overflow-wrap: break-word; }
/* words in these scripts run long: a smaller, wider hero title so one word never overflows a phone */
html.indic .hero h1 { line-height: 1.24; font-size: clamp(26px, 5.2vw, 60px); max-width: 16em; text-wrap: balance; }
html.indic .lot-title { line-height: 1.45; min-height: 2.9em; }

/* Header labels never wrap. When a language's labels are too long to fit, app.js drops
   the extras one step at a time: "How it works", the language name, tab icons, then tabs. */
.main-tabs a, .nav-link, .lang-btn, .header-actions .btn { white-space: nowrap; }
.hdr-fit-1 .header-actions .nav-link { display: none; }
.hdr-fit-2 .lang-name { display: none; }
.hdr-fit-2 .lang-btn { width: 40px; padding: 0; justify-content: center; }
.hdr-fit-2 .agent-btn-label { display: none; }
.hdr-fit-2 .agent-btn { width: 40px; padding: 0; justify-content: center; }
.hdr-fit-3 .main-tabs .icon { display: none; }
.hdr-fit-4 .main-tabs, .hdr-fit-4 .header-actions .hide-sm { display: none !important; }
.hdr-fit-4 .bottom-nav { display: grid; }
.hdr-fit-4 .menu-panel a.menu-sm { display: flex; }
.hdr-fit-4 body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
/* still too wide (a long "Log in" in some languages on small phones): a tighter button, then a shortened label */
.hdr-fit-5 .header-actions { gap: 2px; }
.hdr-fit-5 .header-actions .btn-sm { padding: 0 9px; font-size: 13px; }
.hdr-fit-6 .header-actions .btn-sm { display: block; max-width: 30vw; overflow: hidden; text-overflow: ellipsis; line-height: 36px; }

/* mobile bottom navigation */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line);
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 0; font-size: 11px; font-weight: 600; color: var(--ink-3); min-width: 0; }
.bottom-nav a span { max-width: 100%; padding: 0 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Indian scripts reach above and below the line: give the labels room so the letters aren't cut */
html.indic .bottom-nav a span { line-height: 1.6; }
@media (max-width: 380px) {  /* small phones: a little more room for long labels (Kannada, Punjabi) */
  .bottom-nav { padding-inline: 2px; }
  html.indic .bottom-nav a { font-size: 10.5px; }
}
.bottom-nav a.active { color: var(--brand-ink); }
.bottom-nav a.post .icon { width: 40px; height: 40px; padding: 9px; border-radius: 14px; background: var(--brand); color: #fff; margin-top: -14px; box-shadow: var(--shadow-2); }

/* ---------- flash messages & toasts ---------- */
.devbar { background: var(--deep); color: #e5e7eb; font-size: 12.5px; text-align: center; padding: 6px 12px; }
.devbar b { color: #fff; }
.flash-stack { display: grid; gap: 8px; margin-top: 16px; }
.flash {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: 14.5px;
}
.flash-success { border-color: #bfe0ca; background: #f2faf4; }
.flash-error { border-color: #f1c4b9; background: #fdf4f1; }
.flash-warning { border-color: #efd9ab; background: #fffaef; }
.flash-x { margin-left: auto; border: 0; background: none; font-size: 18px; line-height: 1; color: var(--ink-3); cursor: pointer; }
.toasts { position: fixed; z-index: 90; top: 76px; right: 16px; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.toast {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 14px 14px 14px 16px;
  border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-3);
  animation: toast-in .35s var(--ease) both; font-size: 14px;
}
.toast strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.toast .t-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.toast.t-outbid .t-icon, .toast.t-error .t-icon { background: var(--live-soft); color: var(--live); }
.toast.t-ok .t-icon, .toast.t-won .t-icon { background: var(--ok-soft); color: var(--ok); }
.toast button { border: 0; background: none; color: var(--ink-4); cursor: pointer; font-size: 18px; line-height: 1; }
.toast.leaving { animation: toast-out .3s var(--ease) both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* ---------- soft backgrounds: flat pastel shapes behind heroes and page tops ---------- */
.soft-bg {
  position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(60% 55% at 18% 68%, #c9d1ff 0%, rgba(201, 209, 255, 0) 70%),
    radial-gradient(55% 60% at 82% 58%, #f5c9e6 0%, rgba(245, 201, 230, 0) 70%),
    radial-gradient(70% 60% at 50% 95%, #bfe9d8 0%, rgba(191, 233, 216, 0) 70%),
    linear-gradient(180deg, #fbfbfd 0%, #f0f1fb 55%, #e9ebfb 100%);
}
.soft-bg-quiet { background: linear-gradient(180deg, #fbfbfd 0%, #f2f2fc 100%); }
.soft-bg-warm { background: linear-gradient(135deg, #f1f2ff 0%, #fdeef4 50%, #eaf7f1 100%); }
.soft-bg-vivid { background: linear-gradient(120deg, #4b4fd8 0%, #8b5cf6 38%, #d9579e 72%, #f08a5d 100%); }
.soft-bg-night { background: radial-gradient(60% 60% at 20% 70%, #2a2b6e 0%, rgba(42, 43, 110, 0) 70%), radial-gradient(55% 60% at 82% 35%, #4b2a6e 0%, rgba(75, 42, 110, 0) 70%), #0b0b14; }
.soft-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1; background: linear-gradient(180deg, rgba(251, 251, 253, 0), var(--bg)); pointer-events: none; }
/* the flowing colour (static/js/flow.js) fades in over the pastel shapes once it is drawing */
.flow-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s ease; }
.flow-canvas.is-ready { opacity: 1; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 80px) 0 72px; }
.hero-inner { text-align: center; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; max-width: 14ch; margin: 0 auto; color: var(--ink); }
.hero .lede { max-width: 50ch; margin: 20px auto 0; font-size: clamp(18px, 2.3vw, 24px); font-weight: 600; line-height: 1.45; color: var(--ink); text-wrap: balance; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }

.search-panel {
  max-width: 820px; margin: 36px auto 0; padding: 12px; text-align: left; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-3);
}
.seg {
  display: inline-flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--surface-2);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg button, .seg a {
  flex: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 0; border-radius: 10px;
  background: transparent; color: var(--ink-3); font-size: 15px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.seg [aria-selected="true"], .seg .active { background: #fff; color: var(--brand-ink); box-shadow: var(--shadow-1); }
/* home search box: its two tabs shrink and wrap on narrow screens instead of running past the box */
.search-panel .seg button { flex: 0 1 auto; min-width: 0; white-space: normal; line-height: 1.25; text-align: left; }
.search-panel .seg button:first-child { flex-shrink: 0; }  /* the short "E-Auction" stays whole */
.search-row { display: flex; gap: 8px; margin-top: 10px; }
.search-field {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink-3); transition: border-color .2s, box-shadow .2s, background .2s;
}
.search-field:focus-within { border-color: var(--brand); background: #fff; box-shadow: var(--ring); }
.search-field input { flex: 1; min-width: 0; width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.search-field.city { flex: 0 0 200px; }
.search-panel .chips { margin-top: 12px; padding: 0 4px 4px; }

.hero-stage { max-width: 1040px; margin: 56px auto 0; }
.hero-card {
  display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; text-align: left; border-radius: var(--radius-xl);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); transition: transform .4s var(--ease), box-shadow .4s;
}
.hero-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.hero-card-media { position: relative; min-height: 320px; display: grid; place-items: center; isolation: isolate; }
.hero-card-media::before { content: ""; position: absolute; inset: -32px; z-index: -1; background: var(--photo-backdrop, none) center / cover no-repeat; filter: blur(28px) brightness(.8); }
.hero-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero-card-media .badge { position: absolute; top: 16px; left: 16px; }
.hero-card-body { padding: 30px 30px 26px; display: flex; flex-direction: column; }
.hero-card-body h3 { font-size: 26px; margin-top: 8px; }
.hero-card-foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 22px; }
.hero-card-foot .btn { margin-left: auto; }
.timer-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--deep); color: #fff; font-family: var(--mono); font-size: 14px; }

/* the three numbers (doc §28) */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.trio > div { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); overflow-wrap: break-word; }
.trio span { display: block; font-size: 12.5px; color: var(--ink-3); }
.trio strong { display: block; margin-top: 4px; font-size: 18px; }
.trio .hl { background: var(--brand); color: #fff; }
.trio .hl span { color: rgba(255, 255, 255, .75); }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-tight { padding: 48px 0; }
.section-tint { background: #f5f5fa; }
.section-warm { background: var(--cream); }
.section-sky { background: #f5f5fa; }
.section-dark { position: relative; isolation: isolate; overflow: hidden; background: #0b0b14; color: #f4f4f8; }
.section-dark .soft-bg { opacity: .55; }
.section-dark .eyebrow { background: rgba(255, 255, 255, .1); color: #e5e5f0; }
.section-dark .muted, .section-dark .section-head p.sub { color: #a5a5b8; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(27px, 3.4vw, 40px); letter-spacing: -.03em; margin-top: 12px; }
.section-head p.sub { margin-top: 10px; font-size: 17px; color: var(--ink-2); max-width: 58ch; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }

/* ---------- cards ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.card-pad { padding: 22px; }
.card-link { transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.lot { display: flex; flex-direction: column; overflow: hidden; }
.lot-media { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: var(--surface-2); }
.lot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-link:hover .lot-media img { transform: scale(1.03); }
.lot-media > .badge { position: absolute; top: 12px; left: 12px; }
.lot-media .lot-timer {
  position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; font-family: var(--mono); font-size: 13px;
  background: rgba(11, 11, 20, .74); color: #fff;
}
.lot-media .lot-timer.urgent { background: var(--live); }
.lot-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.lot-meta { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-3); }
.lot-title { margin-top: 6px; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.lot-price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.lot-price span { font-size: 14px; color: var(--ink-3); }
.lot-price strong { font-size: 21px; letter-spacing: -.02em; color: var(--brand-ink); }
.lot-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.lot-body .spacer { height: 14px; }

.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat { display: flex; flex-direction: column; gap: 16px; padding: 20px; min-height: 172px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.cat-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--brand-ink); background: var(--brand-soft); }
.cat h3 { font-size: 16.5px; }
.cat p { margin-top: 4px; font-size: 13.5px; color: var(--ink-3); line-height: 1.45; }
.cat-count { margin-top: auto; font-size: 12.5px; color: var(--ink-4); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.step { padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--lilac); color: #3d3dc4; font-size: 14px; font-weight: 800; }
.step:nth-child(2) .step-n { background: var(--peach); color: #8a4b2a; }
.step:nth-child(3) .step-n { background: var(--sky); color: #1f5fa8; }
.step:nth-child(4) .step-n { background: var(--mint); color: #1d6b48; }
.step h3 { margin-top: 14px; font-size: 19px; }
.step p { margin-top: 8px; font-size: 16px; color: var(--ink-2); }

.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.trust { padding: 24px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.trust .icon { color: #c7c9ff; }
.trust h3 { margin-top: 16px; font-size: 19px; color: #fff; }
.trust p { margin-top: 8px; font-size: 16px; color: #d2d2e0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.option { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.option h3 { font-size: 20px; margin-top: 14px; }
.option p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.option ul { margin-top: 16px; display: grid; gap: 8px; font-size: 16px; color: var(--ink-2); }
.option li { display: flex; gap: 8px; }
.option li .icon { color: var(--ok); margin-top: 3px; }

.cta-band { position: relative; isolation: isolate; overflow: hidden; margin: 24px 20px 72px; border-radius: 28px; padding: 72px 24px; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4vw, 48px); letter-spacing: -.03em; max-width: 18ch; margin: 0 auto; }
.cta-band p { margin: 14px auto 0; max-width: 52ch; font-size: 18px; font-weight: 500; color: var(--ink-2); }
.cta-band .hero-ctas { margin-top: 26px; }

/* ---------- featured auctions and ads: a slowly shifting multicolour frame (the logo's colours) ---------- */
.feat {
  position: relative; padding: 2px; border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(120deg, #7d88ff, #e086cc, #ff9f86, #4fd1a5, #7d88ff); background-size: 300% 300%;
  box-shadow: 0 18px 46px -22px rgba(125, 136, 255, .75); animation: feat-shift 9s ease-in-out infinite alternate;
  transition: transform .25s var(--ease);
}
.feat:hover { transform: translateY(-4px); }
.feat > .card { height: 100%; border: 0; box-shadow: none; }
.feat > .card-link:hover { transform: none; box-shadow: none; }
@keyframes feat-shift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.badge-featured { background: linear-gradient(120deg, #7d88ff, #e086cc 55%, #ff9f86); color: #fff; box-shadow: 0 6px 18px -6px rgba(224, 134, 204, .9); }
.lot-media > .badge-featured { left: auto; right: 12px; }
/* before anything is featured: one framed line with a way to list */
.feat-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 24px 26px; border-radius: var(--radius-lg); background: #fff; color: var(--ink); }
.feat-empty .icon { color: #b46ad8; }
.feat-empty p { flex: 1; min-width: 200px; margin: 0; font-size: 17px; font-weight: 600; }
.section-dark .link-arrow, .section-dark .link-arrow:hover { color: #fff; }
/* "Featured auctions": a rounded panel of flowing colour (static/js/flow.js, palette "vivid") with white headings */
.featured-stage { position: relative; isolation: isolate; overflow: hidden; margin: 28px 20px; padding: 64px 0 68px; border-radius: 28px; color: #fff; }
.featured-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(24, 14, 64, .28) 0%, rgba(24, 14, 64, .08) 45%, rgba(24, 14, 64, .18) 100%); }
.featured-stage .eyebrow { background: rgba(255, 255, 255, .2); color: #fff; backdrop-filter: blur(6px); }
.featured-stage .section-head p.sub { color: rgba(255, 255, 255, .9); }
.featured-stage .link-arrow, .featured-stage .link-arrow:hover { color: #fff; }
.featured-stage h2 { text-shadow: 0 2px 18px rgba(24, 14, 64, .25); }
.featured-stage .card { color: var(--ink); }
.featured-stage .feat { background: rgba(255, 255, 255, .85); animation: none; box-shadow: 0 22px 50px -22px rgba(24, 14, 64, .6); }

/* ---------- "Have something worth selling?": two boxes with their benefits ---------- */
.cta-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 940px; margin: 32px auto 0; text-align: left; }
.cta-option { display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--shadow-2); }
.cta-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--deep); color: #fff; }
.cta-option h3 { margin-top: 14px; font-size: 21px; }
.cta-band .cta-option > p { margin: 6px 0 0; max-width: none; font-size: 15.5px; font-weight: 400; color: var(--ink-3); }
.cta-option ul { flex: 1; display: grid; align-content: start; gap: 10px; margin: 16px 0 22px; padding: 0; list-style: none; }
.cta-option li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; color: var(--ink-2); }
.cta-option li .icon { flex: none; margin-top: 3px; color: var(--info); }

/* ---------- ad cards ---------- */
.ad { display: flex; flex-direction: column; overflow: hidden; }
.ad .lot-media { aspect-ratio: 4 / 3; }  /* the same frame as auctions: card copies are framed 4:3, nothing is cut */
.ad-price { font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--brand-ink); }
.ad-title { margin-top: 4px; font-size: 16px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- page headers, filters, pagination ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; padding: 44px 0 26px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.03em; }
.page-head p.sub { margin-top: 10px; color: var(--ink-2); max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a:hover { color: var(--brand-ink); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 18px; }
.toolbar .grow { flex: 1; }
.filter-input { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink-3); }
.filter-input input, .filter-input select { border: 0; outline: 0; background: transparent; font: inherit; font-size: 14.5px; color: var(--ink); min-width: 0; }
.filter-input:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.scroll-x { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.scroll-x::-webkit-scrollbar { display: none; }
.scroll-x .chips { flex-wrap: nowrap; padding-bottom: 2px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 36px 0 12px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 12px; display: inline-grid; place-items: center; font-size: 14px; border: 1px solid var(--line); background: #fff; }
.pagination a:hover { border-color: var(--brand); color: var(--brand-ink); }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.empty { padding: 56px 24px; border-radius: var(--radius-xl); text-align: center; background: #fff; border: 1px dashed var(--line-2); }
.empty .icon { margin: 0 auto 14px; color: var(--brand); }
.empty h3 { font-size: 19px; }
.empty p { margin-top: 6px; color: var(--ink-3); }
.empty .btn { margin-top: 18px; }

/* ---------- auction detail ---------- */
.detail-head { padding: 28px 0 8px; }
.detail-head h1 { font-size: clamp(27px, 3.6vw, 42px); letter-spacing: -.03em; max-width: 26ch; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; font-size: 14.5px; color: var(--ink-3); }
.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; padding-bottom: 72px; }
.detail-main > * + * { margin-top: 28px; }
.detail-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }

.gallery { display: grid; gap: 10px; }
/* The whole photo, never cropped: the frame is 4:3 like the cards, the photo is fitted inside it and the
   space around a portrait or wide photo shows a blurred copy of the same photo (--photo-backdrop). */
.gallery-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-xl); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.gallery-main.can-zoom { cursor: zoom-in; }
.gallery-main.can-zoom:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.gallery-main::before { content: ""; position: absolute; inset: -32px; z-index: -1; background: var(--photo-backdrop, none) center / cover no-repeat; filter: blur(28px) brightness(.8); }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }  /* pinned to the frame: a centred grid item's height: 100% falls back to auto, and a portrait photo overflowed and was cut */
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs button { flex: none; width: 88px; height: 66px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--surface-2); opacity: .8; }
.gallery-thumbs button.active { border-color: var(--brand); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.block h2 { font-size: 21px; margin-bottom: 14px; }
.prose-text { color: var(--ink-2); white-space: pre-line; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 10px; }
.fact { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.fact span { display: block; font-size: 12.5px; color: var(--ink-3); }
.fact strong { display: block; margin-top: 3px; font-size: 15.5px; font-weight: 700; }
.kv { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.kv > div { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.kv > div:nth-child(odd) { color: var(--ink-3); }
.kv > div:nth-last-child(-n+2) { border-bottom: 0; }

.locked { position: relative; overflow: hidden; isolation: isolate; padding: 26px; border-radius: var(--radius-xl); border: 1px solid #e4e4f2; background: #f6f6fc; }
.locked h2 { display: flex; align-items: center; gap: 10px; }
.locked-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.locked-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #ececf6; }
.locked-item .icon { color: var(--brand); margin-top: 2px; }
.locked-item strong { display: block; font-size: 14.5px; }
.locked-item span { font-size: 13px; color: var(--ink-3); }
.blurred { filter: blur(5px); user-select: none; pointer-events: none; }

.docs { display: grid; gap: 8px; }
.doc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.doc .icon { color: var(--brand); }
.doc .grow { flex: 1; min-width: 0; }
.doc strong { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc span { font-size: 12.5px; color: var(--ink-3); }

.bid-panel { padding: 22px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.bid-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.countdown div { padding: 10px 0 8px; border-radius: 14px; text-align: center; background: var(--surface-2); }
.countdown b { display: block; font-family: var(--mono); font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.countdown small { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.countdown.urgent div { background: var(--live-soft); color: var(--danger-ink); }
.countdown-label { margin-top: 10px; font-size: 13px; color: var(--ink-3); text-align: center; }
.big-price { margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: var(--deep); color: #fff; }
.big-price span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.big-price strong { display: block; margin-top: 2px; font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.big-price.pulse { animation: price-flash .9s var(--ease); }
@keyframes price-flash { 0% { box-shadow: 0 0 0 0 rgba(91, 91, 246, .6); transform: scale(1.015); } 100% { box-shadow: 0 0 0 14px rgba(91, 91, 246, 0); transform: none; } }
.mini-trio { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.mini-trio div { padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.mini-trio span { display: block; font-size: 12px; color: var(--ink-3); }
.mini-trio strong { font-size: 16px; }
.standing { display: none; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.standing.show { display: flex; }
.standing.leading { background: var(--ok-soft); color: var(--ok); }
.standing.outbid { background: var(--live-soft); color: var(--danger-ink); }
.bid-form { margin-top: 16px; }
.bid-input { display: flex; align-items: center; gap: 8px; height: 58px; padding: 0 16px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; transition: border-color .2s, box-shadow .2s; }
.bid-input:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.bid-input span { font-size: 22px; color: var(--ink-3); }
.bid-input input { flex: 1; min-width: 0; width: 0; height: 100%; border: 0; outline: 0; font: 700 22px var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bid-hint { margin-top: 6px; min-height: 18px; font-size: 13px; color: var(--ink-3); }
.quick-bids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.quick-bids button { min-height: 38px; padding: 4px 6px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; overflow-wrap: anywhere; }
.quick-bids button:hover { border-color: var(--brand); color: var(--brand-ink); }
.bid-error { display: none; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--live-soft); color: var(--danger-ink); font-size: 14px; }
.bid-error.show { display: block; }
.panel-note { margin-top: 12px; font-size: 14px; color: var(--ink-3); text-align: center; }
.perks { display: grid; gap: 8px; margin: 16px 0; font-size: 14px; color: var(--ink-2); }
.perks li { display: flex; gap: 10px; align-items: flex-start; }
.perks .icon { color: var(--ok); margin-top: 2px; }
/* "List for auction": questions shown per category, live/non-live cards, the items table */
.contents { display: contents; }
.contents[hidden], .items-editor[hidden] { display: none; }
.choice-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.choice-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.choice-card:has(input:checked) { border-color: var(--brand); background: #f7f7fb; box-shadow: var(--ring); }
.choice-card input { margin-top: 3px; accent-color: var(--brand); }
.choice-card strong { display: block; font-size: 15px; }
.choice-card small { display: block; margin-top: 3px; font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.items-editor { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.items-editor h3 { font-size: 16px; }
.items-editor .help { margin: 4px 0 10px; font-size: 13px; color: var(--ink-3); }
.item-rows { display: grid; gap: 8px; margin-bottom: 10px; }
.item-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px 36px; gap: 8px; align-items: center; }
.item-row input { width: 100%; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: 15px; }
.item-row input:focus { outline: 0; border-color: var(--brand); box-shadow: var(--ring); }
.item-head { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.item-remove { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--ink-3); cursor: pointer; }
.item-remove:hover { background: var(--surface-2); color: var(--ink); }
.items-editor .form-grid { margin-top: 14px; }
/* auction page: items included in a business sale */
.items-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.items-table th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--ink-3); padding: 0 0 8px; }
.items-table td { padding: 10px 0; border-top: 1px solid var(--line); }
.items-table .qty { text-align: right; width: 110px; font-variant-numeric: tabular-nums; }
.misc-note { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.steps-mini { counter-reset: step; display: grid; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.steps-mini li { counter-increment: step; position: relative; list-style: none; padding: 10px 12px 10px 46px; border-radius: 14px; background: var(--surface-2); font-size: 14px; }
.steps-mini li::before { content: counter(step); position: absolute; left: 12px; top: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.steps-mini strong { display: block; }
.steps-mini span { display: block; font-size: 12.5px; color: var(--ink-3); }

/* Uploaded videos: nothing loads until play (preload="none"), so the box keeps its shape on its own. */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.video-card { margin: 0; }
.home-videos { margin-top: 28px; }
.video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #0b0b14; object-fit: contain; }
.video-card figcaption { margin-top: 8px; font-size: 14px; }
.video-card figcaption strong { display: block; font-weight: 700; }
.video-card figcaption span { display: block; color: var(--ink-3); font-size: 13.5px; }
.video-pick { display: grid; gap: 8px; justify-items: start; margin-top: 10px; }
.video-pick video { width: 100%; max-width: 360px; max-height: 240px; border-radius: 12px; background: #0b0b14; }
.video-pick .field-error { margin-top: 0; }
.upload-note { margin-top: 18px; font-size: 14px; }
.result-box { margin-top: 16px; padding: 18px; border-radius: 18px; background: var(--surface-2); text-align: center; }
.result-box strong { display: block; font-size: 26px; letter-spacing: -.03em; margin-top: 4px; }

.bid-list { display: grid; }
.bid-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.bid-row:last-child { border-bottom: 0; }
.bid-row .rank { font-family: var(--mono); font-size: 12.5px; color: var(--ink-4); }
.bid-row .who small { display: block; font-size: 12px; color: var(--ink-4); }
.bid-row .amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.bid-row.me .who b::after { content: " · You"; color: var(--brand-ink); font-weight: 600; }
.bid-row.new { animation: row-in .6s var(--ease); }
@keyframes row-in { from { background: #eef0ff; } to { background: transparent; } }

.side-card { padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.seller { display: flex; gap: 12px; align-items: center; }
.seller .avatar { width: 42px; height: 42px; }

/* ---------- forms ---------- */
.form-card { padding: 28px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.form-section + .form-section { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.form-section h2 { font-size: 19px; }
.form-section > p { margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-top: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field .opt { font-weight: 400; color: var(--ink-4); font-size: 12.5px; }
.field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff;
  font: inherit; font-size: 15.5px; color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235c6c63' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.field input[type=file] { width: 100%; padding: 12px; border-radius: 12px; border: 1px dashed var(--line-2); background: var(--bg); font-size: 14px; }
.field input[type=file]::file-selector-button { margin-right: 12px; padding: 7px 12px; border: 0; border-radius: 9px; background: var(--brand-soft); color: var(--brand-ink); font: inherit; font-weight: 600; cursor: pointer; }
.field .help { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.field .error { margin-top: 6px; font-size: 13px; color: var(--danger-ink); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e9a597; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.field-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.field [id] > div { display: inline-block; margin: 0 8px 8px 0; }
.field [id] > div > label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; cursor: pointer; }
.field [id] > div > label:has(input:checked) { background: var(--brand-soft); color: var(--brand-ink); border-color: var(--brand); }
.field [id] > div > label input { accent-color: var(--brand); }
.form-errors { padding: 12px 14px; border-radius: 12px; background: var(--live-soft); color: var(--danger-ink); font-size: 14px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 28px; }

.auth-page { position: relative; isolation: isolate; overflow-x: clip; min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 48px 20px 96px; }
/* min-width 0: a long option in a dropdown (a state name in Malayalam) must not push the card past a phone screen */
.auth-card { width: 100%; min-width: 0; max-width: 440px; padding: 34px 30px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-3); }
.auth-card h1 { font-size: 28px; letter-spacing: -.03em; }
.auth-card .sub { margin-top: 8px; color: var(--ink-3); font-size: 15px; }
.auth-card form { margin-top: 24px; }
/* Joining page: the listing our team prepared (templates/accounts/_prepared_listing.html) */
.prepared { margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }
.prepared h2 { font-size: 18px; margin: 0 0 4px; }
.prepared h3 { font-size: 16.5px; margin: 12px 0 6px; overflow-wrap: anywhere; }
.prepared-photos { display: flex; gap: 8px; overflow-x: auto; margin-top: 12px; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.prepared-photos img { flex: 0 0 auto; width: 132px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); scroll-snap-align: start; background: #fff; }
.prepared-video { display: block; width: 100%; max-height: 220px; margin-top: 10px; border-radius: 10px; background: #000; }
.prepared-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; font-size: 14px; }
.prepared-facts dt { color: var(--ink-3); }
.prepared-facts dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.prepared-text { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.phone-field { display: flex; align-items: center; height: 56px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.phone-field:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.phone-field .cc { padding: 0 12px 0 16px; font-weight: 700; color: var(--ink-2); border-right: 1px solid var(--line); height: 60%; display: grid; place-items: center; }
.phone-field .cc .icon { color: var(--ink-3); }
.phone-field input { flex: 1; min-width: 0; width: 0; height: 100%; border: 0; outline: 0; padding: 0 14px; font: 600 18px var(--font); letter-spacing: .02em; }
.phone-field input[type=email] { font-size: 16.5px; letter-spacing: 0; }
.otp-input { width: 100%; height: 64px; border-radius: 14px; border: 1.5px solid var(--line-2); text-align: center; font: 600 30px var(--mono); letter-spacing: .5em; padding-left: .5em; transition: border-color .15s, box-shadow .15s; }
.otp-input:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.dev-code { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--deep); color: #e5e7eb; font-size: 13.5px; }
.dev-code b { font-family: var(--mono); font-size: 18px; color: #fff; letter-spacing: .15em; }
.legal-note { margin-top: 18px; font-size: 12.5px; color: var(--ink-4); text-align: center; }
.auth-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; margin-top: 20px; border-radius: 14px; background: var(--surface-2); }
.auth-tabs a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 6px 8px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-3); text-align: center; }
.auth-tabs a:hover { color: var(--ink); }
.auth-tabs a[aria-current="page"] { background: #fff; color: var(--brand-ink); box-shadow: var(--shadow-1); }
.auth-tabs + form { margin-top: 16px; }
.field-error { margin-top: 8px; font-size: 13.5px; color: var(--danger-ink); }
.method-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.method-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.method-list .grow { flex: 1; min-width: 0; display: grid; gap: 2px; overflow-wrap: anywhere; }
.method-icon { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); }
@media (max-width: 560px) { .method-list li { flex-wrap: wrap; } .method-list .grow { flex-basis: calc(100% - 48px); } }

/* ---------- dashboard ---------- */
.dash { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding: 32px 0 72px; align-items: start; }
.dash-nav { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 2px; }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--ink-3); border: 1px solid transparent; }
.dash-nav a:hover { background: rgba(15, 15, 40, .05); color: var(--ink); }
.dash-nav a.active { background: #fff; color: var(--brand-ink); font-weight: 600; box-shadow: var(--shadow-1); border-color: var(--line); }
.dash-title { font-size: 28px; letter-spacing: -.03em; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.stat span { font-size: 13px; color: var(--ink-3); }
.stat strong { display: block; margin-top: 6px; font-size: 28px; letter-spacing: -.03em; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; border: 1px solid; }
.notice .icon { margin-top: 2px; }
.notice.warn { background: var(--warn-soft); border-color: #eed7a8; color: #6f3f07; }
.notice.info { background: var(--info-soft); border-color: #dcdcff; color: var(--info); }
.notice.ok { background: var(--ok-soft); border-color: #bfe0ca; color: #1d5a35; }
.notice .grow { flex: 1; }
.table-card { border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.table-card table th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--ink-3); padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.table-card table td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: middle; }
.table-card tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.pill-leading, .pill-won, .pill-paid, .pill-active, .pill-verified { background: var(--ok-soft); color: var(--ok); }
.pill-outbid, .pill-lost, .pill-failed, .pill-rejected, .pill-cancelled { background: var(--live-soft); color: var(--danger-ink); }
.pill-negotiating, .pill-pending, .pill-created, .pill-refund_pending, .pill-scheduled, .pill-upcoming, .pill-changes { background: var(--warn-soft); color: var(--warn); }
.pill-live { background: var(--live-soft); color: var(--live); }
.pill-draft { background: var(--surface-3); color: var(--ink-3); }
.pill-live { background: #fff; color: var(--live); box-shadow: inset 0 0 0 1px #f1c4b9; }
.thumb { width: 56px; height: 44px; border-radius: 10px; overflow: hidden; flex: none; display: grid; place-items: center; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-row { display: flex; gap: 14px; align-items: center; }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unread { background: #f6f6fc; }

/* ---------- classifieds ---------- */
.ad-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; padding: 28px 0 72px; }
.price-card { padding: 22px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.price-card .price { font-size: 32px; font-weight: 700; letter-spacing: -.03em; color: var(--brand-ink); }
.chat { display: flex; flex-direction: column; gap: 10px; padding: 20px; min-height: 360px; max-height: 60vh; overflow-y: auto; border-radius: 20px; background: var(--surface-2); }
.msg { max-width: 76%; padding: 10px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-size: 15px; }
.msg small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--ink-4); }
.msg.mine { align-self: flex-end; background: var(--brand); color: #fff; border-color: var(--brand); }
.msg.mine small { color: rgba(255, 255, 255, .65); }
.chat-form { display: flex; gap: 10px; align-items: flex-end; margin-top: 12px; }
.chat-form .field { flex: 1; }

/* ---------- checkout & invoice ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; padding: 40px 0 80px; }
.summary-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
.summary-row:last-child { border-bottom: 0; }
.summary-row.total { font-size: 18px; font-weight: 700; }
.test-banner { padding: 14px 16px; border-radius: 16px; background: var(--deep); color: #e5e7eb; font-size: 14px; }
.test-banner b { color: #fff; }
.invoice { max-width: 820px; margin: 32px auto 72px; padding: 44px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.invoice h1 { font-size: 26px; }
.invoice table th, .invoice table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14.5px; }
.invoice table td:last-child, .invoice table th:last-child { text-align: right; }

/* ---------- prose (legal pages, how it works) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose h3 { font-size: 17px; margin: 22px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 10px 0 0 20px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 56px 0 28px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { font-size: 14px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; margin-bottom: 14px; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a { color: var(--ink-2); }
.footer-grid a:hover { color: var(--brand-ink); }
.footer-social { margin-top: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-2); color: var(--ink-3); font-size: 14px; }

/* ---------- placeholders for listings without a photo: one matte colour per kind ---------- */
.tone-property { background: var(--sky); color: #3b6a85; }
.tone-business { background: var(--peach); color: #95583a; }
.tone-vehicle { background: var(--lilac); color: #4b44b8; }
.tone-goods { background: var(--butter); color: #7d6828; }
.tone-art { background: var(--mint); color: #2f6b4f; }

/* ---------- entrance motion ---------- */
.reveal { animation: rise .8s var(--ease) both; }
.reveal:nth-child(2) { animation-delay: .06s; }
.reveal:nth-child(3) { animation-delay: .12s; }
.reveal:nth-child(4) { animation-delay: .18s; }
.reveal:nth-child(5) { animation-delay: .26s; }
.reveal:nth-child(6) { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-tabs, .hide-sm { display: none !important; }
  .menu-panel a.menu-sm { display: flex; }
  .bottom-nav { display: grid; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .toasts { top: auto; bottom: calc(80px + env(safe-area-inset-bottom)); right: 12px; left: 12px; width: auto; }
  .hero { padding-top: calc(var(--header-h) + 36px); padding-bottom: 48px; }
  .search-row { flex-wrap: wrap; }
  .search-row .search-field { flex: 1 1 100%; }
  .search-row .search-field.city { flex: 1 1 100%; }
  .search-row .btn { flex: 1 1 100%; }
  .hero-card { grid-template-columns: minmax(0, 1fr); }
  .hero-card-media { min-height: 220px; }
  .hero-card-body { padding: 22px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .grid-2 { grid-template-columns: 1fr; }
  .detail-grid, .ad-detail, .checkout { grid-template-columns: minmax(0, 1fr); }
  .detail-side { position: static; }
  .detail-grid .detail-side { order: -1; }
  .dash { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 18px; }
  .dash-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .dash-nav a { flex: none; background: #fff; border-color: var(--line); }
  .dash-nav .agent-nav-head { display: none; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .locked-list { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-band { margin: 8px 12px 48px; padding: 56px 20px; }
  .featured-stage { margin: 16px 12px; padding: 48px 0 52px; border-radius: 22px; }
  .cta-options { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lang-name { display: none; }
  .lang-btn { width: 40px; padding: 0; justify-content: center; }
  .container { padding: 0 16px; }
  .trust-grid, .steps { grid-template-columns: 1fr; }
  .choice-cards { grid-template-columns: 1fr; }
  .item-row { grid-template-columns: minmax(0, 1fr) 70px 36px; }
  /* home page on phones: a short preview of each list; "All auctions" / "All ads" sit right above */
  .page-home .grid-3 > :nth-child(n+4), .page-home .grid-4 > :nth-child(n+3) { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* long words in Indian languages: let page buttons wrap rather than run off the screen */
  html.indic main .btn { max-width: 100%; white-space: normal; height: auto; min-height: 44px; padding-block: 10px; line-height: 1.3; text-align: center; }
  html.indic main .btn-sm { min-height: 36px; padding-block: 7px; }
  html.indic main .btn-lg { min-height: 50px; }
  html.indic main .btn-xl { min-height: 56px; }
  .trio .hl { grid-column: 1 / -1; order: -1; }
  .kv { grid-template-columns: 1fr 1.2fr; }
  .form-card { padding: 20px; border-radius: 20px; }
  .auth-card { padding: 28px 22px; }
  .invoice { padding: 22px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .countdown b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .bottom-nav, .toasts, .no-print, .devbar { display: none !important; }
  body { background: #fff; padding: 0; }
  .invoice { border: 0; margin: 0; padding: 0; }
}

/* keep dashboard tables compact: long titles truncate instead of widening the table */
.table-card td:first-child { max-width: 340px; }
.table-card .list-row { min-width: 220px; }

/* ---------- AI: advisor, document explanations, listing writer ---------- */
.advisor { padding: 16px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.advisor-log { display: flex; flex-direction: column; gap: 10px; max-height: 460px; overflow-y: auto; padding: 4px; }
.amsg { max-width: 88%; padding: 11px 14px; border-radius: 18px; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.amsg p + p, .amsg p + ul, .amsg ul + p { margin-top: 8px; }
.amsg ul { list-style: disc; padding-left: 20px; }
.amsg li + li { margin-top: 4px; }
.amsg-user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 6px; white-space: pre-line; }
.amsg-assistant { align-self: flex-start; background: #f6f6ff; border: 1px solid #e6e4ff; border-bottom-left-radius: 6px; color: var(--ink-2); }
.amsg-assistant.error { background: var(--live-soft); border-color: #f1c4b9; color: var(--danger-ink); }
.advisor-suggest { margin: 12px 0 10px; }
.advisor-suggest .chip { cursor: pointer; height: 32px; font-size: 13px; }
.advisor-form { display: flex; gap: 10px; align-items: flex-end; }
.advisor-form textarea { flex: 1; min-width: 0; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); font: inherit; font-size: 15px; resize: none; }
.advisor-form textarea:focus, .ai-panel textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.dots { display: inline-flex; gap: 4px; align-items: center; vertical-align: middle; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .3; animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.doc a.grow { min-width: 0; }
.doc a.grow span { display: inline-flex; align-items: center; gap: 4px; }
.insight-out { margin: 8px 0 6px; }
.insight { padding: 16px 18px; border-radius: 16px; background: #f8f8ff; border: 1px solid #e6e4ff; font-size: 15px; color: var(--ink-2); }
.insight-type { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--brand-ink); }
.insight h4 { margin: 16px 0 8px; font-size: 14px; color: var(--ink); }
.insight .hard-to-read { color: var(--danger-ink); }
.flags { display: grid; gap: 8px; }
.flag { padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #eed7a8; border-left: 4px solid var(--warn); }
.flag strong { color: var(--ink); }
.flag p { margin-top: 4px; font-size: 14px; }
.insight-q { list-style: disc; padding-left: 20px; }
.insight-q li + li { margin-top: 4px; }

.ai-panel { margin: 18px 0 4px; padding: 18px; border-radius: 20px; border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #8c9bff, #f08bc8, #4fd1a5) border-box; }
.ai-panel textarea { width: 100%; min-height: 96px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); font: inherit; font-size: 15px; resize: vertical; background: #fff; }
.writer-tips { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--warn-soft); color: #6f3f07; font-size: 14px; }
.writer-tips ul { list-style: disc; padding-left: 20px; margin-top: 6px; }
.field .ai-filled { border-color: #b7aefc !important; background: #fbfaff !important; }
/* The website's spell-check (spell.js): a transparent copy of the text over the box carries the red underlines. */
.spell-wrap { position: relative; }
.spell-backdrop { position: absolute; top: 0; left: 0; box-sizing: border-box; overflow: hidden; margin: 0; border-style: solid; border-color: transparent; background: none; color: transparent; pointer-events: none; z-index: 1; overflow-wrap: break-word; }
.spell-backdrop mark.spell-miss { background: none; color: transparent; text-decoration: underline wavy #d92d20; text-decoration-skip-ink: none; text-underline-offset: 3px; }
.spell-menu { position: fixed; z-index: 1000; min-width: 180px; max-width: 280px; padding: 8px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 12px 32px rgba(11, 11, 20, .16); font-size: 14px; }
.spell-menu-word { padding: 4px 8px 6px; font-size: 12px; color: #d92d20; text-decoration: underline wavy #d92d20; }
.spell-menu-list { display: flex; flex-direction: column; }
.spell-menu-list .muted { padding: 6px 8px; font-size: 13px; }
.spell-menu button { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; text-align: left; font: inherit; color: #0b0b14; cursor: pointer; }
.spell-menu button:hover, .spell-menu button:focus-visible { background: #f3f4ff; outline: none; }
.spell-menu-list button { font-weight: 600; }
.spell-menu-ignore { margin-top: 4px; border-top: 1px solid var(--line-2) !important; border-radius: 0 0 8px 8px !important; color: #676779 !important; font-size: 13px; }
.proofread-panel { margin-top: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; }
.proofread-item + .proofread-item { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.proofread-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.proofread-label { font-weight: 600; font-size: 14px; }
.proofread-diff { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; font-size: 15px; }
.proofread-diff del { color: #b42318; background: #fde8e6; text-decoration: line-through; border-radius: 3px; padding: 0 2px; }
.proofread-diff ins { color: #166534; background: #dcfce7; text-decoration: none; border-radius: 3px; padding: 0 2px; }

/* "or" divider on the login card */
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--ink-4); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- website helper: the "Ask AuctionHub" chat in the corner of every page ---------- */
.helper-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 58; display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 18px 0 15px; border: 0; border-radius: 999px; background: var(--brand); color: #fff;
  font: inherit; font-size: 14.5px; font-weight: 700; box-shadow: var(--shadow-3); cursor: pointer;
  transition: transform .15s var(--ease), background .2s;
}
.helper-fab:hover { background: var(--brand-hover); transform: translateY(-1px); }
.helper-fab[aria-expanded="true"] { display: none; }
.helper-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 390px; height: min(640px, calc(100vh - 40px));
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-3); overflow: hidden;
}
.helper-panel[hidden] { display: none; }
.helper-head { display: flex; align-items: center; gap: 8px; padding: 12px 8px 12px 14px; border-bottom: 1px solid var(--line); }
.helper-head .icon-btn { flex: none; border: 0; background: none; cursor: pointer; }
.helper-mark { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.helper-title { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.helper-title strong { font-size: 15px; }
.helper-title span { font-size: 12.5px; color: var(--ink-3); }
.helper-log { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.helper-log .amsg { font-size: 14.5px; }
.helper-suggest { padding: 0 14px 10px; }
.helper-suggest[hidden] { display: none; }
.helper-suggest .chip { cursor: pointer; font-size: 13px; }
.helper-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 6px; border-top: 1px solid var(--line); }
.helper-form textarea {
  flex: 1; min-width: 0; min-height: 44px; max-height: 120px; padding: 11px 13px; border-radius: 14px;
  border: 1px solid var(--line-2); font: inherit; font-size: 15px; line-height: 1.4; resize: none;
}
.helper-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.helper-form .btn { flex: none; width: 44px; padding: 0; }
.helper-note { padding: 0 14px 10px; font-size: 11.5px; color: var(--ink-4); }
.hcards { flex: none; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; }
.hcards::-webkit-scrollbar { display: none; }
.hcard {
  flex: 0 0 200px; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.hcard:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.hcard-media { height: 100px; background: var(--lilac); }
.hcard-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hcard-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 10px 12px 12px; }
.hcard-status { font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.hcard-status.live { color: var(--live); }
.hcard-title { font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hcard-price { font-size: 13.5px; font-weight: 700; }
.hcard-meta { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr-fit-4 .helper-fab { bottom: calc(80px + env(safe-area-inset-bottom)); }
@media (max-width: 900px) {
  .helper-fab { right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  .helper-fab { width: 52px; height: 52px; padding: 0; justify-content: center; }
  .helper-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .helper-panel { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; padding-bottom: env(safe-area-inset-bottom); }
  html.helper-open body { overflow: hidden; }
}

/* =================================================================================================
   Listing tools (apps/listings): form modes and steps, live quality score, photo checks, the seller's
   journey and insights, enquiries, buyer requirements and the "Not sure?" guide.
   ================================================================================================= */
.listing-page { max-width: 1120px; }
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.listing-layout > .form-card { min-width: 0; }

/* Quick / Full */
.mode-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.mode-option { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.mode-option:has(input:checked) { border-color: var(--brand); background: #f7f7fb; box-shadow: var(--ring); }
.mode-option input { margin-top: 4px; accent-color: var(--brand); }
.mode-option strong { display: flex; align-items: center; gap: 6px; font-size: 15.5px; }
.mode-option small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-3); line-height: 1.45; }
.stepper { display: flex; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; counter-reset: step; }
.stepper li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-4); text-align: center; position: relative; }
.stepper li::before { content: ""; position: absolute; top: 14px; left: -50%; right: 50%; height: 2px; background: var(--line-2); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li i { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); font-style: normal; font-size: 13px; }
.stepper li.current { color: var(--ink); }
.stepper li.current i { border-color: var(--info); color: var(--info); box-shadow: 0 0 0 4px rgba(61, 61, 196, .12); }
.stepper li.done { color: var(--ink-2); }
.stepper li.done i { background: var(--deep); border-color: var(--deep); color: #fff; }
.stepper li.done::before, .stepper li.current::before { background: var(--deep); }
/* Quick listing: everything optional stays faded (still usable). A "contents" wrapper draws no box of
   its own, so its children are faded instead. */
form.quick [data-optional]:not(.contents), form.quick .contents[data-optional] > * { opacity: .38; filter: grayscale(.6); transition: opacity .25s, filter .25s; }
.form-section[hidden] { display: none; }
.items-editor-plain { margin-top: 14px; padding-top: 0; border-top: 0; }

/* live quality score */
.quality-panel, .op-quality { padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.quality-panel { position: sticky; top: 88px; margin-top: 22px; }
.q-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-weight: 600; }
.q-head strong b { font-size: 34px; letter-spacing: -.03em; }
.q-head strong small { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.q-bar { height: 8px; margin-top: 10px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.q-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #e5484d, #f0a03c 45%, #7d88ff 75%, #4fd1a5); background-size: 300px 100%; transition: width .4s var(--ease); }
[data-level="good"] .q-bar i { background: linear-gradient(90deg, #7d88ff, #4fd1a5); }
.q-level { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.q-parts { display: grid; gap: 4px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13.5px; }
.q-parts li { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-3); }
.q-parts li b { font-weight: 600; color: var(--ink-2); }
.q-parts li.full b { color: var(--ok); }
.q-parts li.none b { color: var(--ink-4); }
.q-tips-wrap { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.q-tips { display: grid; gap: 8px; margin: 8px 0 10px; padding-left: 18px; font-size: 14px; color: var(--ink-2); }

/* photos */
.photo-manager { grid-column: 1 / -1; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-top: 8px; }
.photo-tile { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: opacity .2s; }
.photo-tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-tile.removed { opacity: .35; }
.tile-actions { display: flex; justify-content: space-between; gap: 6px; padding: 6px 8px; font-size: 12.5px; }
.tile-actions label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.tile-issue { position: absolute; top: 6px; left: 6px; right: 6px; padding: 3px 7px; border-radius: 8px; background: rgba(180, 83, 9, .92); color: #fff; font-size: 11.5px; font-weight: 600; }
/* "Add photo" boxes (static/js/listing-form.js): 8 at first, filled one at a time or several at once */
.photo-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 2px 0 4px; border-radius: 16px; transition: opacity .2s, outline-color .2s; outline: 2px dashed transparent; outline-offset: 5px; }
.photo-slots[hidden], .photo-check[hidden] { display: none; }
.photo-slots.is-busy { opacity: .6; cursor: progress; }
.photo-slots.is-drop { outline-color: var(--ink-3); }
.slot { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.slot-empty { display: grid; place-content: center; justify-items: center; gap: 6px; width: 100%; padding: 8px; border: 1.5px dashed var(--line-2); background: var(--bg); color: var(--ink-3); font: inherit; font-size: 13.5px; font-weight: 600; text-align: center; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.slot-empty:hover, .slot-empty:focus-visible { border-color: var(--ink-3); background: #fff; color: var(--ink); }
.slot-filled { border: 1px solid var(--line); background: var(--surface-2); }
.slot-filled img { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--surface-2); }  /* the whole photo, as buyers will see it */
.slot-badge, .slot-cover { position: absolute; left: 6px; bottom: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.4; }
.slot-badge { background: var(--ink); color: #fff; }
.slot-cover { border: 0; background: rgba(255, 255, 255, .94); color: var(--ink); font-family: inherit; cursor: pointer; box-shadow: 0 2px 8px rgba(11, 11, 20, .18); }
.slot-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(11, 11, 20, .72); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.slot-x:hover { background: var(--danger-ink); }
.slot-issue { position: absolute; top: 6px; left: 6px; right: 40px; padding: 3px 7px; border-radius: 8px; background: rgba(180, 83, 9, .92); color: #fff; font-size: 11.5px; font-weight: 600; line-height: 1.35; }
@media (hover: hover) {
  .slot-cover { opacity: 0; transition: opacity .2s; }
  .slot-filled:hover .slot-cover, .slot-cover:focus-visible { opacity: 1; }
}
@media (max-width: 560px) {
  .photo-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .slot-empty { font-size: 12px; }
}
.photo-check { grid-column: 1 / -1; display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--warn-soft); border: 1px solid #f5d39a; }
.photo-check-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.photo-check-row img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex: none; }
.photo-main-warning { font-weight: 700; color: var(--warn); font-size: 14.5px; }
.describe-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }

/* the seller's own listing page: preview, journey, numbers, suggestions */
.owner-panel { margin-top: 20px; padding: 22px; border-radius: var(--radius-xl); background: #fff; border: 1px solid #d9dbf5; box-shadow: var(--shadow-2); display: grid; gap: 16px; }
.op-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
.op-head h2 { font-size: 22px; margin-top: 8px; letter-spacing: -.02em; }
.op-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.journey { display: flex; flex-wrap: wrap; gap: 6px 4px; margin: 0; padding: 0; list-style: none; }
.journey li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--surface-2); font-size: 13.5px; font-weight: 600; color: var(--ink-4); }
.journey li i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); font-style: normal; font-size: 12px; }
.journey li.done { color: var(--ink-2); }
.journey li.done i { background: var(--deep); border-color: var(--deep); color: #fff; }
.journey li.current { background: var(--deep); color: #fff; }
.journey li.current i { background: linear-gradient(120deg, #7d88ff, #e086cc); border-color: transparent; color: #fff; }
.journey li.fix.current { background: var(--warn); }
.op-next { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.op-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.op-card { padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: #fbfbfd; }
.op-card h3, .op-suggest h3, .op-unsold h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 10px; }
.op-card .q-tips { margin-bottom: 0; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 10px; }
.stat-row div { display: grid; gap: 2px; }
.stat-row b { font-size: 24px; letter-spacing: -.02em; }
.stat-row span { font-size: 13px; color: var(--ink-3); }
.op-suggest { padding: 16px 18px; border-radius: 18px; background: #f5f5ff; border: 1px solid #dfe1ff; }
.op-suggest ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; font-size: 15px; color: var(--ink-2); }
.op-unsold { padding: 16px 18px; border-radius: 18px; border: 1px dashed var(--line-2); }
.unsold-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 10px; }
.unsold-options form { display: contents; }
.option-btn { display: grid; gap: 4px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.option-btn:hover { border-color: var(--brand); box-shadow: var(--ring); }
.option-btn strong { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.option-btn small { font-size: 13px; color: var(--ink-3); }

/* my dashboard: listings with tracker and numbers */
.seller-rows { display: grid; gap: 14px; }
.seller-row { display: grid; gap: 12px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.seller-row .list-row { display: flex; align-items: center; gap: 12px; }
.tracker { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.tracker li { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-4); position: relative; }
.tracker li i { display: block; height: 6px; margin-right: 3px; border-radius: 99px; background: var(--surface-3); }
.tracker li.done { color: var(--ink-3); }
.tracker li.done i { background: var(--deep); }
.tracker li.current { color: var(--ink); }
.tracker li.current i { background: linear-gradient(90deg, #7d88ff, #e086cc); }
.tracker li.fix.current { color: var(--warn); }
.tracker li.fix.current i { background: var(--warn); }
.seller-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--ink-3); }
.seller-stats span { display: inline-flex; align-items: center; gap: 5px; }
.seller-stats .demand { color: var(--info); font-weight: 600; }
.q-chip { padding: 2px 9px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); font-weight: 600; }
.q-chip[data-level="good"] { background: var(--ok-soft); color: var(--ok); }
.q-chip[data-level="low"] { background: var(--warn-soft); color: var(--warn); }
.row-note { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; color: var(--ink-2); }
.row-note .icon { margin-top: 3px; flex: none; color: var(--info); }
.row-note.warn .icon { color: var(--warn); }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; }

/* smart enquiry */
.enquiry summary { display: grid; gap: 2px; cursor: pointer; list-style: none; }
.enquiry summary::-webkit-details-marker { display: none; }
.enquiry summary strong { display: flex; align-items: center; gap: 6px; font-size: 15.5px; }
.reason-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.reason-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.reason-chip:has(input:checked) { border-color: var(--brand); background: var(--brand); color: #fff; }
.reason-chip input { position: absolute; opacity: 0; pointer-events: none; }
.enquiry-form textarea { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); font: inherit; font-size: 15px; }

/* buyer requirements and matches */
.req-card { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.req-card + .req-card { margin-top: 14px; }
.req-card.paused { opacity: .7; }
.req-title { font-size: 17px; }
.match-list { display: grid; gap: 8px; margin-top: 14px; }
.match-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); transition: border-color .2s; }
.match-row:hover { border-color: var(--line-2); }
.match-row .thumb { width: 56px; height: 56px; }
.match-row .title { font-weight: 600; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; font-size: 12.5px; font-weight: 600; }
.checks .ok { color: var(--ok); }
.checks .no { color: var(--ink-4); }
.match-score { flex: none; padding: 6px 11px; border-radius: 99px; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(120deg, #7d88ff, #e086cc); white-space: nowrap; }
.wanted-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; padding: 18px 20px; border-radius: 20px; background: #f5f5ff; border: 1px solid #dfe1ff; }

/* "Not sure?" */
.option-wide { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px; }
.option-wide h3 { margin-top: 0; }
.guide-result { padding: 24px; border-radius: var(--radius-xl); background: #fff; border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), linear-gradient(120deg, #7d88ff, #e086cc, #ff9f86, #4fd1a5); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: var(--shadow-2); }
.guide-result h2 { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 26px; }
.guide-result ul { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.guide-result li { display: flex; gap: 8px; color: var(--ink-2); }
.guide-result li .icon { flex: none; margin-top: 4px; color: var(--ok); }
.guide-q { border: 0; margin: 0; padding: 0; }
.guide-q + .guide-q { margin-top: 22px; }
.guide-q legend { font-weight: 700; font-size: 17px; margin-bottom: 10px; }
.guide-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.guide-choice { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; }
.guide-choice:has(input:checked) { border-color: var(--brand); background: #f7f7fb; box-shadow: var(--ring); }
.guide-choice input { accent-color: var(--brand); }

@media (max-width: 960px) {
  .listing-layout { grid-template-columns: 1fr; }
  .quality-panel { position: static; order: -1; margin-top: 18px; }
  .quality-panel .q-parts { display: none; }
}
@media (max-width: 600px) {
  .mode-switch { grid-template-columns: 1fr; }
  .stepper li span { font-size: 11px; }
  .tracker li span { font-size: 10.5px; }
  .owner-panel { padding: 16px; }
}

/* ---- Agent portal (apps/agents) ------------------------------------------------------------- */
.agent-hero { position: relative; isolation: isolate; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 72px) 0 64px; }
.agent-hero-inner { text-align: center; }
.agent-hero .eyebrow { justify-content: center; display: inline-flex; align-items: center; gap: 6px; }
.agent-hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; max-width: 16ch; margin: 10px auto 0; color: var(--ink); }
.agent-hero .lede { max-width: 54ch; margin: 18px auto 0; font-size: clamp(17px, 2.1vw, 21px); font-weight: 600; line-height: 1.5; color: var(--ink); text-wrap: balance; }
.agent-hero-more { margin: 14px 0 0; font-weight: 600; }
.btn-wa .icon { color: #1fa855; }  /* "WhatsApp us": the site's own white button, only the icon in WhatsApp green (founder) */
@media (max-width: 600px) {  /* the ad's offer and both first steps on a phone's first screen (31 Oct 2026) */
  .agent-hero { padding-top: calc(var(--header-h) + 28px); }
  .agent-hero .offer-strip { margin-top: 16px; padding: 10px 14px; font-size: .88rem; }
  .agent-hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}
.agent-chips { justify-content: center; margin-top: 22px; }
.center-head { justify-content: center; text-align: center; }
.center-head .sub { margin-left: auto; margin-right: auto; }
.agent-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.agent-steps li { position: relative; padding: 20px 20px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.agent-steps li > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; }
.agent-steps h3 { margin-top: 12px; font-size: 17px; }
.agent-steps p { margin-top: 4px; font-size: 14.5px; color: var(--ink-3); line-height: 1.5; }

.pkg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; margin-top: 8px; }
.pkg { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(11, 11, 20, .02); transition: transform .2s, box-shadow .2s; }
.pkg:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(11, 11, 20, .35); }
.pkg h3 { font-size: 21px; letter-spacing: -.02em; }
.pkg-tag { margin-top: 4px; font-size: 14px; color: var(--ink-3); min-height: 2.8em; }
.pkg-price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 6px; }
.pkg-price strong { font-size: 34px; letter-spacing: -.035em; line-height: 1; }
.pkg-price small { font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.pkg ul { flex: 1; margin: 12px 0 18px; padding: 0; list-style: none; display: grid; gap: 9px; align-content: start; }
.pkg li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; }
.pkg li .icon { flex: none; margin-top: 2px; color: var(--ok); }
.pkg-hot { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, #7d88ff, #e086cc 55%, #ff9f86) border-box; border: 2px solid transparent; box-shadow: 0 22px 50px -28px rgba(224, 134, 204, .9); }
.pkg-current { border-color: var(--ok); box-shadow: inset 0 0 0 1px var(--ok); }
.pkg-ribbon { position: absolute; top: -12px; left: 22px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(120deg, #7d88ff, #e086cc 55%, #ff9f86); }
.pkg-ribbon-current { background: var(--ok); }
.pkg-note { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.pkg-includes { margin-top: 26px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.pkg-includes h3 { font-size: 16px; }
.pkg-includes ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 18px; }
.pkg-includes li { display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.pkg-grid-portal { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--ink-3); }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin-top: 8px; color: var(--ink-2); line-height: 1.6; }

.agent-band { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: center; padding: 30px; border-radius: 28px; background: linear-gradient(135deg, #0b0b14, #23233a); color: #fff; }
.agent-band .eyebrow { color: #e4e4ff; background: rgba(255, 255, 255, .12); display: inline-flex; align-items: center; gap: 6px; }
.agent-band h2 { margin-top: 8px; font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -.03em; color: #fff; }
.agent-band ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.agent-band li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; color: #e7e7f3; }
.agent-band li .icon { flex: none; margin-top: 2px; color: #9fe3b8; }
.agent-band-cta .btn-dark { background: #fff; color: #0b0b14; border-color: #fff; }
.agent-band-cta p { margin-top: 8px; text-align: center; color: #b9b9cc; }

.agent-nav-head { display: flex; gap: 8px; align-items: center; padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14.5px; }
.agent-nav-head .icon { color: var(--ok); flex: none; }
.agent-nav-head.pending .icon { color: var(--ink-3); }
.wallet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.wallet-tile { display: block; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: inherit; }
.wallet-tile span { font-size: 13px; color: var(--ink-3); }
.wallet-tile strong { display: block; margin-top: 6px; font-size: 24px; letter-spacing: -.03em; }
.wallet-tile small { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }
.wallet-main { background: var(--ink); border-color: var(--ink); color: #fff; }
.wallet-main span, .wallet-main small { color: #c9c9d9; }
.deposit-line { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }
.deposit-line .icon { flex: none; margin-top: 2px; color: var(--ok); }
.deposit-line strong { color: var(--ink); }
.usage-bar { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin-bottom: 14px; }
.usage-bar span { display: block; height: 100%; max-width: 100%; border-radius: 99px; background: linear-gradient(90deg, #7d88ff, #e086cc); }
.stat-grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stat-grid-6 .stat strong { font-size: 24px; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.pos { color: var(--ok); }
td.neg { color: var(--danger-ink); }
.empty-sm { padding: 26px 18px; }
.empty-sm p { margin-top: 6px; }
.pager { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 12px; }
.onboard { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.onboard li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.onboard-dot { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); color: var(--ink-3); font-weight: 700; }
.onboard li.done .onboard-dot { background: var(--ok); color: #fff; }
.onboard li.waiting .onboard-dot { background: var(--warn-soft); color: var(--warn); }
.onboard li > div { flex: 1; }
.choose-card h3 { margin-top: 12px; font-size: 18px; }
.choose-card p { margin-top: 4px; }
.pay-steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; margin-top: 18px; align-items: start; }
.pay-steps h2 { display: flex; align-items: center; gap: 8px; }
.pay-months { max-width: 300px; margin-top: 16px; }
.pay-online { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; border: 1.5px solid var(--ink); }
.pay-online h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.pay-online-text p { margin-top: 4px; }
.pay-online-go { display: flex; align-items: center; gap: 14px; }
.pay-online-amount { font-size: 24px; letter-spacing: -.02em; }
.pay-or { margin-top: 26px; font-size: 15px; font-weight: 600; color: var(--ink-3); }
.pay-to { display: grid; gap: 10px; margin: 14px 0 0; }
.pay-to div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.pay-to dt { color: var(--ink-3); font-size: 14px; }
.pay-to dd { margin: 0; text-align: right; font-size: 15px; overflow-wrap: anywhere; }
.pay-amount { margin-top: 14px; font-size: 16px; }
.pay-amount strong { font-size: 22px; }
.badge-agent { background: var(--ok-soft); color: var(--ok); }
.lot-media .badge-agent { background: rgba(255, 255, 255, .92); }
.form-section.agent-papers { border: 1px dashed #c9c9ef; border-radius: 18px; padding: 20px; background: #fafaff; }
.agent-papers h2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.choice-cards-tight { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 6px; }
.choice-cards-tight .choice-card, .field .choice-cards-tight .choice-card { display: flex; align-items: center; margin-bottom: 0; padding: 10px 12px; }
.choice-cards-tight .choice-card input { margin-top: 0; }
.pill-review { background: var(--warn-soft); color: var(--warn); }
.pill-sold { background: var(--ok-soft); color: var(--ok); }
.pill-ended { background: var(--surface-3); color: var(--ink-3); }
@media (max-width: 1000px) {
  .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .agent-steps { grid-template-columns: 1fr; }
  .agent-band { grid-template-columns: 1fr; padding: 22px; }
  .pay-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .onboard li { flex-wrap: wrap; }
  .onboard li > .btn { margin-left: 48px; }
  .pkg-grid { grid-template-columns: 1fr; }
  .stat-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-cards-tight { grid-template-columns: 1fr; }
}
@media print {
  .page-agents .dash-nav, .page-agents .site-header, .page-agents .site-footer, [data-print] { display: none; }
}

/* Listing form: "More details" groups and tick-several answers (vehicle features) */
.detail-group { font-size: 15px; font-weight: 700; margin: 18px 0 8px; color: var(--ink-2); }
[data-detail-group][hidden] { display: none; }
.field-multi > div { display: flex; flex-wrap: wrap; gap: 6px; }
.field-multi > div > div { display: contents; }
.field-multi > div label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 500; cursor: pointer; background: #fff; }
.field-multi > div label:has(input:checked) { border-color: var(--ink); background: var(--surface-2, #f4f4f8); }
.slot-hint { font-size: 11.5px; font-weight: 500; color: var(--ink-3); }

/* Legal ticks: "how it works" points and the boxes to tick (sign-up, listing submission, joining an auction) */
.legal-box { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); text-align: left; }
.key-points { margin: 18px 0 28px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.key-points-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.key-points ol { margin: 0 0 10px; padding-left: 22px; }
.key-points li { margin: 7px 0; font-size: 15px; line-height: 1.55; }
.legal-statements { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; font-size: 14px; line-height: 1.5; }
.legal-statements li { padding-left: 4px; }
.legal-box-title { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.legal-points { margin: 0 0 10px; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); display: grid; gap: 6px; }
.legal-box .field-check { align-items: flex-start; font-size: 14px; line-height: 1.45; }
.legal-box .field-check input { margin-top: 3px; flex: none; }
.legal-box .field { margin-top: 10px; }
.join-terms { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); text-align: left; }
.join-terms .legal-points { font-size: 12.5px; margin: 6px 0 8px; }
.join-terms .field-check { font-size: 13px; margin-top: 8px; }
.join-steps { margin-top: 18px; text-align: left; }
.steps-mini li.is-current { box-shadow: inset 0 0 0 2px var(--brand); }
.funds-box { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.funds-box[hidden] { display: none; }
.funds-box .field { margin-top: 8px; }
.funds-box select, .funds-box input:not([type=checkbox]) { width: 100%; }
.after-sale { margin-top: 18px; }
.after-sale ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; }
/* Legal pages: the opening note and tables (retention, deadlines, fees) */
.prose .lead-note { padding: 14px 16px; border-radius: 12px; background: var(--surface-2); font-size: 15px; }
.prose ol { margin: 10px 0 0 20px; list-style: decimal; }
.prose ol li + li { margin-top: 6px; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.legal-table th { font-weight: 700; background: var(--surface-2); }
.legal-scroll { overflow-x: auto; }

/* Social links in the footer (Marketing settings) */
/* ---- full-screen photo (tap the gallery) ---- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: #0b0b14; }
.lightbox::backdrop { background: #0b0b14; }
.lightbox img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lightbox button { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .3); }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 14px; right: auto; }
.lightbox[data-single] .lb-prev, .lightbox[data-single] .lb-next { display: none; }

/* ---- the seller's preview of their own card ---- */
.op-preview { margin: 14px 0 0; }
.op-card-preview { max-width: 320px; margin-top: 6px; }

/* ---- AuctionHub on social media: round buttons in each platform's own colour (partials/social_follow.html) ---- */
.social-row { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.social { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 999px; color: #fff;
  box-shadow: 0 2px 6px rgba(11, 11, 20, .16); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.social:hover, .social:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(11, 11, 20, .24); }
.social .icon { width: 22px; height: 22px; stroke-width: 2; }
.social-facebook { background: #1877f2; }
.social-facebook .icon { fill: currentColor; stroke: none; }
.social-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-youtube { background: #ff0000; }
.social-linkedin { background: #0a66c2; }  /* main's marketing settings may add LinkedIn */
.social-youtube .icon path:last-child { fill: currentColor; }
.follow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.follow-lead { font-size: 14px; color: var(--muted, #676779); }
.follow-sm .social { width: 36px; height: 36px; }
.follow-sm .social .icon { width: 18px; height: 18px; }
.follow-hint { margin-top: 12px; }
.menu-follow { padding: 10px 14px; border-top: 1px solid var(--line); }
.social-named, .prose ul.social-named { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 10px; }  /* no bullets on the legal-style pages */
.social-named a { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.social-named a:hover strong { text-decoration: underline; }
.social-named strong, .social-named small { display: block; }
.social-named small { color: var(--muted, #676779); font-size: 13px; }

/* ---- sharing a listing: WhatsApp beside Share ---- */
.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.share-row .btn { min-width: 0; white-space: normal; text-align: center; }  /* a long word for "Share" wraps instead of spilling out */
.op-share .share-row { grid-template-columns: 1fr; }  /* the seller's card is narrow on phones: one button per row */
.btn-whatsapp { background: #25d366; color: #0b0b14; border-color: #25d366; font-weight: 700; }
.btn-whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; color: #0b0b14; }

/* dealer showroom pages (/dealers/<slug>/, 29 Oct 2026) */
.showroom-head { display: flex; gap: 18px; align-items: flex-start; margin: 16px 0 28px; }
.showroom-head h1 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.03em; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.showroom-head .badge { font-size: 13px; }
.avatar-lg { width: 72px; height: 72px; flex: 0 0 72px; font-size: 30px; border-radius: 22px; display: grid; place-items: center; background: var(--surface-2); font-weight: 700; }
.showroom-h2 { font-size: 20px; margin: 26px 0 12px; }

/* Diwali offer line on the dealer page (30 Oct 2026; hides itself after 15 Nov 2026) */
.offer-strip { max-width: 760px; margin: 22px auto 0; padding: 12px 18px; border-radius: 16px; text-align: center;
  background: linear-gradient(90deg, #5a1b2b, #8a2a2f); color: #ffe9c7; font-size: .95rem; line-height: 1.5;
  box-shadow: 0 10px 28px rgba(90, 27, 43, .25); }
.offer-strip-tag { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; padding: 2px 10px;
  border-radius: 999px; background: #ffd98a; color: #4a1424; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.offer-strip-compact { margin-top: 14px; font-size: .9rem; }

/* Cookie choice (30 Oct 2026): measurement cookies only after Accept; above the phone's bottom bar */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; max-width: 720px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); font-size: 14px; line-height: 1.5; }
.cookie-banner p { flex: 1 1 300px; margin: 0; color: var(--ink-2); }
.cookie-actions { display: flex; gap: 8px; margin-left: auto; }
.hdr-fit-4 .cookie-banner { bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (max-width: 600px) {  /* slimmer on phones, so it hides less of the page (31 Oct 2026) */
  .cookie-banner { left: 8px; right: 8px; gap: 8px 12px; padding: 10px 12px; font-size: 13px; line-height: 1.4; }
  .cookie-banner p { flex-basis: 100%; }
  .cookie-actions { margin-left: 0; width: 100%; }
  .cookie-actions .btn { flex: 1 1 0; padding-top: 8px; padding-bottom: 8px; }
}
.footer-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.footer-link:hover { text-decoration: underline; }
