/* ZAGERO Premium Bright Marketplace — Airbnb/Vinted-inspired SPA shell */
/* Marker: ZAGERO_BRIGHT_MARKETPLACE_2026-11-09 */

body {
  background-color: #ffffff !important;
  background:
    radial-gradient(1100px 520px at 8% -10%, rgba(255, 102, 0, 0.06), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(15, 23, 42, 0.03), transparent 50%),
    #ffffff !important;
  color: #0f172a !important;
}

/* —— Onboarding gateway (2-deur) —— */
.onboard-panel {
  max-width: 28rem !important;
  display: flex !important;
  flex-direction: column !important;
  max-height: min(88vh, 720px) !important;
  overflow: hidden !important;
  padding-bottom: 1rem !important;
}
#modal-auth .modal-head {
  flex-shrink: 0;
}
#modal-auth .onboard-gateway,
#modal-auth .onboard-pane:not([hidden]) {
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.15rem;
}
.reg-plan-label {
  margin: 0.15rem 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a !important;
}
.reg-plan-pick {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 0 0 0.95rem;
}
.reg-plan-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  border: 2px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 14px;
  padding: 0.9rem 0.95rem;
  cursor: pointer;
  font: inherit;
  color: #0f172a;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.reg-plan-radio {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  border: 2px solid #94a3b8;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  box-sizing: border-box;
}
.reg-plan-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: transparent;
}
.reg-plan-body {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}
.reg-plan-card strong {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a !important;
}
.reg-plan-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: #334155 !important;
}
.reg-plan-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b !important;
  line-height: 1.3;
}
.reg-plan-check {
  display: none;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}
