/* Bikwao design system. One file, no framework.
   Spacing scale (px): 4 8 12 16 24 32 48 64 96. Text 16px minimum. */

: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: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-lg: 0 12px 32px -8px rgba(16, 24, 40, .16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --section: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 16px/1.65 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
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.2; margin: 0 0 12px; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 16px; }
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: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }

/* Buttons: 48px tall, clear labels */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: 600 1rem/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: 18px; height: 18px; }
.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: 56px; padding: 0 28px; font-size: 1.05rem; }
.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); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%); padding: 88px 0 64px; }
.hero-inner { max-width: 960px; text-align: center; }
.hero-kicker { display: inline-block; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--blue-100); color: var(--blue-dark); font-weight: 600; font-size: .9rem; }
.hero h1 { margin-bottom: 20px; }
.hero-lead { font-size: 1.2rem; color: var(--text); max-width: 680px; margin: 0 auto 36px; }
.search-box { display: flex; gap: 8px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); max-width: 840px; margin: 0 auto; }
.search-field { display: flex; align-items: center; gap: 10px; flex: 1; padding: 0 14px; color: var(--muted); }
.search-city { flex: 0 0 220px; border-left: 1px solid var(--line); }
.search-field input { width: 100%; min-height: 48px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.05rem; color: var(--ink); }
.search-field input::placeholder { color: #98a2b3; }
.search-box:focus-within { border-color: var(--blue); }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; list-style: none; margin-top: 32px; color: var(--ink); font-weight: 550; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--green); width: 18px; height: 18px; }

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

/* Buy / sell paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: -8px; }
.path-card { padding: 36px; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.path-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; margin-bottom: 20px; }
.path-icon .icon { width: 26px; height: 26px; }
.path-buy .path-icon { background: var(--blue-50); color: var(--blue); }
.path-sell .path-icon { background: var(--green-50); color: var(--green); }
.path-card h3 { font-size: 1.5rem; }
.path-card p { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.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: 24px; 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: 16px 18px 4px; font-weight: 700; line-height: 1.35; }
.category-meta { padding: 0 18px 18px; color: var(--muted); font-size: .9rem; }

/* Listings */
.listing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.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 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.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.8em; }
.media-empty { display: flex; height: 100%; align-items: center; justify-content: center; color: #98a2b3; }
.media-empty .icon { width: 40px; height: 40px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 650; background: var(--blue-50); color: var(--blue-dark); }
.tag-on-media { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: var(--shadow); }
.listing-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.listing-card-title { font-size: 1.02rem; line-height: 1.4; margin-bottom: 14px; }
.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: 12px; margin: 0 0 16px; }
.facts dt { font-size: .78rem; 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: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.meta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.meta.seller { color: var(--text); font-weight: 550; }
.verified { display: inline-flex; color: var(--green); }
.cta-card { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 28px; border: 2px dashed var(--line-2); background: transparent; color: var(--text); min-height: 280px; }
.cta-card:hover { border-color: var(--blue); text-decoration: none; background: #fff; }
.cta-card strong { color: var(--ink); font-size: 1.15rem; }
.cta-card-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.cta-card .link-arrow { color: var(--blue); margin-top: 6px; }

/* How it works */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.how-col { padding: 40px; border: 1px solid var(--line); border-radius: 20px; }
.how-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; margin-bottom: 28px; }
.how-col h3 .icon { color: var(--blue); width: 24px; height: 24px; }
.steps { list-style: none; counter-reset: step; margin-bottom: 32px; }
.steps li { position: relative; padding: 0 0 26px 56px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-50); color: var(--blue-dark); font-weight: 750; display: flex; align-items: center; justify-content: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.steps strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 2px; }
.steps span { color: var(--muted); }

/* Requirements */
.req-list { list-style: none; display: grid; gap: 16px; margin-bottom: 24px; }
.req-item { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; }
.req-item h3 { margin-bottom: 8px; }
.req-item h3 a { color: var(--ink); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; color: var(--muted); font-size: .92rem; }
.meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.note-card { display: flex; align-items: center; gap: 20px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--blue-100); }
.note-card p { margin: 4px 0 0; color: var(--muted); }
.note-card strong { color: var(--ink); font-size: 1.1rem; }
.note-card .btn { margin-left: auto; }
.note-icon { display: inline-flex; flex: none; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: var(--blue-50); color: var(--blue); }
.note-icon .icon { width: 26px; height: 26px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; }
.feature-grid li { padding: 32px 28px; border-radius: var(--radius); background: var(--bg-alt); }
.feature-grid p { color: var(--muted); margin: 0; }
.feature-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: #fff; color: var(--blue); margin-bottom: 18px; box-shadow: var(--shadow); }
.feature-icon .icon { width: 24px; height: 24px; }

