/* Bikwao design system. One file, no framework.
   Spacing scale (px): 4 8 12 16 20 24 32 40 48. Text 15px base. */

:root {
  --navy: #0b1b3f;
  --navy-2: #13275a;
  --blue: #1d5fe0;
  --blue-dark: #1547b3;
  --blue-50: #eef4ff;
  --blue-100: #dbe7ff;
  --green: #138a4b;
  --green-50: #e8f6ee;
  --green-dark: #0b6b39; /* text on --green-50 (contrast 5.9:1) */
  --amber: #b45309;
  --amber-50: #fff6e5;
  --red: #c8321e;
  --red-50: #fdeeec;
  --ink: #101828;
  --text: #344054;
  --muted: #667085;
  --line: #e4e7ec;
  --line-2: #d0d5dd;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-lg: 0 10px 25px -5px rgba(16, 24, 40, .12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --container: 1260px;
  --gutter: 20px;
  --section: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}
body {
  margin: 0;
  font: 400 15px/1.55 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 10px; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.65rem); font-weight: 750; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 12px; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: calc(820px + var(--gutter) * 2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.center-text { text-align: center; }
.muted { color: var(--muted); font-weight: 400; }

/* Icons */
.icon { width: 18px; height: 18px; flex: none; }
.icon-sm { width: 15px; height: 15px; }

/* Buttons: crisp, professional, clear labels */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px;
  font: 600 .92rem/1 var(--font); white-space: nowrap;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; text-decoration: none !important;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn .icon { width: 16px; height: 16px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-50); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-lg { min-height: 48px; padding: 0 22px; font-size: .98rem; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .84rem; }
.btn-block { display: flex; width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.header-logo { display: inline-flex; }
.header-logo:hover { text-decoration: none; }
.logo-img { height: 42px; width: auto; max-width: none; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a { display: block; white-space: nowrap; padding: 10px 12px; border-radius: 8px; color: var(--text); font-weight: 550; }
.main-nav a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-link { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; color: var(--ink); font-weight: 600; border-radius: 8px; }
.header-link:hover { background: var(--bg-alt); text-decoration: none; }
.menu-button { display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); cursor: pointer; }
.menu-button .icon-close { display: none; }
.menu-button[aria-expanded="true"] .icon-open { display: none; }
.menu-button[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; padding: 20px 0 28px; }
.mobile-menu .btn { margin-bottom: 12px; }
.mobile-nav { list-style: none; margin-top: 8px; }
.mobile-nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.mobile-nav a:hover { text-decoration: none; }
.mobile-nav .icon { color: var(--muted); }

/* Executive Industrial Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, #071228 0%, #0c1e48 55%, #112860 100%);
  color: #fff;
  padding: 56px 0 44px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(29, 95, 224, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  text-align: center;
  margin: 0 auto;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(254, 243, 199, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-weight: 750;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.hero-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
  display: inline-block;
}
.hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.85rem);
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -.03em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.hero-lead {
  font-size: clamp(1.05rem, .96rem + .35vw, 1.22rem);
  line-height: 1.65;
  color: #334155;
  max-width: 760px;
  margin: 0 auto 26px;
  font-weight: 480;
}
.hero .hero-lead {
  color: #cbd5e1;
}
.page-hero .hero-lead {
  color: #334155 !important;
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 20px;
}
.search-box {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 860px;
  margin: 0 auto;
  transition: border-color .18s, box-shadow .18s;
}
.search-box:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 20px 42px -8px rgba(29, 95, 224, 0.45);
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 0 14px;
  color: #64748b;
}
.search-city {
  flex: 0 0 200px;
  border-left: 1.5px solid #e2e8f0;
}
.search-field input {
  width: 100%;
  min-height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: .98rem;
  color: #0f172a;
}
.search-field input::placeholder { color: #94a3b8; }
.search-box .btn {
  min-height: 46px;
  padding: 0 26px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d5fe0, #1547b3);
  box-shadow: 0 4px 12px rgba(29, 95, 224, 0.35);
}
.search-box .btn:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
}
.hero-quick-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 14px;
  font-size: .84rem;
  color: #94a3b8;
}
.hero-quick-tags .tag-label {
  font-weight: 600;
  color: #cbd5e1;
}
.hero-quick-tags a {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 3px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 550;
  transition: all .15s ease;
}
.hero-quick-tags a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  list-style: none;
  margin-top: 24px;
  color: #f1f5f9;
  font-weight: 600;
  font-size: .9rem;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-points .icon {
  color: #4ade80;
  width: 17px;
  height: 17px;
}

/* Hero Metrics Strip */
.hero-metrics-bar {
  background: #060e1f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
}
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
}
.metric-col {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
}
.metric-col:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.metric-num {
  font-size: 1.4rem;
  font-weight: 850;
  color: #60a5fa;
  line-height: 1;
}
.metric-text strong {
  display: block;
  font-size: .86rem;
  color: #f8fafc;
  font-weight: 700;
}
.metric-text small {
  font-size: .76rem;
  color: #94a3b8;
}
@media (max-width: 900px) {
  .hero-metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .metric-col:nth-child(2) { border-right: none; }
}
@media (max-width: 540px) {
  /* two per row on phones (owner, 2026-10-31): number above its label so each cell stays compact */
  .hero-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .metric-col { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 10px; border-right: none !important; }
  .metric-text strong { font-size: .8rem; }
  .metric-text small { font-size: .72rem; }
}

/* Sections */
.section { padding: var(--section) 0; }
.section-tight { padding-top: 0; padding-bottom: 24px; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.section-head-center { justify-content: center; text-align: center; }
.eyebrow { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blue-dark); }

/* Buy / sell paths */
.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 24px;
}
.path-card {
  position: relative;
  padding: 26px 28px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: #ffffff;
  box-shadow: 0 4px 16px -2px rgba(16, 24, 40, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.path-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -4px rgba(16, 24, 40, .12);
}
.path-buy { border-top: 4px solid #1d5fe0; }
.path-sell { border-top: 4px solid #138a4b; }
.path-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.path-badge {
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}
.path-buy .path-badge { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.path-sell .path-badge { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.path-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.path-icon .icon { width: 24px; height: 24px; }
.path-buy .path-icon { background: #dbeafe; color: #1d5fe0; }
.path-sell .path-icon { background: #dcfce7; color: #15803d; }
.path-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #0f172a;
}
.path-card p {
  color: #475569;
  font-size: .94rem;
  margin-bottom: 20px;
  line-height: 1.55;
  flex: 1;
}
.path-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

/* Categories */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
.category-tile { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; color: var(--ink); transition: box-shadow .2s, transform .2s, border-color .2s; }
.category-tile:hover { text-decoration: none; box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--line-2); }
.category-media { aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; }
.category-media img { width: 100%; height: 100%; object-fit: cover; }
.category-name { padding: 10px 14px 2px; font-weight: 700; line-height: 1.35; font-size: .92rem; }
.category-meta { padding: 0 14px 12px; color: var(--muted); font-size: .8rem; }

/* Listings */
.listing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.listing-card { display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.listing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
/* Fixed 4:3 frame: tall or wide photos are cropped to fit, so every card in a row lines up */
.listing-card-media { position: relative; display: block; flex: none; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.listing-card-media { background: #fff; }
.listing-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; } /* any photo fits the card whole (owner, 2026-10-31) */
.listing-card-body .eyebrow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listing-card-kind { display: flex; align-items: center; gap: 6px; }
.listing-card-kind > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.kind { flex: none; padding: 1px 6px; border-radius: 4px; font-size: .68rem; letter-spacing: .03em; }
.kind-new { background: var(--green-50); color: var(--green-dark); }
.kind-surplus { background: var(--amber-50); color: var(--amber); }
.listing-card-title { min-height: 2.5em; }
.media-empty { display: flex; height: 100%; align-items: center; justify-content: center; color: #98a2b3; }
.media-empty .icon { width: 36px; height: 36px; }
.tag { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: .75rem; font-weight: 650; background: var(--blue-50); color: var(--blue-dark); }
.tag-on-media { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: var(--shadow); }
.listing-card-body { display: flex; flex-direction: column; flex: 1; padding: 14px; }
.listing-card-title { font-size: .92rem; line-height: 1.35; margin-bottom: 8px; }
.listing-card-title a { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 10px; font-size: .82rem; }
.facts dt { font-size: .75rem; color: var(--muted); font-weight: 550; }
.facts dd { margin: 0; color: var(--ink); font-weight: 650; }
.listing-card-foot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.meta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .84rem; }
.meta.seller { color: var(--text); font-weight: 550; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.verified { display: inline-flex; color: var(--green); }
.plan-badge-row { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--text); margin: 3px 0 6px; }
.cta-card { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px; border: 2px dashed var(--line-2); background: transparent; color: var(--text); min-height: 250px; }
.cta-card:hover { border-color: var(--blue); text-decoration: none; background: #fff; }
.cta-card strong { color: var(--ink); font-size: 1.05rem; }
.cta-card-icon { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 10px; background: var(--blue-50); color: var(--blue); }
.cta-card .link-arrow { color: var(--blue); margin-top: 4px; }

/* How it works */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.how-col { padding: 30px 28px; border: 1.5px solid #e2e8f0; border-radius: 18px; background: #ffffff; box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05); }
.how-col:hover { box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.09); }
.how-col h2, .how-col h3 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; font-weight: 800; color: #0b1b3f; margin-bottom: 22px; }
.how-col h2 .icon, .how-col h3 .icon { color: var(--blue); width: 24px; height: 24px; }
.steps { list-style: none; counter-reset: step; margin-bottom: 24px; padding: 0; }
.steps li { position: relative; padding: 0 0 18px 48px; counter-increment: step; font-size: .95rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-50); color: var(--blue-dark); font-weight: 800; font-size: .9rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(29, 95, 224, 0.15); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: var(--line); }
.steps strong { display: block; color: #0f172a; font-size: 1rem; font-weight: 750; margin-bottom: 4px; }
.steps span { color: #334155; font-size: .93rem; line-height: 1.55; display: block; }

/* Requirements */
.req-list { list-style: none; display: grid; gap: 12px; margin-bottom: 20px; }
.req-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; }
.req-item h3 { margin-bottom: 6px; font-size: 1.05rem; }
.req-item h3 a { color: var(--ink); }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; color: var(--muted); font-size: .86rem; }
.meta-row span { display: inline-flex; align-items: center; gap: 5px; }
.note-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--blue-100); }
.note-card p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.note-card strong { color: var(--ink); font-size: 1.02rem; }
.note-card .btn { margin-left: auto; }
.note-icon { display: inline-flex; flex: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; background: var(--blue-50); color: var(--blue); }
.note-icon .icon { width: 22px; height: 22px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
.feature-grid li { padding: 20px 18px; border-radius: var(--radius); background: var(--bg-alt); }
.feature-grid h3 { font-size: 1rem; margin-bottom: 4px; }
.feature-grid p { color: var(--muted); margin: 0; font-size: .88rem; line-height: 1.45; }
.feature-icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; background: #fff; color: var(--blue); margin-bottom: 12px; box-shadow: var(--shadow); }
.feature-icon .icon { width: 20px; height: 20px; }

/* FAQ */
.faq-list { display: grid; gap: 10px; margin-bottom: 24px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 650; color: var(--ink); font-size: .96rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--muted); transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { padding: 0 18px 16px; margin: 0; font-size: .9rem; line-height: 1.55; }

/* CTA band */
.cta-band { background: var(--navy); color: #d6def0; padding: 40px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; font-size: .98rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Homepage banners (Admin > Homepage banners): 4:1 pictures, swipe or tap a dot; space reserved so nothing jumps */
.home-banners { margin-top: 24px; max-width: 100%; overflow: hidden; }
.home-banner-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); overscroll-behavior-x: contain; max-width: 100%; }
.home-banner-track::-webkit-scrollbar { display: none; }
.home-banner { display: block; aspect-ratio: 7.5 / 1; max-height: 160px; scroll-snap-align: start; background: var(--bg-alt); max-width: 100%; overflow: hidden; }
.home-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-banner-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.home-banner-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--line-2); cursor: pointer; }
.home-banner-dots button.is-on { background: var(--blue); width: 24px; border-radius: 6px; }
@media (max-width: 720px) { .home-banner { aspect-ratio: 16 / 5.5; max-height: 110px; } }

/* Recently sold lots (partials/recently-sold) */
.sold-block { margin-top: 28px; }
.sold-block h3 { margin: 0 0 12px; font-size: 1.05rem; }
.sold-list { display: grid; gap: 8px; list-style: none; margin: 0 0 12px; padding: 0; }
.sold-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.sold-item > div { display: grid; gap: 2px; min-width: 0; }

/* Trade shows (pages/trade-shows) */
.show-month + .show-month { margin-top: 32px; }
.show-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.show-item { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.show-item h3 { margin: 0 0 4px; font-size: 1.08rem; }
.show-item p { margin: 0 0 6px; }
.show-date { font-weight: 700; color: var(--blue-dark); }
@media (max-width: 720px) { .show-item { grid-template-columns: 1fr; gap: 6px; } }

/* Free tools (pages/tools/*) */
.tool-card { display: grid; gap: 18px; margin: 8px 0 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tool-card-wide .field-row { align-items: start; }
.tool-result { display: grid; gap: 0; margin: 4px 0 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.tool-result > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tool-result > div:last-child { border-bottom: 0; }
.tool-result dt { color: var(--muted); }
.tool-result dd { margin: 0; font-weight: 700; color: var(--ink); }
.tool-total { background: var(--blue-50); }
.tool-total dd { font-size: 1.2rem; color: var(--blue-dark); }
.invoice-items { display: grid; gap: 8px; }
.invoice-item { display: grid; grid-template-columns: 3fr 1.2fr 1fr 1fr 1.2fr 1fr; gap: 8px; }
.invoice-item-head span { font-size: .8rem; font-weight: 600; color: var(--muted); }
@media (max-width: 720px) { .invoice-item { grid-template-columns: 1fr 1fr; } .invoice-item > :first-child { grid-column: 1 / -1; } .invoice-item-head { display: none; } .tool-card { padding: 18px; } }

/* Homepage: popular categories, stock types, trading cities, 0% brokerage band */
.popular-cats { margin-top: 32px; }
.popular-cats h3 { margin: 0 0 12px; font-size: 1.05rem; }
.chip-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chip-links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: .92rem; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s; }
.chip-links a:hover { border-color: var(--blue); color: var(--blue); }
.type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.type-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 4px 14px; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.type-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.type-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.type-body { display: grid; gap: 4px; }
.type-body small { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.type-count { grid-column: 2; color: var(--blue); font-weight: 700; font-size: .9rem; }
.hub-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.hub-card { display: grid; gap: 4px; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.hub-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.hub-card strong { font-size: 1.08rem; }
.hub-state { color: var(--muted); font-size: .85rem; }
.hub-card small { color: var(--text); font-size: .88rem; line-height: 1.45; }
.hub-count { margin-top: 6px; color: var(--blue); font-weight: 700; font-size: .9rem; }
.brokerage-band {
  background: linear-gradient(135deg, #071228 0%, #0d1f4a 60%, #152b66 100%);
  color: #e2e8f0;
  padding: 44px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brokerage-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brokerage-badge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(74, 222, 128, 0.1);
  border: 1.5px solid rgba(74, 222, 128, 0.35);
  border-radius: 16px;
  padding: 12px 24px;
  min-width: 130px;
}
.brokerage-big {
  margin: 0;
  font-size: 3.4rem;
  font-weight: 850;
  line-height: 1;
  color: #4ade80;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}
.brokerage-badge-label {
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #86efac;
  margin-top: 4px;
}
.brokerage-inner h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
}
.brokerage-inner p {
  margin: 0;
  max-width: 650px;
  color: #cbd5e1;
  font-size: .95rem;
  line-height: 1.55;
}
@media (max-width: 1080px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .type-grid { grid-template-columns: 1fr; }
  .brokerage-inner { grid-template-columns: 1fr; gap: 18px; text-align: center; justify-items: center; }
  .brokerage-big { font-size: 3rem; }
}

/* Footer (partials/footer.php): every part is its own clearly separated band (owner, 2026-10-02). */
.site-footer { background: #081430; color: #b7c2da; padding: 40px 0 28px; font-size: .92rem; }
.site-footer a { color: #dfe6f5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-title { margin: 0 0 14px; color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.footer-action { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--radius); background: #fff; color: var(--ink) !important; box-shadow: var(--shadow-lg); text-decoration: none !important; border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.footer-action:hover { transform: translateY(-2px); border-color: var(--blue); }
.footer-action > span:nth-child(2) { display: grid; flex: 1; }
.footer-action strong { font-size: 1.02rem; }
.footer-action small { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.footer-action > .icon:last-child { color: var(--blue); }
.footer-action-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); flex: none; }
.footer-main { display: grid; grid-template-columns: minmax(260px, 1.1fr) 3fr; gap: 48px; padding: 16px 0 40px; }
.footer-logo { display: inline-flex; padding: 10px 14px; background: #fff; border-radius: 12px; }
.footer-logo .logo-img { height: 34px; }
.footer-brand > p { margin: 18px 0 26px; max-width: 340px; line-height: 1.6; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact li > span { display: grid; gap: 2px; }
.footer-contact .icon { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #8ea0c4; }
.footer-label { color: #8ea0c4; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.footer-groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.footer-group li + li { margin-top: 11px; }
.footer-rows { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-row .footer-title { margin: 0; }
.footer-row ul { display: flex; flex-wrap: wrap; gap: 8px 0; }
.footer-row li:not(:last-child)::after { content: "·"; margin: 0 12px; color: #4a5b80; }
.footer-more { font-weight: 700; }
.footer-news { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: #0f1f45; border: 1px solid #22365f; }
.footer-news-text label { display: block; color: #fff; font-weight: 700; font-size: 1rem; }
.footer-news-text p { margin: 4px 0 0; color: #8ea0c4; font-size: .88rem; }
.footer-news-row { display: flex; gap: 8px; flex: 1; max-width: 460px; }
.footer-news .input { flex: 1; min-height: 46px; background: #081430; border-color: #2a3c66; color: #fff; }
.footer-news .input::placeholder { color: #8ea0c4; }
.footer-news .btn { min-height: 46px; }
.footer-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; margin-top: 24px; padding: 14px 20px; color: #dfe6f5; font-size: .9rem; }
.footer-facts li { display: inline-flex; align-items: center; gap: 8px; }
.footer-facts .icon { color: #4ade80; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom p { margin: 0; font-size: .88rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: #b7c2da; font-size: .88rem; }
@media (max-width: 1080px) {
  .footer-actions { grid-template-columns: 1fr; margin-bottom: 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}
@media (max-width: 720px) {
  .footer-row { grid-template-columns: 1fr; gap: 12px; }
  .footer-row ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
  .footer-row li:not(:last-child)::after { content: none; }
  .footer-news { padding: 20px; }
  .footer-news-row { flex-direction: column; max-width: none; width: 100%; }
  .footer-facts { flex-direction: column; align-items: flex-start; padding: 14px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Error pages */
.error-page { min-height: 60vh; }
.error-code { font-size: 1rem; font-weight: 700; color: var(--blue); letter-spacing: .1em; }
.error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Tablet */
@media (max-width: 1240px) {
  .main-nav, .header-actions { display: none; }
  .menu-button { display: inline-flex; }
}
@media (min-width: 1241px) { .mobile-menu { display: none !important; } }
@media (max-width: 1080px) {
  .menu-button { display: inline-flex; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Phone */
@media (max-width: 720px) {
  :root { --gutter: 16px; --section: 56px; }
  body { font-size: 16px; }
  .header-row { min-height: 64px; }
  .logo-img { height: 36px; }
  .hero { padding: 48px 0 40px; }
  .hero-kicker { font-size: clamp(.68rem, 2.8vw, .78rem); padding: 5px 12px; white-space: normal; text-align: center; max-width: 100%; box-sizing: border-box; }
  .hero-kicker span { white-space: normal; line-height: 1.3; }
  .hero-lead { font-size: 1.05rem; margin-bottom: 28px; }
  .search-box { flex-direction: column; padding: 12px; width: 100%; max-width: 100%; box-sizing: border-box; }
  .search-field { width: 100%; min-width: 0; box-sizing: border-box; }
  .search-field input { width: 100%; min-width: 0; }
  .search-city { width: 100%; min-width: 0; flex: none; border-left: 0; border-top: 1px solid var(--line); }
  .search-box .btn { width: 100%; }
  .hero-points { flex-direction: column; align-items: flex-start; max-width: 100%; width: 100%; margin: 24px auto 0; gap: 10px; box-sizing: border-box; }
  .hero-points li { width: 100%; box-sizing: border-box; }
  .paths, .how-grid { grid-template-columns: 1fr; gap: 16px; }
  .path-card, .how-col { padding: 20px; min-width: 0; max-width: 100%; box-sizing: border-box; }
  .path-card-top { flex-wrap: wrap; gap: 8px; }
  .path-badge { max-width: 100%; }
  .path-actions .btn { flex: 1 1 100%; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .section-head-center { align-items: center; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-name { padding: 12px 12px 2px; font-size: .95rem; }
  .category-meta { padding: 0 12px 12px; font-size: .82rem; }
  /* Two cards per row on phones, with a compact card body */
  .listing-grid, .listing-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .listing-grid .listing-card-body { padding: 10px; }
  .listing-grid .listing-card-body .eyebrow { font-size: .62rem; margin-bottom: 4px; }
  .listing-grid .listing-card-title { font-size: .88rem; margin-bottom: 8px; }
  .listing-grid .facts { grid-template-columns: 1fr; gap: 4px; margin-bottom: 8px; font-size: .82rem; }
  .listing-grid .facts dt { font-size: .7rem; }
  .listing-grid .listing-card-foot { padding-top: 8px; gap: 2px; font-size: .75rem; }
  .listing-grid .listing-card-foot .meta { font-size: .75rem; }
  .listing-grid .listing-card-foot .member-badge { font-size: .65rem; padding: 2px 6px; }
  .listing-grid .tag-on-media { left: 6px; top: 6px; padding: 2px 8px; font-size: .66rem; }
  .cta-card { min-height: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .req-item, .note-card { flex-direction: column; align-items: flex-start; padding: 20px; }
  .req-item .btn, .note-card .btn { width: 100%; margin-left: 0; }
  .cta-band { padding: 56px 0; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band-actions, .cta-band-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Tag tones */
.tag-green { color: var(--green) !important; }
.tag-blue { color: var(--blue-dark) !important; }
.tag-amber { color: var(--amber) !important; }
.tag-red { color: var(--red) !important; }
.note-card-spaced { margin-top: 32px; }
.note-icon-green { background: var(--green-50); color: var(--green); }

/* Forms */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 8px; }
.input { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.input-code { font-size: 1.6rem; letter-spacing: .4em; text-align: center; font-weight: 700; }
.hint { margin: 0; font-size: .9rem; color: var(--muted); }
.form-error { margin: 6px 0 0 0; font-size: .875rem; color: #dc2626; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.has-error .input, .has-error select, .has-error textarea { border: 2px solid #ef4444 !important; background-color: #fef2f2 !important; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.static-value { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 14px; background: var(--bg-alt); border-radius: var(--radius-sm); color: var(--ink); font-weight: 550; overflow-wrap: anywhere; }
.static-value .icon { color: var(--green); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-weight: 450 !important; color: var(--text) !important; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .choice-grid-2 { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: grid; gap: 4px; height: 100%; padding: 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); transition: border-color .15s, background .15s; }
.choice small { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.choice strong { color: var(--ink); }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.note-inline { display: flex; gap: 12px; padding: 16px; border-radius: var(--radius-sm); background: var(--green-50); color: var(--text); }
.note-inline .icon { color: var(--green); margin-top: 2px; }
.link-button { padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 600; cursor: pointer; }
.link-button:hover { text-decoration: underline; }

/* Alerts */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 500; }
.alert .icon { margin-top: 2px; }
.alert-success { background: var(--green-50); color: #0d5f34; }
.alert-error { background: var(--red-50); color: #9b2615; }
.alert-info { background: var(--blue-50); color: var(--blue-dark); }

/* Sign-in pages */
.auth-page { padding: 64px 0 96px; background: var(--bg-alt); min-height: 70vh; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 420px); justify-content: center; gap: 48px; align-items: start; }
.auth-narrow { max-width: calc(720px + var(--gutter) * 2); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.75rem; }
.auth-lead { color: var(--muted); margin-bottom: 24px; }
.auth-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: var(--blue-50); color: var(--blue); margin-bottom: 16px; }
.auth-icon .icon { width: 26px; height: 26px; }
.auth-alt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 20px; font-size: .95rem; color: var(--muted); }
.auth-alt form { margin: 0; }
.auth-terms { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.auth-side { padding: 24px 8px; }
.auth-side h2 { font-size: 1.4rem; margin-bottom: 20px; }
.check-list { list-style: none; display: grid; gap: 16px; margin-bottom: 28px; }
.check-list li { display: flex; gap: 12px; }
.check-list .icon { color: var(--green); margin-top: 3px; }
.auth-help { font-size: .95rem; color: var(--muted); }
.btn-google { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-google:hover { border-color: var(--ink); }
.btn-google:disabled { opacity: .6; cursor: wait; }
.divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--muted); font-size: .9rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.progress { display: flex; gap: 8px; list-style: none; margin-bottom: 24px; font-size: .85rem; color: var(--muted); }
.progress li { flex: 1; padding-top: 10px; border-top: 4px solid var(--line); }
.progress .done { border-color: var(--green); color: var(--green); }
.progress .current { border-color: var(--blue); color: var(--ink); font-weight: 650; }

@media (max-width: 960px) {
  .auth-grid { grid-template-columns: minmax(0, 560px); }
  .auth-side { padding: 0 4px; }
}
@media (max-width: 720px) {
  .auth-page { padding: 24px 0 56px; }
  .auth-card { padding: 24px 20px; border-radius: 16px; }
  .field-row, .choice-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Admin sign-in */
.admin-body { background: var(--bg-alt); }
.auth-admin { max-width: calc(480px + var(--gutter) * 2); }
.admin-brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.admin-brand .logo-img { height: 34px; }

/* Inner pages */
.page-top { border-bottom: 1px solid var(--line); background: #fff; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 14px 0; font-size: .9rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin: 0 10px; color: #c0c6d0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 550; }
.page-hero { padding: 48px 0; background: linear-gradient(180deg, var(--blue-50), #fff); }
.page-hero-plain { padding: 48px 0 40px; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); margin-bottom: 16px; }
.page-lead { font-size: 1.1rem; color: var(--text); max-width: 720px; margin-bottom: 24px; }
.page-hero-media img { width: 100%; aspect-ratio: 14 / 9; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.stat-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-bottom: 28px; }
.stat-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.stat-chips .icon { color: var(--blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section-block { padding-top: 48px; padding-bottom: 8px; }
.section-pad { padding-top: 56px; padding-bottom: 56px; }
.block-title { font-size: 1.5rem; margin-bottom: 20px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); font-weight: 550; background: #fff; }
.chip-link:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.chip-count { display: inline-flex; min-width: 24px; justify-content: center; padding: 1px 8px; border-radius: 999px; background: var(--blue-50); color: var(--blue-dark); font-size: .8rem; font-weight: 700; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 14px 16px; margin-bottom: 24px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.filter-count { margin: 0; color: var(--muted); }
.filter-count strong { color: var(--ink); }
.filter-fields { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.input-sm { min-height: 42px; padding: 8px 36px 8px 12px; font-size: .95rem; width: auto; }
.filter-check { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; color: var(--ink); cursor: pointer; }
.filter-check input { width: 18px; height: 18px; accent-color: var(--blue); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.filter-clear { font-weight: 600; font-size: .95rem; }
.js .filter-bar [type="submit"] { display: none; }
.filter-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.filter-toggle .icon { margin-right: 6px; }
.filter-price { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; color: var(--muted); font-size: .9rem; }
.filter-price .input-sm { width: 104px; padding-right: 12px; }
.filter-chips { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-dark); font-size: .88rem; font-weight: 600; text-decoration: none; }
.filter-chip:hover { background: var(--blue); color: #fff; }
.filter-bar.is-folded .filter-fields { display: none; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 40px 0 8px; }
.page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; background: #fff; }
.page-link:hover { border-color: var(--blue); text-decoration: none; }
.page-link.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-gap { align-self: center; color: var(--muted); }

.empty-state { text-align: center; padding: 48px 24px; border: 2px dashed var(--line-2); border-radius: 20px; background: #fff; }
.empty-state h2, .empty-state h3 { font-size: 1.3rem; }
.empty-state p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; }
.empty-icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 16px; background: var(--blue-50); color: var(--blue); margin-bottom: 16px; }
.empty-icon .icon { width: 28px; height: 28px; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-bottom: 16px; }
.prose h3 { margin-top: 28px; }
.prose h2:not(:first-child) { margin-top: 36px; }
.prose p { font-size: 1.05rem; }
.tick-list { list-style: none; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list .icon { color: var(--green); margin-top: 4px; }
.side-card { position: sticky; top: 100px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.side-card h2 { font-size: 1.15rem; }
.side-card p { color: var(--muted); }
.side-card hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.link-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 24px; list-style: none; }
.link-grid a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 550; }
.link-grid a:hover { color: var(--blue); text-decoration: none; }
.link-grid .icon { color: var(--muted); flex: none; }
.container > .section-block:last-child { padding-bottom: 72px; }

.search-inline { display: flex; gap: 8px; max-width: 640px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.section-title-sm { font-size: 1.35rem; margin: 0 0 20px; }
.category-grid-all { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin-bottom: 56px; }
.category-grid-all .category-media { aspect-ratio: 16 / 9; }
.category-grid-all .category-name { padding: 10px 12px 2px; font-size: .9rem; }
.category-grid-all .category-meta { padding: 0 12px 12px; font-size: .8rem; }
@media (max-width: 720px) { .category-grid-all { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.sector-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sector { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 100px; }
.sector-head { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sector-head h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.sector-head h3 a { color: var(--ink); }
.sector-head .meta { flex: none; font-size: .82rem; }
.sector-head::-webkit-details-marker { display: none; }
.sector:not([open]) .sector-head { padding-bottom: 0; border-bottom: 0; }
.sector-head::after { content: ""; flex: none; width: 8px; height: 8px; margin-left: 4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.sector:not([open]) .sector-head::after { transform: rotate(-45deg); }
.sector-children { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; margin: 12px 0 0; padding: 0; }
.sector-children a { color: var(--text); font-size: .92rem; }
.sector-more summary { margin-top: 12px; color: var(--blue-dark); font-weight: 650; font-size: .9rem; cursor: pointer; list-style: none; }
.sector-more summary::-webkit-details-marker { display: none; }
.sector-more summary::after { content: " +"; }
.sector-more[open] summary::after { content: " -"; }

@media (max-width: 1080px) {
  .page-hero-grid, .content-grid { grid-template-columns: 1fr; gap: 32px; }
  .side-card { position: static; }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-hero { padding: 28px 0; }
  .page-hero-media { order: -1; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-fields { flex-direction: column; align-items: stretch; }
  .filter-price { width: 100%; }
  .filter-price label { flex: 1; }
  .filter-price .input-sm { width: 100%; }
  .input-sm { width: 100%; }
  .link-grid { grid-template-columns: 1fr; }
  .sector { padding: 14px 16px; }
  .sector-list { gap: 10px; }
  .sector-head h3 { font-size: .98rem; }
  .sector-children { grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .sector-children a { font-size: .86rem; }
  .search-inline { flex-direction: column; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Listing detail */
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: start; padding-top: 32px; padding-bottom: 64px; }
.listing-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--bg-alt); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery-main .media-empty { flex-direction: column; gap: 8px; }
.gallery-thumbs { display: flex; gap: 10px; list-style: none; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; max-width: 100%; }
.gallery-thumbs a { display: block; width: 88px; height: 66px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .75; }
.gallery-thumbs a.is-active, .gallery-thumbs a:hover { border-color: var(--blue); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.detail-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin-bottom: 16px; }
.detail-card h2 .icon { color: var(--green); }
.pre-line { white-space: pre-line; overflow-wrap: anywhere; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.spec-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 0; }
.spec-table div { display: flex; flex-direction: column; justify-content: flex-start; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line); min-width: 0; }
.spec-table dt { color: var(--muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin: 0; }
.spec-table dd { margin: 0; color: var(--ink); font-size: .88rem; font-weight: 700; text-align: left; overflow-wrap: anywhere; word-break: break-word; }
.doc-list { list-style: none; display: grid; gap: 10px; }
.doc-list a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.safety-card { background: var(--green-50); border-color: #cdebd9; }
.tick-list { list-style: none; display: grid; gap: 8px; margin: 0 0 12px; padding: 0; }
.tick-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; line-height: 1.45; }
.listing-side { display: grid; gap: 20px; min-width: 0; }
.buy-box, .seller-card, .enquiry-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); min-width: 0; }
.listing-title { font-size: 1.6rem; line-height: 1.25; margin: 4px 0 10px; overflow-wrap: anywhere; }
.price-box { margin: 20px 0; padding: 18px 20px; border-radius: 14px; background: var(--bg-alt); }
.price { margin: 0; font-size: 1.8rem; font-weight: 800; color: var(--ink); }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-note { margin: 4px 0 0; color: var(--muted); }
.price-note strong { color: var(--green); }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; margin: 0 0 20px; }
.fact-list div { display: flex; flex-direction: column; justify-content: flex-start; gap: 2px; padding: 8px 10px; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--line); min-width: 0; }
.fact-list dt { color: var(--muted); font-size: .70rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.fact-list dd { margin: 0; color: var(--ink); font-size: .86rem; font-weight: 700; text-align: left; overflow-wrap: anywhere; word-break: break-word; }
.contact-actions { display: grid; gap: 10px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-whatsapp { background: #1da851; color: #fff; }
.btn-whatsapp:hover { background: #168a42; }
.seller-label { margin: 0; font-size: .85rem; color: var(--muted); }
.seller-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 14px; font-size: 1.2rem; font-weight: 750; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.badge-verified { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--green-50); color: var(--green); font-size: .8rem; font-weight: 700; position: relative; }
.badge-has-tooltip { cursor: help; }
.badge-tip-text { visibility: hidden; opacity: 0; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 280px; max-width: 85vw; background: #0f172a; color: #f8fafc; font-size: 0.76rem; font-weight: 400; line-height: 1.45; padding: 10px 12px; border-radius: 8px; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35); z-index: 200; transition: opacity 0.18s ease, visibility 0.18s ease; pointer-events: none; text-align: left; }
.badge-tip-text strong { color: #38bdf8; display: block; margin-bottom: 3px; font-weight: 600; }
.badge-tip-text em { font-style: normal; font-weight: 600; color: #cbd5e1; }
.badge-tip-text::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: #0f172a transparent transparent transparent; }
.badge-has-tooltip:hover .badge-tip-text, .badge-has-tooltip:focus-within .badge-tip-text, .badge-has-tooltip:focus .badge-tip-text { visibility: visible; opacity: 1; }

/* Circular info tooltip helper */
.tip-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1.5px solid #94a3b8;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  font-family: system-ui, -apple-system, sans-serif;
  font-style: normal;
  line-height: 1;
  margin-left: 6px;
  cursor: help;
  position: relative;
  vertical-align: middle;
  transition: all 0.15s ease;
  user-select: none;
  box-sizing: border-box;
}
.tip-trigger:hover,
.tip-trigger:focus,
.tip-trigger:focus-within,
.tip-trigger.is-active {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.tip-popup {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  max-width: 82vw;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.45;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  z-index: 500;
  pointer-events: none;
  text-align: left;
  white-space: normal;
  text-transform: none;
  letter-spacing: normal;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
.tip-popup strong {
  color: #38bdf8;
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}
.tip-popup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #0f172a transparent transparent transparent;
}
.tip-trigger:hover .tip-popup,
.tip-trigger:focus .tip-popup,
.tip-trigger:focus-within .tip-popup,
.tip-trigger.is-active .tip-popup {
  visibility: visible;
  opacity: 1;
}
@media (max-width: 640px) {
  .tip-popup {
    left: auto;
    right: -24px;
    transform: none;
    width: 220px;
  }
  .tip-popup::after {
    left: auto;
    right: 28px;
    margin-left: 0;
  }
  .listing-card-actions { margin-top: 8px; }
  .listing-card-actions .btn { font-size: 0.76rem; padding: 6px 8px; min-height: 34px; line-height: 1.2; }
}
@media (max-width: 380px) {
  /* Two products per row on every phone (owner, 2026-10-31), a little tighter on narrow screens. */
  .listing-grid, .listing-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .listing-grid .listing-card-body { padding: 8px; }
  .listing-grid .listing-card-title { font-size: .82rem; }
}
.member-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.badge-starter { background: var(--gray-100); color: var(--muted); }
.badge-verified-seller { background: #e8f0fe; color: #1a56db; }
.badge-trusted-seller { background: var(--green-50); color: var(--green); }
.badge-premium-seller { background: #fef3c7; color: #b45309; }
.badge-elite-seller { background: #ede9fe; color: #6d28d9; }
.seller-facts { list-style: none; display: grid; gap: 8px; margin: 8px 0 14px; padding: 0; color: var(--text); }
.seller-facts li { display: flex; align-items: center; gap: 8px; font-size: .88rem; min-width: 0; overflow-wrap: anywhere; }
.seller-facts .icon { color: var(--muted); flex-shrink: 0; }
.enquiry-card { display: grid; gap: 12px; scroll-margin-top: 140px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); min-width: 0; }
.enquiry-card h2 { font-size: 1.2rem; margin: 0; }
.enquiry-card .alert { margin: 0; }
.enquiry-card .field { display: grid; gap: 4px; }
.enquiry-card .field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.enquiry-card .input { min-height: 44px; padding: 10px 12px; font-size: .95rem; }
.enquiry-card textarea.input { min-height: 80px; }
.enquiry-card .hint { font-size: .82rem; margin: 0; }
textarea.input { min-height: 100px; resize: vertical; line-height: 1.5; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.hp-field label, .hp-field input { width: 1px !important; max-width: 1px !important; height: 1px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; font-size: 0 !important; }

/* Browse page */
.browse-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.browse-side { position: sticky; top: 96px; display: grid; gap: 16px; }
.side-title { font-size: 1rem; margin: 0; }
.side-links { list-style: none; display: grid; gap: 2px; }
.side-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.side-links a:hover { background: var(--bg-alt); text-decoration: none; color: var(--ink); }
.side-note { padding: 20px; border-radius: 16px; background: var(--blue-50); }
.side-note p { color: var(--text); font-size: .95rem; margin: 6px 0 14px; }
.listing-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1080px) {
  .listing-layout, .browse-layout { grid-template-columns: 1fr; }
  .listing-side, .browse-side { position: static; min-width: 0; }
  .listing-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .browse-side { order: 2; }
}
@media (max-width: 720px) {
  .listing-layout { padding-top: 16px; gap: 20px; }
  .buy-box, .seller-card, .enquiry-card, .detail-card { padding: 18px 16px; border-radius: 16px; }
  .listing-title { font-size: 1.35rem; }
  .listing-grid-2, .listing-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* Cities */
.city-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin-bottom: 56px; }
.city-tile { position: relative; display: block; border-radius: 18px; overflow: hidden; color: #fff; aspect-ratio: 4 / 3; }
.city-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.city-tile:hover img { transform: scale(1.04); }
.city-tile:hover { text-decoration: none; }
.city-tile-body { position: absolute; inset: auto 0 0 0; display: grid; gap: 2px; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(8, 20, 48, .85)); }
.city-tile-body strong { font-size: 1.2rem; }
.city-tile-body span { font-size: .9rem; opacity: .9; }
.state-list { columns: 3 280px; column-gap: 40px; }
.state-group { break-inside: avoid; margin-bottom: 32px; }
.state-group h2 { font-size: 1.1rem; padding-bottom: 8px; border-bottom: 2px solid var(--blue-50); }
.state-group ul { list-style: none; display: grid; gap: 8px; }
.state-group a { color: var(--text); font-weight: 550; }
@media (max-width: 1080px) { .city-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .city-feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .city-tile-body { padding: 28px 12px 10px; } }
.city-name-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 14 / 9; border-radius: 20px; color: #fff; background: radial-gradient(circle at 30% 20%, #2a4f9c, var(--navy) 70%); box-shadow: var(--shadow-lg); text-align: center; padding: 24px; }
.city-name-tile .icon { width: 36px; height: 36px; opacity: .8; }
.city-name-tile strong { font-size: clamp(1.8rem, 1rem + 2vw, 2.6rem); letter-spacing: -.02em; }
.city-name-tile span { opacity: .8; }
@media (max-width: 720px) { .city-name-tile { aspect-ratio: 16 / 7; } }

/* Company and suppliers */
.avatar { flex: none; border-radius: 16px; object-fit: contain; padding: 6px; background: #fff; border: 1px solid var(--line); } /* whole logo, never cropped */
.avatar-sm { width: 56px; height: 56px; }
.avatar-lg { width: 96px; height: 96px; border-radius: 22px; }
.avatar-letter { display: inline-flex; align-items: center; justify-content: center; padding: 0; background: var(--blue-50); color: var(--blue-dark); font-weight: 800; font-size: 1.4rem; border: 0; }
.avatar-lg.avatar-letter { font-size: 2.4rem; }
.company-head { padding: 40px 0; background: linear-gradient(180deg, var(--blue-50), #fff); }
.company-head-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.company-id { flex: 1; min-width: 260px; }
.company-id h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin-bottom: 12px; overflow-wrap: anywhere; }
.company-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; color: var(--text); align-items: center; margin: 0 0 12px; }
.company-facts li { display: inline-flex; align-items: center; gap: 6px; }
.company-facts .icon { color: var(--muted); }
.badge-plain { padding: 3px 10px; border-radius: 999px; background: var(--bg-alt); font-size: .85rem; font-weight: 600; color: var(--text); }
.company-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.supplier-search { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 900px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.supplier-search .search-field { min-width: 200px; }
.supplier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 16px 0 0; }
.supplier-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.supplier-top { display: flex; gap: 14px; align-items: center; }
.supplier-top h2 { font-size: 1.1rem; margin: 0 0 4px; }
.supplier-top h2 a { color: var(--ink); }
.supplier-card .btn { margin-top: auto; }
@media (max-width: 1080px) { .supplier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .supplier-grid { grid-template-columns: 1fr; } .company-actions { width: 100%; } .company-actions .btn { flex: 1; } .supplier-search { flex-direction: column; align-items: stretch; } }
.note-blue { background: var(--blue-50); }
.note-blue .icon { color: var(--blue); }
.input-group { display: grid; grid-template-columns: 1fr 120px; gap: 8px; }
.input-group.input-group-prefix { grid-template-columns: auto 1fr; }
.phone-input-group { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 8px; align-items: stretch; }
.select-country { padding: 8px 6px; font-weight: 600; font-size: .88rem; background-color: var(--bg-alt); text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
@media (max-width: 480px) {
  .phone-input-group { grid-template-columns: 104px minmax(0, 1fr); gap: 6px; }
  .select-country { padding: 8px 4px; font-size: .82rem; }
}
.input-prefix { display: flex; align-items: center; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-alt); font-weight: 600; color: var(--ink); }
.phone-signin .link-button { justify-self: center; }
.phone-signin[hidden], .phone-signin [hidden] { display: none; }

/* Policy and info pages */
.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 40px; padding-bottom: 80px; }
.doc-layout-single { grid-template-columns: minmax(0, 1fr); max-width: calc(820px + var(--gutter) * 2); }
.doc-nav { position: sticky; top: 100px; }
.doc-nav h2 { font-size: 1rem; margin-bottom: 12px; }
.doc-nav ul { list-style: none; display: grid; gap: 2px; margin-bottom: 20px; }
.doc-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); }
.doc-nav a:hover { background: var(--bg-alt); text-decoration: none; }
.doc-nav a[aria-current] { background: var(--blue-50); color: var(--blue-dark); font-weight: 650; }
.doc-body h1 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 24px; }
.doc-body h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.doc-body h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.doc-body ul, .doc-body ol { padding-left: 22px; margin: 0 0 16px; display: grid; gap: 6px; }
.doc-body table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: .95rem; display: block; overflow-x: auto; }
.doc-body th, .doc-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc-body th { background: var(--bg-alt); }
.how-title { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; margin-bottom: 28px; }
.how-title .icon { color: var(--blue); width: 24px; height: 24px; }
.compare-table-wrap { overflow-x: auto; max-width: 860px; margin: 0 auto 24px; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--navy); color: #fff; }
.compare-table tbody th { font-weight: 600; color: var(--ink); width: 40%; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.about-contact { margin-bottom: 8px; }
.about-contact .icon { color: var(--blue); }
.about-contact a { color: var(--blue); }
.mt-12 { margin-top: 12px; }
.faq-group { margin-bottom: 40px; scroll-margin-top: 100px; }
@media (max-width: 960px) { .doc-layout { grid-template-columns: 1fr; gap: 24px; } .doc-nav { position: static; } .doc-nav ul { display: flex; flex-wrap: wrap; gap: 6px; } .doc-nav a { background: var(--bg-alt); } }
.page-hero + .section { padding-top: 56px; }

/* Pricing */
.plan-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.plan-card { display: flex; flex-direction: column; padding: 28px 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.plan-card h2 { font-size: 1.2rem; }
.plan-price { margin: 4px 0 0; font-size: 1.9rem; font-weight: 800; color: var(--ink); }
.plan-price span { font-size: .9rem; font-weight: 500; color: var(--muted); }
.plan-note { color: var(--muted); font-size: .88rem; margin-bottom: 20px; }
.plan-card .tick-list { margin-bottom: 24px; font-size: .93rem; }
.plan-card .btn { margin-top: auto; }
.pricing-foot { margin-top: 28px; }
@media (max-width: 1240px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .plan-grid { grid-template-columns: 1fr; } }
.hero-actions-center { justify-content: center; margin-bottom: 8px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin-top: 8px; }
.stat-row li { padding: 24px; border: 1px solid var(--line); border-radius: 16px; text-align: center; background: #fff; }
.stat-row strong { display: block; font-size: 2rem; color: var(--navy); }
.stat-row span { color: var(--muted); }
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr 1fr; } }

/* Blog, credits, search, sitemap */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; }
.post-card { overflow: hidden; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-body { padding: 20px; }
.post-body h2 { font-size: 1.15rem; }
.post-body h2 a { color: var(--ink); }
.post-cover { width: 100%; border-radius: 16px; margin: 8px 0 24px; }
.post-body h3 { font-size: 1.05rem; margin: 0 0 8px; }
.post-body h3 a { color: var(--ink); }
.post-card .eyebrow { margin-bottom: 6px; }
.post-aside, .post-next { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-aside h2, .post-next h2 { font-size: 1.15rem; margin: 0 0 14px; }
.post-next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-next-card { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.post-next-card:hover { border-color: var(--blue); }
.post-next-card span { color: var(--muted); font-size: .92rem; }
.post-byline { margin-top: 28px; padding: 14px 16px; border-radius: 10px; background: var(--bg-soft, #f6f8fb); color: var(--muted); font-size: .88rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft, #f6f8fb); }
.pager { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
@media (max-width: 640px) { .post-next-grid { grid-template-columns: 1fr; } }
.update-card { margin-bottom: 20px; }
.credit-table { font-size: .9rem; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 24px 0 48px; }
.sitemap-grid h2 { font-size: 1.1rem; }
.sitemap-grid ul { list-style: none; display: grid; gap: 6px; }
.search-box-left { margin: 0; }
.search-block { margin-bottom: 40px; }
.h3 { font-size: 1.15rem; }
@media (max-width: 960px) { .post-grid, .sitemap-grid { grid-template-columns: 1fr; } }

/* Listing page: offer, sample request and new-stock alert */
.side-action { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; margin-top: 16px; }
.side-action[open] { padding-bottom: 18px; }
.side-action summary { display: flex; align-items: center; gap: 12px; padding: 16px 0; cursor: pointer; list-style: none; }
.side-action summary::-webkit-details-marker { display: none; }
.side-action summary > .icon:first-child { color: var(--blue); }
.side-action summary span { display: grid; flex: 1; }
.side-action summary strong { color: var(--ink); }
.side-action summary small { color: var(--muted); font-size: .85rem; }
.side-action summary > .icon:last-child { transition: transform .15s; }
.side-action[open] summary > .icon:last-child { transform: rotate(180deg); }
.side-action .form { gap: 14px; }
.side-follow { padding: 14px 18px; font-size: .95rem; }
.side-follow p { margin: 0; display: flex; gap: 8px; align-items: center; }
.side-follow .link-button, .side-follow a { display: inline-flex; gap: 8px; align-items: center; text-align: left; }
#notice:empty { display: none; }
#notice .alert { margin-bottom: 16px; }
.contact-box { margin-bottom: 16px; }
.contact-box h2 { font-size: 1rem; margin: 0 0 4px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-box .seller-name { margin-bottom: 4px; }

/* Footer (2026-10-02): action cards, newsletter, category and city links, facts strip */

/* Header (2026-10-02): utility bar, logo + search + actions, nav and category bar, phone bottom bar */
.topbar { background: var(--navy); color: #c9d4ee; font-size: .8rem; border-bottom: 1px solid rgba(255, 255, 255, .08); width: 100%; max-width: 100%; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; padding-top: 3px; padding-bottom: 3px; width: 100%; max-width: 100%; min-width: 0; }
.topbar p { margin: 0; display: flex; gap: 14px; align-items: center; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .icon { width: 14px; height: 14px; color: #4ade80; flex-shrink: 0; }
.topbar-links .icon { color: #94a3b8; }
.topbar-links a { color: #cbd5e1; font-weight: 550; font-size: .78rem; transition: color .15s; white-space: nowrap; }
.topbar-links a:hover { color: #fff; }
.topbar-fact-inline { color: #4ade80 !important; font-weight: 700; font-size: .78rem; white-space: nowrap; }
.topbar-verticals { display: flex; align-items: center; gap: 5px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; max-width: 100%; min-width: 0; flex: 1 1 auto; }
.topbar-verticals::-webkit-scrollbar { display: none; }
.topbar-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .76rem; font-weight: 600; color: #cbd5e1 !important; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); white-space: nowrap; transition: background .15s ease, color .15s ease, border-color .15s ease; flex-shrink: 0; }
.topbar-pill .icon { width: 12px; height: 12px; color: #94a3b8; }
.topbar-pill:hover { background: rgba(255, 255, 255, .15); color: #fff !important; border-color: rgba(255, 255, 255, .28); text-decoration: none !important; }
.topbar-pill:hover .icon { color: #fff; }
.topbar-pill.is-active { background: var(--blue, #1d5fe0); color: #fff !important; border-color: rgba(255, 255, 255, .3); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.topbar-pill.is-active .icon { color: #4ade80; }
.header-row { gap: 20px; min-height: 70px; }
.header-search { flex: 1; display: flex; max-width: 640px; border: 2px solid var(--blue); border-radius: 12px; background: #fff; position: relative; }
.header-search-field { position: relative; flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.header-search-field > .icon { color: var(--muted); }
.header-search-field input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; padding: 10px 0; background: transparent; color: var(--ink); }
.header-search .btn { min-height: 44px; border-radius: 0 9px 9px 0; }
.header-search-mobile { margin-bottom: 14px; max-width: none; }
.header-actions { gap: 4px; margin-left: auto; }
.catbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; position: relative; width: 100%; }
.catbar-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 42px; width: 100%; }
.catbar ul { display: flex; list-style: none; gap: 6px; margin: 0; padding: 0; align-items: center; }
.catbar a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 5px 9px; border-radius: 7px; color: var(--text); font-weight: 600; font-size: .85rem; transition: background .12s, color .12s; flex-shrink: 0; }
.catbar a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
.catbar-main { flex-shrink: 0; }
.catbar-main a { color: var(--ink); font-weight: 650; }
.catbar-divider { width: 1px; height: 20px; background: var(--line); flex-shrink: 0; }
.catbar-cats-container { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; display: flex; align-items: center; overscroll-behavior-x: contain; }
.catbar-cats-container::-webkit-scrollbar { display: none; }
.catbar-cats { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; flex-shrink: 0; }
.catbar-cats li { flex-shrink: 0; display: inline-flex; }
.catbar-cats a { color: var(--muted); font-size: .81rem; font-weight: 550; padding: 3px 9px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px; }
.catbar-cats a:hover { background: #fff; color: var(--blue); border-color: var(--blue-100); }
.catbar-all { flex-shrink: 0; margin-left: auto; color: var(--blue) !important; font-weight: 700 !important; font-size: .82rem !important; padding: 5px 12px !important; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 999px; transition: all .15s ease; white-space: nowrap; }
.catbar-all:hover { background: #dbeafe !important; border-color: #93c5fd; }

/* Mobile verticals banner inside mobile menu */
.mobile-verticals-banner { margin-bottom: 16px; padding: 12px; background: var(--bg-alt); border-radius: 12px; border: 1px solid var(--line); }
.mobile-verticals-title { margin: 0 0 8px; font-size: .75rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mobile-verticals-grid { display: grid; gap: 8px; }
.mobile-vcard { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border-radius: 8px; border: 1px solid var(--line); text-decoration: none !important; color: var(--ink); transition: border-color .15s; }
.mobile-vcard:hover { border-color: var(--blue); }
.mobile-vcard-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }
.mobile-vcard-prop .mobile-vcard-icon { background: #ecfdf5; color: #065f46; }
.mobile-vcard-veh .mobile-vcard-icon { background: #fffbeb; color: #92400e; }
.mobile-vcard-logo { display: inline-flex; align-items: center; justify-content: center; background: var(--bg-alt); border-radius: 6px; padding: 2px 6px; width: 84px; height: 36px; flex-shrink: 0; border: 1px solid var(--line); }
.mobile-vcard-logo img { max-height: 28px; width: auto; max-width: 100%; object-fit: contain; display: block; }
.mobile-vcard-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mobile-vcard-info strong { font-size: .88rem; color: var(--ink); line-height: 1.25; }
.mobile-vcard-info small { font-size: .76rem; color: var(--muted); }
.mobile-vcard .icon:last-child { color: var(--muted); width: 14px; height: 14px; }
.mobile-help { margin: 16px 0 0; }
.mobile-help a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }

/* Search suggestions */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; max-height: 420px; overflow-y: auto; }
.suggest a { display: grid; grid-template-columns: 76px 1fr; gap: 2px 10px; align-items: center; padding: 9px 10px; border-radius: 8px; color: var(--ink); text-decoration: none !important; }
.suggest a:hover, .suggest a.is-active { background: var(--blue-50); }
.suggest small { grid-column: 2; color: var(--muted); font-size: .82rem; }
.suggest-type { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.suggest .suggest-all { display: block; text-align: center; color: var(--blue); font-weight: 600; border-top: 1px solid var(--line); border-radius: 0; margin-top: 4px; }
.search-field { position: relative; }

/* Phone bottom bar */
.bottom-nav { display: none; }
@media (max-width: 1240px) {
  .header-actions { display: flex; }
  .header-actions .header-link span { display: none; }
  .catbar-main { display: flex; }
  .topbar-links a { display: none; }
  .topbar-links a:first-of-type { display: inline-flex; }
}
@media (max-width: 992px) {
  .catbar-main { display: none; }
  .catbar-divider { display: none; }
  .header-actions { display: none; }
}
@media (max-width: 768px) {
  .topbar-links { display: none !important; }
  .topbar { display: none; } /* nothing left in it on phones once the portal links moved to the footer */
}
@media (max-width: 720px) {
  .topbar-row { min-height: 36px; padding-top: 4px; padding-bottom: 4px; }
  .topbar-pill { padding: 3px 9px; font-size: .74rem; }
  .header-row > .header-search { display: none; }
  .catbar { display: none; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -2px 14px rgba(16, 24, 40, .08);
    padding: 6px 2px calc(8px + env(safe-area-inset-bottom));
    -webkit-user-select: none;
    user-select: none;
  }
  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 3px 2px;
    min-width: 0;
    font-size: .67rem;
    font-weight: 600;
    color: #4b5563;
    text-decoration: none !important;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    transition: color .15s ease, transform .1s ease;
  }
  .bottom-nav a:active {
    transform: scale(0.93);
    color: var(--blue);
  }
  .bottom-nav a span {
    display: block;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-size: .63rem;
    letter-spacing: -0.01em;
  }
  .bottom-nav .icon { width: 22px; height: 22px; flex-shrink: 0; }
  .bottom-nav-main { position: relative; z-index: 2; }
  .bottom-nav-main .icon { width: 44px; height: 44px; padding: 9px; margin-top: -20px; border-radius: 50%; background: var(--blue); color: #fff; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(29, 95, 224, .4); }
}

/* Homepage "Buy and sell requirements" board */
.live-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px !important; padding: 4px 12px; border-radius: 999px; background: var(--green-50); color: var(--green-dark) !important; font-size: .78rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(19, 138, 75, .45); animation: live-pulse 2s ease-out infinite; }
@keyframes live-pulse { from { transform: scale(1); opacity: 1; } 70%, to { transform: scale(3); opacity: 0; } }
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.board-col { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.board-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.board-head h3 { margin: 0; font-size: 1.02rem; }
.board-head p { margin: 0; font-size: .82rem; color: var(--muted); }
.board-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; flex: none; }
.board-icon .icon { width: 20px; height: 20px; }
.board-buy .board-icon { background: var(--amber-50); color: var(--amber); }
.board-sell .board-icon { background: var(--blue-50); color: var(--blue); }
.board-count { margin-left: auto; min-width: 32px; padding: 2px 10px; border-radius: 999px; text-align: center; font-weight: 700; font-size: .85rem; }
.board-buy .board-count { background: var(--amber-50); color: var(--amber); }
.board-sell .board-count { background: var(--blue-50); color: var(--blue-dark); }
/* Fixed height window: four rows visible; longer lists scroll upwards on their own */
.board-window { position: relative; height: 296px; overflow: hidden; }
.board-list { list-style: none; margin: 0; padding: 6px 8px; }
.board-window[data-board-scroll] { overflow-y: auto; }
.board-window.is-rolling { overflow: hidden; }
.board-window.is-rolling .board-list { animation: board-roll var(--board-time, 30s) linear infinite; }
.board-window.is-rolling:hover .board-list, .board-window.is-rolling:focus-within .board-list { animation-play-state: paused; }
.board-window.is-rolling::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
@keyframes board-roll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.board-item { display: block; padding: 12px 12px; border-radius: var(--radius-sm); color: inherit; text-decoration: none; }
.board-item:hover, .board-item:focus-visible { background: var(--bg-alt); }
.board-title { display: block; font-weight: 650; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: .82rem; color: var(--muted); }
.board-meta span { display: inline-flex; align-items: center; gap: 4px; }
.board-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 296px; padding: 24px; color: var(--muted); text-align: center; }
.board-empty p { margin: 0; max-width: 300px; }
.board-more { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto; padding: 14px; border-top: 1px solid var(--line); font-weight: 650; color: var(--blue-dark); text-decoration: none; }
.board-more:hover { background: var(--blue-50); }
.board-more .icon { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .board-grid { grid-template-columns: 1fr; gap: 16px; }
  .board-window { height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
  .board-window.is-rolling { overflow-y: auto; }
  .board-window.is-rolling .board-list { animation: none; }
}

/* Business page: the seller's mini catalogue */
.btn-soft { background: var(--bg-alt); color: var(--navy); border-color: transparent; }
.btn-soft:hover { background: var(--blue-50); }
.company-hero { position: relative; padding: 32px 0 0; background: linear-gradient(180deg, var(--blue-50), #fff 85%); }
.company-hero.has-cover { padding-top: 0; }
.company-cover { display: block; width: 100%; height: clamp(140px, 22vw, 300px); object-fit: cover; }
.company-hero.has-cover .company-hero-inner { margin-top: -56px; position: relative; }
.company-card { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); }
.company-card .company-facts { margin: 0; }
.company-stats { display: flex; flex-wrap: wrap; gap: 1px; margin: 16px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.company-stats div { flex: 1 1 150px; padding: 16px 20px; background: #fff; }
.company-stats dt { font-size: .8rem; color: var(--muted); font-weight: 600; }
.company-stats dd { margin: 2px 0 0; font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.company-tabs { position: relative; margin-top: 24px; background: #fff; border-bottom: 1px solid var(--line); }
.company-tabs .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.company-tabs .container::-webkit-scrollbar { display: none; }
.company-tabs a { flex: none; padding: 14px 14px; color: var(--text); font-weight: 650; border-bottom: 2px solid transparent; text-decoration: none; }
.company-tabs a:hover { color: var(--blue-dark); border-bottom-color: var(--blue); }
.company-section { scroll-margin-top: 140px; }
.company-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
.company-layout .listing-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-content: start; }
.catalogue-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.catalogue-head .block-title { margin-bottom: 12px; }
.catalogue-filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: thin; }
.chip-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--text); font: 600 .88rem/1 var(--font); cursor: pointer; }
.chip-btn span { color: var(--muted); font-weight: 700; }
.chip-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-btn.is-active span { color: rgba(255, 255, 255, .75); }
.chip-btn .chip-name { color: inherit; font-weight: inherit; max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* long category names stay one short chip; full name on hover */
.chip-btn.is-active .chip-name { color: #fff; }
@media (max-width: 600px) { .chip-btn .chip-name { max-width: 150px; } }
.catalogue-item { display: flex; }
.catalogue-item > .listing-card { flex: 1; }
.catalogue-item[hidden] { display: none; }
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 0; }
.detail-list dt { font-size: .8rem; color: var(--muted); font-weight: 600; }
.detail-list dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.company-bar { display: none; }
/* On a business page the catalogue comes first on narrow screens; the enquiry form follows it */
@media (max-width: 1080px) { .company-layout { grid-template-columns: minmax(0, 1fr); } .company-layout .listing-side { order: 0; } }
@media (max-width: 720px) {
  .company-hero { padding-top: 16px; }
  .company-hero.has-cover .company-hero-inner { margin-top: -32px; }
  .company-card { padding: 16px; gap: 14px; }
  .company-card .avatar-lg { width: 64px; height: 64px; border-radius: 16px; }
  .company-id { min-width: 0; flex: 1 1 calc(100% - 90px); }
  .company-id h1 { font-size: 1.35rem; margin-bottom: 8px; }
  .company-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .company-actions .btn-primary { grid-column: 1 / -1; }
  .company-stats div { padding: 12px 14px; }
  .company-stats dd { font-size: 1.1rem; }
  .detail-list { grid-template-columns: 1fr; gap: 12px; }
  .company-bar { position: fixed; left: 0; right: 0; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 54; display: flex; gap: 8px; padding: 8px 12px; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); }
  .company-bar .btn { flex: 1; min-height: 44px; }
  body:has(.company-bar) { padding-bottom: 128px; }
}

/* Banner strip: paid banners first, Bikwao's own banners in the free slots */
.ad-strip { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); max-width: 100%; width: 100%; }
.ad-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; max-width: 100%; }
.ad-track::-webkit-scrollbar { display: none; }
.ad-slide { position: relative; display: block; width: 100%; max-width: 100%; box-sizing: border-box; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 7.5 / 1; max-height: 160px; overflow: hidden; text-decoration: none !important; }
.ad-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ad-label { position: absolute; right: 10px; top: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(16, 24, 40, .6); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .04em; }
.ad-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; z-index: 3; }
.ad-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(16, 24, 40, .15); transition: width .3s, background-color .3s; cursor: pointer; }
.ad-dots span.is-on { background: #fff; width: 18px; border-radius: 4px; }
.ad-house { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px clamp(16px, 3.5vw, 36px); color: #fff; min-height: 120px; width: 100%; box-sizing: border-box; }
.ad-house-blue { background-image: linear-gradient(120deg, #0b3fb3, #1d5fe0 45%, #3b82f6); }
.ad-house-green { background-image: linear-gradient(120deg, #0b6b3a, #138a4b 45%, #22b06a); }
.ad-house-navy { background-image: linear-gradient(120deg, #0b1b3f, #13275a 45%, #24408a); }
.ad-house-amber { background-image: linear-gradient(120deg, #9a4a06, #c2610c 45%, #e8890f); }
.ad-house-violet { background-image: linear-gradient(120deg, #3b1c8c, #5b34c9 45%, #7c5cf0); }
.ad-house-sponsor { background-image: linear-gradient(120deg, #091226, #13275a 35%, #1d5fe0 75%, #3b82f6); border: 2px solid rgba(251, 191, 36, 0.4); }
.ad-house-body { position: relative; z-index: 1; display: grid; gap: 3px; max-width: 680px; flex: 1 1 auto; min-width: 0; }
.ad-spot-tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border-radius: 4px; background: #fbbf24; color: #0b1b3f; font-weight: 850; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; width: fit-content; margin-bottom: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.ad-label-available { background: #d97706 !important; color: #fff !important; font-weight: 750 !important; }
.ad-house-eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.ad-house-title { font-size: clamp(1rem, .85rem + .7vw, 1.45rem); font-weight: 800; line-height: 1.2; word-break: break-word; }
.ad-house-text { font-size: clamp(.75rem, .7rem + .2vw, .88rem); opacity: .92; line-height: 1.35; }
.ad-house-cta { position: relative; z-index: 1; margin-left: auto; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; font-size: .86rem; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); transition: transform .2s; white-space: nowrap; }
.ad-house:hover .ad-house-cta { transform: translateX(3px); }
.ad-house-cta .icon { width: 15px; height: 15px; }
.ad-house-art { overflow: hidden; pointer-events: none; }
.ad-house-art span { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); animation: ad-float 9s ease-in-out infinite; pointer-events: none; }
.ad-house-art span:nth-child(1) { width: 180px; height: 180px; right: 18%; top: -80px; }
.ad-house-art span:nth-child(2) { width: 120px; height: 120px; right: -30px; bottom: -50px; animation-delay: -3s; }
.ad-house-art span:nth-child(3) { width: 60px; height: 60px; left: 45%; bottom: -30px; animation-delay: -6s; background: rgba(255, 255, 255, .07); }
@keyframes ad-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-10px, 6px, 0); } }
.ad-section { padding: 4px 0 28px; }
@media (max-width: 720px) {
  .ad-slide { aspect-ratio: 16 / 5.5; max-height: 105px; }
  .ad-house { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; min-height: 75px; }
  .ad-house-body { gap: 2px; }
  .ad-house-text { display: none; }
  .ad-house-title { font-size: 0.88rem; line-height: 1.2; }
  .ad-house-cta { margin-left: auto; padding: 6px 12px; font-size: .75rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .ad-house, .ad-house-art span { animation: none; }
}
.ad-inline { margin: 0 0 16px; }
.section-alt-tail { padding-top: 32px; }
/* Long button labels (for example category names) wrap on phones instead of widening the page */
@media (max-width: 720px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }
}

/* Launch offer on the pricing page */
.plan-card-offer { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), var(--shadow-lg); position: relative; }
.plan-offer { margin: 0 0 10px !important; display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--amber-50); color: var(--amber); font-size: .78rem; font-weight: 700; }
.plan-was { color: var(--muted); font-size: .6em; font-weight: 600; margin-right: 4px; }

/* "Your banner here" button on every strip that still has free spots */
.ad-book { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); z-index: 2; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(11, 27, 63, 0.92); backdrop-filter: blur(8px); color: #fbbf24; font-size: .74rem; font-weight: 800; letter-spacing: .02em; text-decoration: none !important; border: 1.5px solid rgba(251, 191, 36, 0.5); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); animation: ad-pulse 2.4s ease-in-out infinite; }
.ad-book:hover { background: #0b1b3f; color: #fff; border-color: #fbbf24; }
.ad-book .icon { width: 14px; height: 14px; }
.ad-book-pulse { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.4); display: inline-block; }
@keyframes ad-pulse { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.05); } }
@media (max-width: 720px) { .ad-book { top: 6px; padding: 4px 10px; font-size: .68rem; } .ad-strip:has(.ad-book) .ad-house { padding-top: 10px; } }
@media (prefers-reduced-motion: reduce) { .ad-book { animation: none; } }

/* Launch offer bar above the header, shown while launch places are left */
.launch-bar { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 8px var(--gutter); background: linear-gradient(90deg, #a5121a 0%, #e11d2a 50%, #a5121a 100%); color: #fff; font-size: .88rem; text-align: center; text-decoration: none !important; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12); }
.launch-bar:hover { color: #fff; }
.launch-bar strong { font-weight: 800; }
.launch-bar-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px 3px 8px; border-radius: 999px; background: #fff; color: #c8161f; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.launch-bar-tag .icon { width: 13px; height: 13px; }
.launch-bar-cta { display: inline-flex; align-items: center; gap: 4px; padding: 3px 12px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; font-weight: 700; transition: background .15s, color .15s; }
.launch-bar:hover .launch-bar-cta { background: #fff; color: #c8161f; }
@media (max-width: 720px) { .launch-bar { gap: 6px; padding: 7px 12px; font-size: .78rem; } .launch-bar-cta { display: none; } }

/* Speed: skip layout and paint of off-screen parts until needed (the browser keeps their real size once seen). */
.section ~ .section, .brokerage-band, .cta-band { content-visibility: auto; contain-intrinsic-size: auto 700px; }

/* Footer: social pages and the operator band (Mantra Tech Fusion wordmark drawn in text to suit the dark footer) */
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; color: #fff; transition: background .15s, border-color .15s; }
.footer-social a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-operator { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; margin-top: 28px; padding: 22px 26px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: linear-gradient(120deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); }
.mtf-mark { display: inline-grid; justify-items: start; gap: 4px; color: #fff; text-decoration: none !important; }
.mtf-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.mtf-word { font-family: Impact, "Haettenschweiler", "Arial Narrow Bold", "Franklin Gothic Bold", sans-serif; font-size: 1.75rem; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: #fff; padding-bottom: 6px; border-bottom: 2px solid rgba(255, 255, 255, .85); }
.mtf-red { color: #ef2b2d; }
.mtf-tag { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.mtf-mark:hover .mtf-word { border-bottom-color: #ef2b2d; }
.footer-operator-text { margin: 0; color: rgba(255, 255, 255, .72); font-size: .9rem; line-height: 1.6; }
.footer-operator-text a, .footer-bottom p a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
@media (max-width: 720px) { .footer-operator { grid-template-columns: 1fr; gap: 14px; padding: 18px; } .mtf-word { font-size: 1.5rem; } }
.post-meta { display: block !important; line-height: 1.6; }

/* Pricing: two routes (surplus clearance / regular new-stock suppliers), one price list */
.plan-card h3 { font-size: 1.2rem; margin: 0 0 4px; }
.route-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0 14px; }
.route-card { display: grid; gap: 8px; align-content: start; padding: 22px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.route-card:hover { border-color: var(--blue); box-shadow: 0 6px 20px rgba(16, 24, 40, .06); }
.route-card strong { font-size: 1.1rem; }
.route-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.route-card-price { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin: 0; }
.route-icon { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 12px; background: var(--blue-50, #eef4ff); color: var(--blue); }
.plan-grid-route { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: start; }
.plan-card-suggested { border: 2px solid var(--blue); box-shadow: 0 8px 28px rgba(29, 95, 224, .12); }
.plan-offer-blue { background: var(--blue-50, #eef4ff); color: var(--blue); }
.free-strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; border: 1px dashed var(--line-2, #cfd6e2); border-radius: 16px; background: #fff; }
.free-strip h2 { font-size: 1.15rem; margin: 0 0 10px; }
.free-strip .tick-list { font-size: .93rem; }
@media (max-width: 1240px) { .plan-grid-route { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .plan-grid-route { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .route-pick { grid-template-columns: 1fr; }
  .free-strip { flex-direction: column; align-items: stretch; }
}
@media (max-width: 600px) { .plan-grid-route { grid-template-columns: 1fr; } }
.route-steps { grid-column: span 2; align-self: start; padding: 26px 28px; border-radius: 20px; background: var(--bg-soft, #f6f8fb); border: 1px solid var(--line); }
.route-steps h3 { font-size: 1.15rem; margin: 0 0 14px; }
.route-steps ol { list-style: none; counter-reset: step; display: grid; gap: 16px; margin: 0 0 16px; padding: 0; }
.route-steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.route-steps li::before { content: counter(step); grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: .9rem; }
.route-steps li span { color: var(--muted); font-size: .93rem; }
@media (max-width: 960px) { .route-steps { grid-column: span 1; } }

/* A form button that is sending (app.js): spinner, no second press */
.btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-color: rgba(255, 255, 255, .9) rgba(255, 255, 255, .9) rgba(255, 255, 255, .9) transparent; animation: btn-spin .7s linear infinite; }
.btn-outline.is-busy::after, .btn-light.is-busy::after { border-color: var(--blue) var(--blue) var(--blue) transparent; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.is-busy::after { animation-duration: 2s; } }

/* Unfinished draft found on this device (app.js) */
.draft-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; padding: 14px 16px; border: 1px solid #f5d38a; border-radius: 12px; background: #fff8e8; }
.draft-bar strong { display: block; }
.draft-bar span { color: var(--muted); font-size: .9rem; }
.draft-actions { display: flex; gap: 8px; }

/* Buy requirement intent switch and seller segments */
.intent-switcher { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; padding: 6px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 16px; }
.intent-btn { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1.5px solid transparent; border-radius: 12px; background: transparent; text-align: left; cursor: pointer; color: var(--ink); font-family: inherit; transition: background .15s, border-color .15s, box-shadow .15s; }
.intent-btn strong { display: block; font-size: .95rem; font-weight: 700; }
.intent-btn span { display: block; font-size: .8rem; color: var(--muted); }
.intent-btn .icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--muted); }
.intent-btn:hover { background: #fff; border-color: var(--line); }
.intent-btn.is-active { background: #fff; border-color: var(--blue); box-shadow: 0 4px 14px rgba(29, 95, 224, .1); }
.intent-btn.is-active strong { color: var(--navy); }
.intent-btn.is-active .icon { color: var(--blue); }

@media (max-width: 600px) {
  .intent-switcher { grid-template-columns: 1fr; gap: 8px; }
}

[hidden], .seller-guide-panel[hidden] { display: none !important; }
.seller-guide-panel { display: grid; gap: 20px; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.seller-guide-head h2 { font-size: 1.3rem; margin: 0 0 6px; }
.seller-segment-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seller-segment-card { display: flex; flex-direction: column; padding: 22px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; }
.seller-segment-card.card-clearance { border-color: #fde68a; background: #fffdf5; }
.seller-segment-card.card-regular { border-color: #bfdbfe; background: #f8fbff; }
.segment-badge-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.plan-price-tag { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.seller-segment-card h3 { font-size: 1.15rem; margin: 0 0 8px; color: var(--ink); }
.seller-segment-card p { font-size: .9rem; color: var(--muted); line-height: 1.5; margin-bottom: 14px; }
.seller-segment-card .tick-list { margin-bottom: 20px; font-size: .88rem; }
.seller-segment-card .btn { margin-top: auto; }
.seller-guide-foot { padding: 14px; background: var(--bg-alt); border-radius: 12px; text-align: center; }
.seller-guide-foot p { margin: 0; font-size: .9rem; }

@media (max-width: 720px) {
  .seller-segment-cards { grid-template-columns: 1fr; }
}

/* Stock kind selector pills */
.stock-kind-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-pill { display: block; position: relative; cursor: pointer; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill span { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: .88rem; font-weight: 650; color: var(--ink); transition: border-color .15s, background .15s; }
.radio-pill span small { font-weight: 400; font-size: .76rem; color: var(--muted); }
.radio-pill input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue-dark); box-shadow: 0 0 0 1px var(--blue); }
.radio-pill:hover span { border-color: var(--blue); }

@media (max-width: 600px) {
  .stock-kind-picker { grid-template-columns: 1fr; }
}

/* Floating WhatsApp support button */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25d366;
  color: #fff;
  padding: 10px 16px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  color: #fff;
}
.floating-wa svg, .floating-wa .icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
@media (max-width: 720px) {
  .floating-wa {
    bottom: calc(78px + env(safe-area-inset-bottom));
    right: 14px;
    padding: 10px;
    z-index: 50;
  }
  .floating-wa span {
    display: none;
  }
}

/* Specialized Verticals / Segments */
.section-verticals { background: #f8fafc; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 52px 0; }
.verticals-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.vertical-card { display: flex; flex-direction: column; justify-content: space-between; padding: 22px 24px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.vertical-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow-lg); }
.vertical-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.vertical-brand-logo-wrap { display: flex; align-items: center; max-width: 175px; height: 38px; }
.vertical-brand-logo-img { height: 32px; max-height: 32px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.vertical-brand-text-wrap { display: inline-flex; align-items: center; gap: 10px; }
.vertical-icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; font-weight: 700; }
.vertical-icon-badge .icon { width: 22px; height: 22px; }
.vertical-brand-title { font-size: 1.15rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.vertical-card-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 6px; font-size: .75rem; font-weight: 700; font-family: monospace; background: var(--blue-50); color: var(--blue-dark); border: 1px solid var(--blue-100); }
.vertical-card-badge-amber { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.vertical-card-body h3 { font-size: 1.08rem; font-weight: 750; color: var(--ink); margin: 0 0 6px; line-height: 1.35; }
.vertical-card-desc { font-size: .88rem; color: var(--muted); line-height: 1.5; margin: 0 0 14px; }
.vertical-highlights { list-style: none; display: grid; gap: 6px; margin: 0 0 16px; padding: 10px 14px; background: var(--bg-alt); border-radius: 8px; border: 1px solid var(--line); }
.vertical-highlights li { display: flex; align-items: center; gap: 8px; font-size: .83rem; font-weight: 550; color: var(--text); }
.vertical-highlights .icon { color: var(--green); width: 14px; height: 14px; }
.vertical-card-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; }
.vertical-card-status { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 650; color: var(--green-dark); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; box-shadow: 0 0 0 2px rgba(19, 138, 75, .2); }
.vertical-card-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
@media (max-width: 1080px) {
  .verticals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 680px) {
  .verticals-grid { grid-template-columns: 1fr; gap: 16px; }
  .vertical-card { min-width: 0; max-width: 100%; box-sizing: border-box; padding: 16px 18px; }
  .vertical-card-head { flex-wrap: wrap; gap: 8px; }
  .vertical-card-badge { max-width: 100%; }
  .vertical-brand-logo-wrap { max-width: 145px; height: 32px; }
  .vertical-brand-logo-img { height: 28px; max-height: 28px; max-width: 135px; }
}

/* Footer Ecosystem Showcase Strip */
.footer-ecosystem-strip { width: 100%; max-width: 100%; box-sizing: border-box; overflow: hidden; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 20px 0 28px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-eco-card { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none !important; transition: all .15s ease; }
.footer-eco-card.is-link:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); transform: translateY(-1px); }
.footer-eco-card.is-active { border-color: rgba(29, 95, 224, .6); background: rgba(29, 95, 224, .12); }
.footer-eco-left { min-width: 0; flex: 1 1 auto; overflow: hidden; display: flex; align-items: center; gap: 12px; }
.footer-eco-left > div { min-width: 0; flex: 1 1 auto; overflow: hidden; }
.footer-eco-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; flex-shrink: 0; }
.footer-eco-icon .icon { width: 20px; height: 20px; }
.footer-eco-logo-badge { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 8px; padding: 2px 6px; height: 32px; min-width: 74px; max-width: 86px; flex-shrink: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.footer-eco-logo-badge img { height: 22px; max-height: 22px; width: auto; max-width: 70px; object-fit: contain; display: block; }
.eco-icon-goods { background: #1e3a8a; color: #93c5fd; }
.eco-icon-prop { background: #064e3b; color: #6ee7b7; }
.eco-icon-veh { background: #78350f; color: #fde047; }
.eco-icon-amber { background: #78350f; color: #fde047; }
.eco-icon-green { background: #064e3b; color: #6ee7b7; }
.eco-icon-red { background: #7f1d1d; color: #fca5a5; }
.eco-icon-blue { background: #1e3a8a; color: #93c5fd; }
.footer-eco-title { display: block; font-size: .88rem; font-weight: 750; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25; min-width: 0; max-width: 100%; }
.footer-eco-desc { display: block; font-size: .75rem; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; min-width: 0; max-width: 100%; }
.footer-eco-status { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 700; color: #4ade80; background: rgba(74, 222, 128, .12); padding: 3px 8px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; }
.footer-eco-action { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; color: #93c5fd; white-space: nowrap; flex-shrink: 0; }
.footer-eco-card.is-link:hover .footer-eco-action { color: #fff; }
@media (max-width: 1080px) {
  .footer-ecosystem-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 720px) {
  .footer-ecosystem-strip { grid-template-columns: 1fr; gap: 10px; }
}


/* Lot page: how to buy, and on phones the price and contact buttons come straight after the photos */
.how-to-buy { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.how-to-buy h2 { font-size: 1.05rem; margin-bottom: 12px; }
.how-to-buy ol { list-style: none; counter-reset: step; display: grid; gap: 12px; margin: 0 0 12px; padding: 0; }
.how-to-buy li { counter-increment: step; position: relative; padding-left: 38px; color: var(--text); font-size: .93rem; line-height: 1.5; }
.how-to-buy li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.how-to-buy li strong { color: var(--ink); }
.contact-actions .contact-row .btn { width: 100%; padding: 0 12px; }
.lot-actionbar { display: none; }
@media (max-width: 1080px) {
  .lot-layout .listing-main, .lot-layout .listing-side { display: contents; }
  .lot-layout .gallery { order: 1; }
  .lot-layout #notice { order: 2; }
  .lot-layout .buy-box { order: 3; }
  .lot-layout .listing-main > .detail-card { order: 4; }
  .lot-layout .enquiry-card { order: 5; }
  .lot-layout .side-action { order: 6; margin-top: 0; }
  .lot-layout .seller-card { order: 7; }
  .lot-layout .listing-main > .safety-card { order: 8; }
  .lot-layout .listing-main > .detail-card:last-child { order: 9; }
  .lot-layout .side-follow { order: 10; }
  .lot-layout #notice:empty { display: none; }
}
@media (max-width: 720px) {
  body:has(.lot-actionbar) { padding-bottom: calc(136px + env(safe-area-inset-bottom)); }
  .lot-actionbar { position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 54; display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(16, 24, 40, .08); }
  .lot-actionbar p { flex: 1; min-width: 0; margin: 0; display: grid; line-height: 1.15; }
  .lot-actionbar p strong { color: var(--ink); font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lot-actionbar p span { color: var(--muted); font-size: .75rem; }
  .lot-actionbar .btn { min-height: 44px; padding: 0 14px; flex: 0 0 auto; }
  .lot-actionbar p + .btn, .lot-actionbar .btn:first-child { margin-left: auto; }
}
.lot-layout [id] { scroll-margin-top: 88px; }
.paths-title { text-align: center; font-size: 1.4rem; margin: 8px 0 0; }
.path-role { margin: 16px 0 8px; font-size: .78rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.path-card .path-actions + .path-role { margin-top: 18px; }

/* Timed auctions */
.auction-panel { margin: 20px 0; padding: 18px 20px; border-radius: 14px; background: #fff7ed; border: 1px solid #fed7aa; }
.auction-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.auction-head h2 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 0; color: #9a3412; }
.auction-label { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.auction-time { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0; color: var(--ink); }
.auction-time strong { font-variant-numeric: tabular-nums; color: #c2410c; }
.auction-form { gap: 10px; margin-top: 8px; }
.auction-note { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff; color: var(--text); font-size: .93rem; }
.auction-note-good { display: flex; gap: 8px; align-items: center; color: var(--green); font-weight: 600; }
.auction-history { margin-top: 12px; }
.auction-history summary { cursor: pointer; font-weight: 600; color: var(--blue-dark); }
.auction-history ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.auction-history li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid #fde2c4; font-size: .9rem; }
.auction-history small { color: var(--muted); }
.tag-auction { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; background: #c2410c; color: #fff; }
.tag-auction-inline { background: #ffedd5; color: #9a3412; }

/* Password box with a show/hide eye (partials/password-input.php) */
.password-wrap { position: relative; }
.password-wrap .input { padding-right: 46px; }
.password-eye { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.password-eye:hover, .password-eye:focus-visible { color: var(--ink); background: var(--line); }
.password-eye .pw-hide, .password-eye.is-shown .pw-show { display: none; }
.password-eye.is-shown .pw-hide { display: block; }
.remember-row { display: flex; align-items: center; gap: 8px; font-size: .9rem; }

/* TM mark after "Bikwao" in the logo image (partials/logo.php); sized and placed as a share of the logo so it scales with it */
.logo-wrap { position: relative; display: inline-block; line-height: 0; }
.logo-wrap .logo-tm { position: absolute; left: 70.4%; top: 14.6%; width: 6%; min-width: 14px; height: auto; overflow: visible; pointer-events: none; }
/* Help button: call, not WhatsApp (owner, 2026-10-31) */
.floating-help { background-color: var(--blue); }

/* Homepage: second segment heading inside the same section */
.section-head-spaced { margin-top: 40px; }

/* Listing page: which of the two segments this listing belongs to */
.segment-note { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0 10px; padding: 8px 12px; border-radius: 8px; font-size: .9rem; line-height: 1.45; }
.segment-note .icon { flex: none; margin-top: 2px; }
.segment-note.segment-new { background: #eff6ff; color: #1e3a8a; border: 1px solid #bfdbfe; }
.segment-note.segment-surplus { background: #fffbeb; color: #78350f; border: 1px solid #fde68a; }

/* The two segments as tabs on listing and category pages (partials/segment-tabs.php) */
.segment-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.segment-tab { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; }
.segment-tab .icon { flex: none; margin-top: 3px; color: var(--muted); }
.segment-tab span { display: flex; flex-direction: column; gap: 2px; }
.segment-tab small { color: var(--muted); font-size: .78rem; font-weight: 400; }
.segment-tab:hover { border-color: var(--blue); }
.segment-tab.is-active { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue); }
.segment-tab.is-active .icon { color: var(--blue); }
@media (max-width: 700px) { .segment-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; } .segment-tabs::-webkit-scrollbar { display: none; } .segment-tab { flex: none; align-items: center; padding: 7px 12px; border-radius: 999px; font-size: .84rem; white-space: nowrap; } .segment-tab small { display: none; } .segment-tab .icon { margin-top: 0; } }

/* Company page: one quiet line for profiles not yet verified (pages/company.php) */
.unverified-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 8px 12px; border-radius: 8px; background: #fffbeb; border: 1px solid #fde68a; color: #78350f; font-size: .86rem; line-height: 1.45; }
.unverified-note .icon { flex: none; margin-top: 2px; }
.unverified-note a, .unverified-note .link-button { color: #92400e; font-weight: 600; text-decoration: underline; }

/* Cards never grow wider than their column: long category names are shortened with an ellipsis */
.listing-card { min-width: 0; }
.listing-card-kind { min-width: 0; }
.listing-card-kind > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Every card the same size (owner, 2026-10-31): fixed photo box (above), title always two lines, buttons at the bottom */
.listing-card { display: flex; flex-direction: column; height: 100%; min-width: 0; box-sizing: border-box; }
.listing-card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.listing-card-title { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; line-height: 1.3; overflow-wrap: anywhere; word-break: break-word; }
.listing-card-actions { margin-top: auto !important; padding-top: 10px; }
/* Long names never break the layout (owner, 2026-10-31): wrap or shorten, never push the page wider */
.listing-card .seller-company-link { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.listing-card .meta { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.listing-card-foot { min-width: 0; }
h1, h2, h3, .listing-title, .company-id h1, .seller-name, .block-title { overflow-wrap: anywhere; word-break: break-word; }
.breadcrumbs li:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 2-Column Product Grid under details (owner, 2026-10-31) */
.listing-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; }
@media (max-width: 720px) {
  .listing-grid-2 { gap: 10px; }
}
@media (max-width: 380px) {
  .listing-grid-2 { gap: 8px; }
}

/* Bulletproof mobile containment: prevent any horizontal overflow on phones */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}
.page-top, .listing-layout, .container, .listing-main, .listing-side {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.listing-card, .detail-card, .buy-box, .seller-card, .enquiry-card {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Enquiry popup (partials/enquiry-dialog.php) */
.enquiry-dialog { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .55); }
.enquiry-dialog[hidden] { display: none; }
.enquiry-dialog-box { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 24px 48px rgba(15, 23, 42, .25); padding: 18px 18px 6px; }
.enquiry-dialog-box .enquiry-card { border: 0; box-shadow: none; padding: 0; margin: 0; }
.enquiry-dialog-box [data-enquiry-about] { margin: 0 36px 4px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.enquiry-dialog-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-alt); color: var(--ink); cursor: pointer; }
.enquiry-dialog-close:hover { background: var(--line); }
body.has-dialog { overflow: hidden; }
@media (max-width: 600px) { .enquiry-dialog { align-items: flex-end; padding: 0; } .enquiry-dialog-box { max-width: none; border-radius: 16px 16px 0 0; max-height: 92vh; } }
/* Company page: products use the full width now that the enquiry form is a popup */
.company-layout.company-full { grid-template-columns: minmax(0, 1fr); }
.company-layout.company-full .listing-grid-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .company-layout.company-full .listing-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .company-layout.company-full .listing-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.enquiry-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--blue-50); }
.enquiry-cta h2 { margin: 0 0 4px; font-size: 1.15rem; }
.enquiry-cta p { margin: 0; color: var(--muted); }
/* Stock lot countdown (owner, 2026-10-31): free lots end after the free days, a paid member's lots with the membership. */
.lot-countdown dd { color: #b45309; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lot-countdown-note { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: .9rem; }
/* Home guides as a sideways slider (owner, 2026-10-31): three in view on desktop, one and a bit on phones. */
.post-grid.post-slider { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.post-slider > li { scroll-snap-align: start; }
@media (max-width: 960px) { .post-grid.post-slider { grid-template-columns: none; grid-auto-columns: 46%; gap: 16px; } }
@media (max-width: 600px) { .post-grid.post-slider { grid-auto-columns: 82%; } }
/* Home heading names both segments (owner, 2026-10-31): one line each, the second in the accent colour. */
.hero h1 .hero-line { display: block; }
.hero h1 .hero-line-accent { color: #60a5fa; }
/* AdSense boxes (WORK-PLAN T23): height kept in advance so the page does not jump; a box Google leaves empty disappears. */
.ad-slot { margin: 28px auto; min-height: 300px; max-width: 100%; overflow: hidden; }
.ad-label { display: block; margin-bottom: 4px; color: var(--muted); font-size: .72rem; letter-spacing: .04em; text-align: center; }
.ad-slot:has(ins[data-ad-status="unfilled"]) { display: none; }
.ad-slot-preview { display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px dashed #cbd5e1; border-radius: 8px; color: var(--muted); }
.post-grid-ad { grid-column: 1 / -1; min-width: 0; }
.post-grid-ad .ad-slot { margin: 0; }
@media print { .ad-slot { display: none; } }