.reg-plan-card.plan-standard.is-active {
  border-color: #1d4ed8;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18);
}
.reg-plan-card.plan-standard.is-active .reg-plan-radio {
  border-color: #1d4ed8;
}
.reg-plan-card.plan-standard.is-active .reg-plan-radio::after {
  background: #1d4ed8;
}
.reg-plan-card.plan-standard.is-active .reg-plan-check {
  display: inline-flex;
  background: #1d4ed8;
  color: #fff !important;
}
.reg-plan-card.plan-premium {
  border-color: #fdba74;
  background: #fffaf5;
}
.reg-plan-card.plan-premium.is-active {
  border-color: #ea580c;
  background: #fff7ed;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.22);
  transform: translateY(-1px);
}
.reg-plan-card.plan-premium.is-active .reg-plan-radio {
  border-color: #ea580c;
}
.reg-plan-card.plan-premium.is-active .reg-plan-radio::after {
  background: #ea580c;
}
.reg-plan-card.plan-premium.is-active .reg-plan-check {
  display: inline-flex;
  background: #ea580c;
  color: #fff !important;
}
.reg-plan-card:hover {
  border-color: #64748b;
}
.reg-plan-card.plan-premium:hover {
  border-color: #ea580c;
}
.onboard-cta-bar {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, #fff 28%);
  border-top: 1px solid #e2e8f0;
}
.onboard-cta-bar .b2b-oneclick-cta {
  width: 100%;
}
.onboard-cta-bar .b2b-oneclick-mandate {
  margin: 0.45rem 0 0;
  font-size: 0.74rem;
  line-height: 1.35;
  color: #64748b !important;
  text-align: center;
}
.onboard-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
}
button.linkish,
.linkish {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  color: #c2410c !important;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
/* Critical: .stack / .onboard-gateway set display:flex and override native [hidden] */
#modal-auth [hidden],
#modal-auth .onboard-pane[hidden],
#modal-auth .onboard-gateway[hidden],
#modal-auth .stack[hidden] {
  display: none !important;
}
#modal-auth .onboard-gateway:not([hidden]) {
  display: flex !important;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.25rem 0 0.5rem;
}
#modal-auth .stack.onboard-pane:not([hidden]) {
  display: flex !important;
  flex-direction: column;
  gap: 0.85rem;
}
.onboard-gateway {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.25rem 0 0.5rem;
}
.onboard-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: 100%;
  text-align: left;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  border-radius: 16px !important;
  padding: 1.05rem 1.15rem !important;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.onboard-choice strong {
  font-size: 1.05rem;
  color: #0f172a !important;
}
.onboard-choice span {
  font-size: 0.88rem;
  color: #475569 !important;
  font-weight: 600;
}
.onboard-choice:hover {
  border-color: #ff6600 !important;
  background: #fff4ec !important;
  transform: translateY(-1px);
}
.onboard-choice-particulier {
  border-color: #fdba74 !important;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%) !important;
}
.onboard-choice-pro {
  border-color: #cbd5e1 !important;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
}
.onboard-pane-hint {
  margin: -0.25rem 0 0.75rem;
  font-size: 0.88rem;
  color: #475569 !important;
  line-height: 1.4;
}
.vies-preview {
  margin: 0.15rem 0 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid #bbf7d0;
  background: #f0fdf4 !important;
}
.vies-preview.is-pending {
  border-color: #fde68a;
  background: #fffbeb !important;
}
.vies-preview.is-error {
  border-color: #fecaca;
  background: #fef2f2 !important;
}
.vies-preview-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #166534 !important;
  margin-bottom: 0.25rem;
}
.vies-preview.is-pending .vies-preview-label,
.vies-preview.is-error .vies-preview-label {
  color: #92400e !important;
}
.vies-preview.is-error .vies-preview-label {
  color: #991b1b !important;
}
.vies-preview-company {
  font-weight: 800;
  color: #0f172a !important;
  font-size: 0.98rem;
}
.vies-preview-address {
  margin-top: 0.2rem;
  font-size: 0.84rem;
  color: #334155 !important;
  white-space: pre-line;
  line-height: 1.35;
}
.vies-preview-status {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #475569 !important;
}
.onboard-disclaimer {
  margin: 0.35rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc !important;
  color: #0f172a !important;
  font-size: 0.8rem;
  line-height: 1.4;
}
.onboard-disclaimer strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.86rem;
}
.onboard-disclaimer ul {
  margin: 0;
  padding-left: 1.05rem;
}
.onboard-disclaimer li {
  margin: 0.18rem 0;
}
.onboard-back {
  border: 0;
  background: none;
  color: #475569 !important;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin: 0 0 0.35rem;
  align-self: flex-start;
}
.onboard-sub {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #0f172a !important;
}
.onboard-free-banner {
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: #ffedd5 !important;
  border: 2px solid #ff6600;
  color: #c2410c !important;
  font-weight: 900;
  font-size: 0.88rem;
  line-height: 1.3;
  text-align: center;
  letter-spacing: -0.01em;
}
.onboard-fine {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: #64748b !important;
  text-align: center;
  line-height: 1.4;
}
#modal-auth .field label {
  color: #0f172a !important;
  font-weight: 700;
}
#modal-auth input,
#modal-auth textarea,
#modal-auth select,
#modal-place input,
#modal-place textarea,
#modal-place select {
  color: #0f172a !important;
  background: #ffffff !important;
  caret-color: #ff6600 !important;
}
.source-pill.source-particulier {
  background-color: #ffedd5 !important;
  color: #c2410c !important;
}

/* —— Utility top strip —— */
.util-bar {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  font-size: 0.78rem;
}
.util-bar-inner {
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.35rem;
  padding: 0.25rem 0;
}
.util-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}
.util-links button,
.util-links a {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: #475569 !important;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}
.util-links button:hover,
.util-links a:hover {
  color: #ff6600 !important;
}
.util-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.util-actions .btn-primary {
  border-radius: var(--z-radius-pill);
  padding: 0.5rem 1.05rem;
  font-size: 0.82rem;
  min-height: 2.25rem;
  background: #ff6600 !important;
  color: #ffffff !important;
}

/* —— Flag / country dropdown —— */
.flag-dd-toggle {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #1a202c !important;
  border-radius: 999px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important;
  font-weight: 800 !important;
}
.flag-dd-toggle .chev {
  border-top-color: #1a202c !important;
}
.flag-dd-menu {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12) !important;
}
.flag-dd-item {
  color: #0f172a !important;
}
.flag-dd-item:hover,
.flag-dd-item.active {
  background: #fff4ec !important;
}
.flag-dd-item .name {
  color: #0f172a !important;
}
.flag-dd-item .langs {
  color: #64748b !important;
}
.flag-lang-row button {
  background: #ffffff !important;
  color: #475569 !important;
  border-color: #e2e8f0 !important;
}
.flag-lang-row button.active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
}