/* FAQ */
.faq-list { display: grid; gap: 12px; margin-bottom: 32px; }
.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: 16px; padding: 22px 24px; cursor: pointer; list-style: none; font-weight: 650; color: var(--ink); font-size: 1.05rem; }
.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 24px 22px; margin: 0; }

/* CTA band */
.cta-band { background: var(--navy); color: #d6def0; padding: 72px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.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; }
.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); }
.home-banner-track::-webkit-scrollbar { display: none; }
.home-banner { display: block; aspect-ratio: 4 / 1; scroll-snap-align: start; background: var(--bg-alt); }
.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: 3 / 1; } }

/* 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(120deg, var(--navy), var(--navy-2)); color: #d6def0; padding: 40px 0; }
.brokerage-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brokerage-big { margin: 0; font-size: 3.6rem; font-weight: 800; line-height: 1; color: #4ade80; }
.brokerage-inner h2 { margin: 0 0 6px; color: #fff; font-size: 1.4rem; }
.brokerage-inner p { margin: 0; max-width: 640px; }
@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: 14px; } .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: 0 0 28px; font-size: .95rem; }
.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; transform: translateY(-36px); margin-bottom: 4px; }
.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(4, minmax(0, 1fr)); gap: 32px; }
.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; transform: translateY(-28px); }
  .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, .listing-grid { grid-template-columns: repeat(3, 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: .8rem; padding: 5px 12px; }
  .hero-lead { font-size: 1.05rem; margin-bottom: 28px; }
  .search-box { flex-direction: column; padding: 12px; }
  .search-city { flex: 1; 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: 320px; margin: 28px auto 0; gap: 10px; }
  .paths, .how-grid { grid-template-columns: 1fr; gap: 16px; }
  .path-card, .how-col { padding: 24px; }
  .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 .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: 0; font-size: .9rem; color: var(--red); font-weight: 550; }
.has-error .input { border-color: var(--red); }
.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 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 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; 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; }
.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, 1fr); gap: 0 32px; margin: 0; }
.spec-table div, .fact-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-table dt, .fact-list dt { color: var(--muted); }
.spec-table dd, .fact-list dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.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; }
.listing-side { display: grid; gap: 20px; position: sticky; top: 96px; }
.buy-box, .seller-card, .enquiry-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.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 { margin: 0 0 24px; }
.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); }
.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; }
.seller-facts { list-style: none; display: grid; gap: 8px; margin-bottom: 14px; color: var(--text); }
.seller-facts li { display: flex; align-items: center; gap: 8px; }
.seller-facts .icon { color: var(--muted); }
.enquiry-card { display: grid; gap: 16px; scroll-margin-top: 96px; }
.enquiry-card h2 { font-size: 1.25rem; margin: 0; }
.enquiry-card .alert { margin: 0; }
textarea.input { min-height: 110px; resize: vertical; line-height: 1.5; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 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, 1fr); }

@media (max-width: 1080px) {
  .listing-layout, .browse-layout { grid-template-columns: 1fr; }
  .listing-side, .browse-side { position: static; }
  .listing-side { order: -1; }
  .listing-grid-3 { grid-template-columns: repeat(2, 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: 20px; border-radius: 16px; }
  .spec-table { grid-template-columns: 1fr; }
  .listing-title { font-size: 1.35rem; }
  .listing-grid-3 { grid-template-columns: 1fr; }
}

/* 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: cover; background: #fff; border: 1px solid var(--line); }
.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; 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; }
.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; }
.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: .82rem; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.topbar p { margin: 0; display: flex; gap: 18px; align-items: center; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: #fff; }
.topbar .icon { width: 14px; height: 14px; color: #4ade80; }
.topbar-links .icon { color: #c9d4ee; }
.header-row { gap: 20px; min-height: 72px; }
.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: 11px 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); background: #fff; }
.catbar-row { display: flex; align-items: center; gap: 20px; min-height: 44px; }
.catbar ul { display: flex; list-style: none; gap: 2px; }
.catbar a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 8px 10px; border-radius: 8px; color: var(--text); font-weight: 550; font-size: .92rem; }
.catbar a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
.catbar-main a { color: var(--ink); font-weight: 650; }
.catbar-cats { flex: 1; overflow-x: auto; scrollbar-width: none; padding-left: 16px; border-left: 1px solid var(--line); }
.catbar-cats::-webkit-scrollbar { display: none; }
.catbar-all { color: var(--blue) !important; font-weight: 650 !important; }
.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: none; }
  .catbar-cats { border-left: 0; padding-left: 0; }
}
@media (max-width: 1080px) {
  .header-actions { display: none; }
  .topbar-facts { display: none !important; }
  .topbar-row { justify-content: flex-end; }
}
@media (max-width: 720px) {
  .topbar { display: none; }
  .header-row > .header-search { display: none; }
  .catbar { display: none; }
  body { padding-bottom: 68px; }
  .bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(16, 24, 40, .08); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav a { display: grid; justify-items: center; gap: 2px; padding: 4px 2px; font-size: .72rem; font-weight: 600; color: var(--text); text-decoration: none !important; }
  .bottom-nav a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .bottom-nav .icon { width: 22px; height: 22px; }
  .bottom-nav-main .icon { width: 40px; height: 40px; padding: 9px; margin-top: -18px; border-radius: 50%; background: var(--blue); color: #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: sticky; top: 0; z-index: 20; margin-top: 24px; background: rgba(255, 255, 255, .96); 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: 72px; }
.company-layout .listing-main { display: grid; 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); }
.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 .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); }
.ad-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ad-track::-webkit-scrollbar { display: none; }
.ad-slide { position: relative; display: block; scroll-snap-align: start; aspect-ratio: 4 / 1; 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; pointer-events: none; }
.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; }
.ad-dots span.is-on { background: #fff; width: 18px; border-radius: 4px; }
.ad-house { display: flex; align-items: center; gap: 24px; padding: 0 clamp(20px, 5vw, 56px); color: #fff; }
.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-body { position: relative; z-index: 1; display: grid; gap: 4px; max-width: 640px; }
.ad-house-eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.ad-house-title { font-size: clamp(1.15rem, .8rem + 1.6vw, 2rem); font-weight: 800; line-height: 1.15; }
.ad-house-text { font-size: clamp(.82rem, .75rem + .3vw, 1rem); opacity: .92; line-height: 1.45; }
.ad-house-cta { position: relative; z-index: 1; margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; font-size: .95rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: transform .2s; }
.ad-house:hover .ad-house-cta { transform: translateX(4px); }
.ad-house-cta .icon { width: 18px; height: 18px; }
.ad-house-art span { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); animation: ad-float 9s ease-in-out infinite; }
.ad-house-art span:nth-child(1) { width: 260px; height: 260px; right: 18%; top: -120px; }
.ad-house-art span:nth-child(2) { width: 160px; height: 160px; right: -40px; bottom: -70px; animation-delay: -3s; }
.ad-house-art span:nth-child(3) { width: 90px; height: 90px; left: 45%; bottom: -40px; animation-delay: -6s; background: rgba(255, 255, 255, .07); }
@keyframes ad-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-14px, 10px, 0); } }
.ad-section { padding: 8px 0 48px; }
@media (max-width: 720px) {
  .ad-slide { aspect-ratio: 16 / 7; }
  .ad-house { flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 16px 18px 26px; }
  .ad-house-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ad-house-cta { margin-left: 0; padding: 9px 16px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ad-house, .ad-house-art span { animation: none; }
}
.ad-inline { margin: 0 0 20px; }
.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: 12px; transform: translateX(-50%); z-index: 2; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--navy); font-size: .8rem; font-weight: 700; text-decoration: none !important; box-shadow: 0 4px 14px rgba(16, 24, 40, .22); animation: ad-pulse 2.4s ease-in-out infinite; }
.ad-book:hover { background: #fff; color: var(--blue-dark); }
.ad-book .icon { width: 14px; height: 14px; }
@keyframes ad-pulse { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.06); } }
@media (max-width: 720px) { .ad-book { top: 8px; padding: 5px 10px; font-size: .72rem; } .ad-strip:has(.ad-book) .ad-house { padding-top: 40px; } }
@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, #9a4a06, #c2610c 50%, #9a4a06); color: #fff; font-size: .88rem; text-align: center; text-decoration: none !important; }
.launch-bar:hover { color: #fff; }
.launch-bar-tag { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.launch-bar-cta { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: underline; }
@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; }