/* —— Search band —— */
.topbar {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
}
.topbar-inner {
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 0.85rem 0 !important;
  gap: 0.85rem !important;
  flex-wrap: wrap;
}
.topbar-main {
  flex: 1 1 280px;
  gap: 0.95rem !important;
  align-items: center !important;
}
.brand,
.brand-logo-img + *,
.topbar .brand {
  color: #0f172a !important;
}
.brand-logo-img {
  max-height: 52px !important;
  width: auto !important;
  filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.12));
}
.search-shell {
  flex: 1 1 auto;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--z-radius-pill) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.08) !important;
  min-height: 54px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}
.search-shell:focus-within {
  border-color: #ff6600 !important;
  box-shadow:
    0 0 0 3px rgba(255, 102, 0, 0.18),
    0 10px 28px rgba(15, 23, 42, 0.1) !important;
}
.search-shell .ico {
  color: #64748b !important;
}
.search-shell input {
  color: #1a202c !important;
  background: transparent !important;
}
.search-shell input::placeholder {
  color: #94a3b8 !important;
}
.search-shell button.search-go {
  border-radius: var(--z-radius-pill) !important;
  margin: 0.35rem 0.4rem 0.35rem 0;
  padding: 0.55rem 1.15rem !important;
  background: #ff6600 !important;
  color: #ffffff !important;
  font-weight: 700;
}
.search-extras select,
#home-region {
  border: 1px solid #e2e8f0;
  border-radius: var(--z-radius-pill);
  background: #ffffff;
  padding: 0.55rem 1rem;
  font: inherit;
  font-size: 0.85rem;
  color: #0f172a !important;
  min-height: 48px;
  max-width: 14rem;
}
.header-actions .btn-ghost {
  border-radius: var(--z-radius-pill);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a !important;
}
.header-actions .btn-primary,
.place-with-privacy .btn-primary,
#btn-place-ad,
button[data-i18n="placeAd"] {
  background: #ff6600 !important;
  color: #ffffff !important;
  border: 0 !important;
}
.header-actions .privacy-chip {
  display: none !important;
}

/* —— Stiel pill-row (onder zoekbalk) —— */
.icon-cats {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
.icon-cats-inner {
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.75rem 0 0.95rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.icon-cat {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.95rem;
  border: 1px solid #e2e8f0 !important;
  background: #f1f5f9 !important;
  cursor: pointer;
  font: inherit;
  color: #0f172a !important;
  border-radius: 50px !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.icon-cat:hover {
  border-color: rgba(255, 102, 0, 0.45) !important;
  transform: translateY(-1px);
  background: #fff4ec !important;
}
.icon-cat.active {
  background: #fff4ec !important;
  border-color: #ff6600 !important;
  color: #0f172a !important;
  box-shadow: 0 0 0 1px rgba(255, 102, 0, 0.2);
}
.icon-cat .emoji {
  font-size: 1.05rem;
  line-height: 1;
}
.icon-cat span {
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  color: #0f172a !important;
}

/* —— Compact marketplace hub —— */
.hero {
  background: transparent !important;
  padding: 1.1rem 0 0.2rem !important;
  border-bottom: 0 !important;
}
.hero h1 {
  font-family: var(--font-display) !important;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem) !important;
  margin: 0 0 0.25rem !important;
  letter-spacing: -0.03em;
  color: #0f172a !important;
}
.hero p.lead {
  margin: 0 !important;
  font-size: 0.92rem !important;
  color: #475569 !important;
  max-width: 40rem;
}
.hero .region-row {
  display: none !important;
}

.market-hub {
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0.35rem auto 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.market-hub .hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.9rem;
  border-radius: var(--z-radius-pill);
  border: 1px solid #e2e8f0;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.market-hub .hub-pill:hover,
.market-hub .hub-pill.active {
  border-color: #ff6600;
  background: #fff4ec !important;
  color: #0f172a !important;
}
.market-hub .hub-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b !important;
}

/* —— Marketplace —— */
.marketplace {
  background: transparent;
  padding: 0.5rem 0 3.5rem !important;
}
.market-layout {
  grid-template-columns: 210px minmax(0, 1fr) !important;
  gap: 1.1rem !important;
}
.side-nav {
  width: 210px !important;
  max-width: 210px !important;
  border-radius: var(--z-radius) !important;
  padding: 0.85rem !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}
.side-nav-title {
  font-size: 0.72rem !important;
  color: #0f172a !important;
  border-bottom-color: #e2e8f0 !important;
}
.cat-chip {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  color: #0f172a !important;
}
.cat-chip,
.cat-chip span,
.cat-chip .emoji {
  color: #0f172a !important;
}
.cat-chip:hover {
  background: #fff4ec !important;
  border-color: rgba(255, 102, 0, 0.4) !important;
}
.cat-chip.active {
  background: #fff4ec !important;
  border-color: #ff6600 !important;
  box-shadow: inset 3px 0 0 #ff6600 !important;
}
.cat-chip.active span {
  color: #0f172a !important;
}
.cat-chip .emoji {
  background: #ffffff !important;
}
.side-featured {
  margin: 0 0 0.75rem;
  padding: 0 0 0.65rem;
  border-bottom: 1px solid #e2e8f0;
}
.side-featured strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b !important;
  margin-bottom: 0.4rem;
}
.side-featured a,
.side-featured button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 0.4rem 0.35rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  color: #0f172a !important;
  cursor: pointer;
  border-radius: 10px;
}
.side-featured a:hover,
.side-featured button:hover {
  color: #ff6600 !important;
  background: #fff4ec !important;
}
.side-social {
  display: none !important;
}
.privacy-shield {
  background: linear-gradient(135deg, #fff4ec, #ffffff) !important;
  border: 1px solid rgba(255, 102, 0, 0.28) !important;
  border-radius: var(--z-radius) !important;
  box-shadow: none !important;
  color: #0f172a !important;
}
.feed-head h2 {
  color: #0f172a !important;
  font-family: var(--font-display);
}
.feed-head a {
  color: #ff6600 !important;
}
.market-tab {
  border-radius: var(--z-radius) !important;
  padding: 0.75rem 0.95rem !important;
  font-size: 0.86rem !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
.market-tab:hover {
  border-color: rgba(255, 102, 0, 0.45) !important;
  background: #fff4ec !important;
  color: #0f172a !important;
}
.market-tab.active,
.market-tab[data-market="public"].active {
  background: #ffffff !important;
  border-color: #ff6600 !important;
  color: #0f172a !important;
  box-shadow: inset 0 -3px 0 #ff6600 !important;
}
.filter-note,
.feed-meta {
  color: #475569 !important;
}
.feed-meta strong {
  color: #0f172a !important;
}
.public-tender-note {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

/* —— Zoekertjes feed —— */
#listings {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem;
}
#listings .empty-listings {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--z-radius);
  padding: 1.75rem;
  text-align: center;
  color: #475569 !important;
}
.listing {
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
  min-height: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
  animation: zgCardIn 0.45s ease both;
  color: #0f172a !important;
}
.listing:hover {
  border-color: rgba(255, 102, 0, 0.55) !important;
  box-shadow: 0 12px 32px rgba(255, 102, 0, 0.12) !important;
  transform: translateY(-3px);
}
.listing .listing-media,
.listing-media,
.listing-media .listing-brand-logo,
.listing-media .zari-avatar,
.listing-media-emoji {
  display: none !important;
}
.listing-body {
  display: flex !important;
  flex-direction: column !important;
  padding: 1rem 1.05rem 1.1rem !important;
  gap: 0.55rem !important;
  flex: 1;
}
.listing-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
/* Legacy trade/logo icon permanently removed — replaced by source-pill */
.listing-trade-ico {
  display: none !important;
}
.source-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px !important;
  padding: 4px 12px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  line-height: 1.2;
  white-space: nowrap;
  flex: 0 0 auto;
  border: 0;
  letter-spacing: 0.01em;
}
.source-pill.source-google {
  background-color: #e0f2fe !important;
  color: #0369a1 !important;
}
.source-pill.source-facebook {
  background-color: #e0e7ff !important;
  color: #4338ca !important;
}
.source-pill.source-particulier {
  background-color: #ffedd5 !important;
  color: #c2410c !important;
}
.source-pill.source-aanbesteding {
  background-color: #f1f5f9 !important;
  color: #475569 !important;
}
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--z-radius-pill);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-left: auto;
}
.status-tag.status-urgent {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.status-tag.status-active {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.listing-body h3,
.listing-title-text {
  font-family: var(--font-display) !important;
  font-size: 1.08rem !important;
  font-weight: 750 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #0f172a !important;
}
.listing-ico {
  display: none !important;
}
.listing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.region-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.32rem 0.7rem;
  border-radius: var(--z-radius-pill);
  background: #fff4ec;
  border: 1px solid rgba(255, 102, 0, 0.35);
  color: #c2410c !important;
  font-size: 0.74rem;
  font-weight: 700;
}
.size-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border-radius: var(--z-radius-pill);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569 !important;
  font-size: 0.74rem;
  font-weight: 700;
}
.listing-meta-line {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  margin: 0 !important;
  font-size: 0.72rem !important;
  color: #64748b !important;
  line-height: 1.3;
}
.listing-time {
  font-size: inherit !important;
  color: inherit !important;
  margin: 0 !important;
  font-weight: 500 !important;
}
.listing-sep {
  opacity: 0.55;
}
.listing-region {
  display: none !important;
}
.listing-trade {
  margin: 0 !important;
  font-size: 0.78rem !important;
  color: #475569 !important;
  font-weight: 650;
}
.listing-meta,
.listing .listing-view,
.listing .badge-social,
.listing .badge-public,
.listing .badge-tiktok,
.listing .badge-instagram,
.listing .badge-reddit,
.listing .badge-google,
.listing .badge-whatsapp,
.listing .badge-region,
.listing .badge-status {
  display: none !important;
}

@keyframes zgCardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pager button {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  border-radius: 12px !important;
}
.pager button.active {
  background: #ff6600 !important;
  border-color: #ff6600 !important;
  color: #fff !important;
}

/* —— Shell sync —— */
.dashboard,
.b2b-console {
  background: transparent !important;
  background-image: none !important;
  color: #0f172a !important;
}
.dashboard .wrap,
.b2b-console .wrap,
.b2b-layout {
  width: min(1180px, calc(100% - 1.5rem));
  margin-left: auto;
  margin-right: auto;
}
.dash-card,
.b2b-card,
.b2b-filters,
.plan-box,
.launch-banner,
.dash-empty,
.modal-card,
.auth-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--z-radius) !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05) !important;
  color: #0f172a !important;
}
.dash-card.is-outsourced {
  background: #f8fafc !important;
  opacity: 0.9;
}
.plan-box.premium {
  background: #fff4ec !important;
  border-color: rgba(255, 102, 0, 0.4) !important;
}
.plan-switch button.active,
.b2b-filters .field select:focus {
  border-color: #ff6600 !important;
  background: #fff4ec !important;
  color: #0f172a !important;
}
.launch-banner {
  background: #fff4ec !important;
  border-color: rgba(255, 102, 0, 0.4) !important;
}
.btn-primary,
button.btn-primary,
.btn-match,
.btn-outsource,
.btn-convert,
.search-go,
.util-actions .btn-primary {
  background: #ff6600 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--z-radius-pill) !important;
}
.btn-primary:hover,
.btn-match:hover,
.btn-outsource:hover,
.btn-convert:hover,
.search-go:hover {
  background: #e55a00 !important;
}
.btn-ghost,
.btn-chat-open,
.listing-view,
.plan-switch button {
  border-radius: var(--z-radius-pill) !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
  background: #ffffff !important;
}
.plan-switch button:disabled {
  opacity: 0.55;
  cursor: default;
}
.plan-switch button#plan-premium:not(:disabled) {
  border-color: #ff6600 !important;
  background: #fff7ed !important;
  font-weight: 800;
}
.badge,
.privacy-chip,
.status-pill {
  border-radius: var(--z-radius-pill) !important;
}
.dash-head h1,
.b2b-main h1,
.dash-card h3,
.b2b-card h3,
h1, h2, h3, h4, p, label, li, td, th {
  color: inherit;
}
.dash-head h1,
.b2b-main h1,
.dash-card h3,
.b2b-card h3 {
  color: #0f172a !important;
}
.dash-head p,
.b2b-main .lead,
.dash-card .desc,
.b2b-card .desc {
  color: #475569 !important;
}
.cancel-engine {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--z-radius) !important;
  background-image: none !important;
}
.cancel-engine p,
#cancel-guarantee {
  color: #0f172a !important;
}
#btn-cancel-subscription {
  background: #ff6600 !important;
  border-color: #ff6600 !important;
  border-radius: var(--z-radius-pill) !important;
  color: #fff !important;
}

/* —— Modals —— */
.modal-backdrop {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(6px);
}
.modal-panel,
.modal.open .modal-card,
.modal.open .sheet,
#modal-auth .modal-panel,
#modal-place .modal-panel,
#modal-paywall .modal-panel,
#modal-job .modal-panel,
.modal.legal-modal .modal-panel {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  color: #0f172a !important;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18) !important;
  animation: zgModalPop 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.modal-head h2 {
  color: #0f172a !important;
  font-family: var(--font-display);
}
.modal-head p {
  color: #475569 !important;
}
.close-x {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px !important;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  font-size: 1.35rem !important;
  line-height: 1;
  display: inline-grid;
  place-items: center;
}
.close-x:hover {
  border-color: #ff6600 !important;
  color: #ff6600 !important;
}

#paywall-norefund-wrap,
#reg-norefund-wrap {
  border: 2px solid rgba(255, 102, 0, 0.55) !important;
  background: #fff4ec !important;
  color: #0f172a !important;
  border-radius: 12px !important;
}
.emergency-check {
  border-color: #f87171 !important;
  background: #fef2f2 !important;
  color: #0f172a !important;
}

@keyframes zgModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes zgModalPop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .market-layout {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .side-nav {
    width: 100% !important;
    max-width: none !important;
    position: static !important;
  }
  .util-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .market-layout {
    display: flex !important;
    flex-direction: column !important;
  }
  .side-nav {
    order: -1;
    overflow: visible !important;
  }
  .side-featured {
    display: none !important;
  }
  .cats-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 0.45rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .cat-chip {
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    min-width: 4.6rem;
    border-radius: 16px !important;
  }
  .cat-chip span {
    color: #0f172a !important;
    font-size: 0.62rem !important;
    text-align: center;
  }
  .listing-toprow {
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
  }
  .source-pill {
    font-size: 0.78rem !important;
    padding: 4px 10px !important;
  }
  .status-tag {
    margin-left: auto !important;
  }
  .search-shell,
  .listing,
  #listings,
  .market-main,
  .feed {
    width: 100% !important;
    max-width: 100% !important;
  }
  .search-shell {
    min-height: 48px;
  }
  .listing-body h3,
  .listing-title-text {
    font-size: 1.02rem !important;
  }
  .icon-cat span {
    max-width: 5.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #0f172a !important;
  }
  .brand-logo-img {
    max-height: 42px !important;
  }
}
