/* Nellai Online - mobile-first, high readability */
:root {
  --jd-yellow: #f5b800;
  --jd-yellow-dark: #d9a400;
  --jd-green: #0d8f4a;
  --jd-green-dark: #0a7340;
  --jd-teal: #0d6b5c;
  --header-bg: #ffffff;
  --search-bg: #f4f6f8;
  --surface: #ffffff;
  --text: #1a1d21;
  --text-muted: #4a5563;
  --border: #e2e8f0;
  --card-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  --card-shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.1);
  --radius: 10px;
  --radius-lg: 14px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background: #f8fafc;
}
main {
  width: 100%;
  display: block;
}

/* Screen-reader only headings */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  background: var(--header-bg);
  box-shadow:
    0 1px 0 var(--border),
    0 8px 24px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
.header-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.header-inner .logo.site-logo-has-img {
  margin-right: auto;
  max-height: 52px;
  overflow: hidden;
}
.logo {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--jd-yellow-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  min-width: 0;
  max-width: min(280px, 55vw);
}
.logo span {
  color: var(--jd-green);
}
.logo.site-logo-has-img {
  padding: 4px 0;
  line-height: 0;
  max-width: min(260px, 58vw);
  max-height: 52px;
  overflow: hidden;
}
.site-header .site-logo-img,
.site-logo-img {
  display: block;
  height: auto !important;
  max-height: 52px !important;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.site-logo-img--footer {
  max-height: 56px;
  max-width: 220px;
  object-position: center center;
}
.footer-brand .footer-logo.site-logo-has-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  max-width: 100%;
}
.footer-brand .footer-heading .footer-logo.site-logo-has-img {
  margin-bottom: 4px;
}
/* Hamburger - hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
  border-radius: var(--radius);
}
.nav-toggle:hover {
  background: #f0f0f0;
}
.nav-toggle .hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 1px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
body.nav-open .nav-toggle .hamburger:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle .hamburger:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle .hamburger:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
}
.header-nav a:hover {
  background: #f1f5f9;
  color: var(--text);
}
.header-nav .btn-mybusiness {
  border: 2px solid var(--jd-yellow);
  color: var(--text);
  font-weight: 700;
}
.header-nav .btn-mybusiness:hover {
  background: var(--jd-yellow);
  color: #0f172a;
}
.header-nav .btn-login {
  background: var(--jd-green);
  color: #fff;
  font-weight: 700;
}
.header-nav .btn-login:hover {
  background: var(--jd-green-dark);
  color: #fff;
}

/* Overlay for mobile menu */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s,
    visibility 0.25s;
}

/* Hero search (other pages) */
.hero {
  background: linear-gradient(135deg, #fff9e6 0%, #fff 50%, #e8f5e9 100%);
  padding: 24px 16px 32px;
  width: 100%;
}
.hero-inner {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}
.hero h1 {
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  color: #222;
  margin: 0 0 16px;
  font-weight: 700;
}
.hero-tagline {
  color: #666;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.search-hero-hint {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 520px;
  margin: 0 auto 20px;
}
.search-hero-hint strong {
  color: var(--text);
}
.search-results-title .search-results-count {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.85em;
}
.search-results-note {
  margin: -8px 0 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.search-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
}
.search-box input,
.search-box select {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-size: 1rem;
  min-width: 0;
}
.search-box input {
  flex: 1;
  min-width: 180px;
}
.search-box select {
  max-width: 160px;
}
.search-box input:focus,
.search-box select:focus {
  outline: none;
  border-color: var(--jd-yellow);
}
.search-box button {
  padding: 12px 24px;
  background: var(--jd-green);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.search-box button:hover {
  background: var(--jd-green-dark);
}

/* ========== HOME PAGE ========== */
.home-hero {
  position: relative;
  padding: 36px 20px 44px;
  overflow: hidden;
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #fff8dc 0%, #fff 35%, #e8f5e9 100%);
  z-index: 0;
}
.home-hero-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
  pointer-events: none;
}
.home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.home-hero-title {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 8px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.home-hero-subtitle {
  color: #555;
  font-size: 1.05rem;
  margin: 0 0 24px;
}
.home-search-card {
  background: #fff;
  border-radius: 12px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 193, 7, 0.2);
}
.home-search-box {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: stretch;
}
.home-search-box input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-size: 1rem;
}
.home-search-box input:focus {
  outline: none;
  border-color: var(--jd-yellow);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}
.home-search-box select {
  padding: 14px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-size: 1rem;
  min-width: 140px;
}
.home-search-btn {
  padding: 14px 28px;
  background: var(--jd-green);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.1s;
}
.home-search-btn:hover {
  background: var(--jd-green-dark);
  transform: translateY(-1px);
}
.home-hero-stats {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 16px;
}
.home-hero-stats a {
  color: var(--jd-green);
  font-weight: 600;
  text-decoration: none;
}
.home-hero-stats a:hover {
  text-decoration: underline;
}
.home-quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.home-ql-item {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #444;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.home-ql-item:hover {
  background: #fff;
  border-color: var(--jd-yellow);
  color: #000;
}

.home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.home-section {
  padding: 32px 0 24px;
  border-bottom: 1px solid #eee;
}
.home-section:last-of-type {
  border-bottom: none;
}
.home-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--jd-yellow);
  display: inline-block;
}
.home-section-desc {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 20px;
}
.home-section-cta {
  margin: 20px 0 0;
}
.home-banners {
  padding-top: 28px;
}
.home-banner-slider {
  margin-top: 12px;
}
.home-banner-slider .banner-slide {
  flex: 0 0 min(340px, 88vw);
}
.home-banner-slider .banner-slide img {
  height: 160px;
}
.home-admin-ads {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.home-admin-ad-item {
  flex: 0 0 min(180px, 28vw);
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.home-admin-ad-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.home-admin-ad-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.home-biz-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.home-biz-card {
  padding: 18px;
}
.home-biz-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.biz-card-img-placeholder {
  background: linear-gradient(135deg, #f0f0f0, #e5e5e5);
}
.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.home-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  text-decoration: none;
  color: #333;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.home-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--jd-yellow);
}
.cat-card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  background: linear-gradient(145deg, var(--jd-yellow), #ffb300);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.35);
}
.cat-card-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #222;
  line-height: 1.3;
}
.cat-card-meta {
  font-size: 0.8rem;
  color: #666;
  margin-top: 4px;
}
.cat-card-arrow {
  font-size: 0.8rem;
  color: var(--jd-green);
  font-weight: 600;
  margin-top: 8px;
}
.btn-outline {
  background: transparent;
  color: var(--jd-green);
  border: 2px solid var(--jd-green);
}
.btn-outline:hover {
  background: var(--jd-green);
  color: #fff;
}
.home-cta-strip {
  background: linear-gradient(135deg, var(--jd-yellow), #ffb300);
  padding: 28px 20px;
  border-radius: 12px;
  margin-top: 32px;
  text-align: center;
}
.home-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}
.home-cta-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 16px;
}
.btn-hero {
  display: inline-block;
  padding: 14px 32px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.1s;
}
.btn-hero:hover {
  background: #333;
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .home-hero {
    padding: 28px 16px 36px;
  }
  .home-search-card {
    padding: 16px;
  }
  .home-search-box input,
  .home-search-box select {
    min-width: 0;
  }
  .home-search-box select {
    min-width: 100px;
  }
  .home-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .home-cat-card {
    padding: 16px 10px;
  }
  .biz-list.home-biz-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== Homepage main ========== */
.home-hero {
  padding-bottom: 40px;
  width: 100%;
}
.jd-hero {
  position: relative;
  background: linear-gradient(165deg, #ecfdf5 0%, #f8fafc 38%, #fffbeb 100%);
  padding: 32px 20px 40px;
  width: 100%;
  box-sizing: border-box;
}
.jd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 90% 60% at 50% -10%,
      rgba(13, 143, 74, 0.12),
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 40% at 100% 80%,
      rgba(245, 184, 0, 0.14),
      transparent 50%
    );
  pointer-events: none;
}
.jd-hero > * {
  position: relative;
  z-index: 1;
}
.jd-hero-layout {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 38%);
  gap: 28px 40px;
  align-items: center;
}
.jd-hero-copy {
  min-width: 0;
}
.jd-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.jd-hero-visual img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.08));
}
.jd-hero-head {
  text-align: left;
  max-width: 640px;
  margin: 0 0 22px;
}
.jd-hero-title {
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.jd-hero-tagline {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.jd-search-label {
  text-align: left;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 18px;
  font-weight: 500;
}
.jd-hero-copy .jd-search-label {
  max-width: 820px;
}
.jd-search-label strong {
  color: var(--text);
  font-weight: 800;
}
.jd-search-bar {
  max-width: 820px;
  min-width: 0;
  width: 100%;
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px rgba(15, 23, 42, 0.08),
    0 2px 8px rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border);
  overflow: hidden;
}
.jd-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
.jd-search-location {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-right: 1px solid var(--border);
  min-width: 168px;
  background: #f8fafc;
}
.jd-pin {
  font-size: 1.15rem;
  line-height: 1;
}
.jd-search-location select {
  border: none;
  background: transparent;
  font-size: 1.05rem;
  padding: 16px 0;
  color: var(--text);
  cursor: pointer;
  min-width: 120px;
  font-weight: 500;
}
.jd-search-location select:focus {
  outline: 2px solid var(--jd-green);
  outline-offset: 2px;
}
.jd-search-query {
  flex: 1 1 200px;
  min-width: 0;
}
.jd-search-query input {
  width: 100%;
  min-width: 0;
  padding: 16px 22px;
  border: none;
  font-size: 1.05rem;
  box-sizing: border-box;
  color: var(--text);
}
.jd-search-query input::placeholder {
  color: #94a3b8;
}
.jd-search-query input:focus {
  outline: 2px solid var(--jd-green);
  outline-offset: -2px;
}
.jd-search-actions {
  flex-shrink: 0;
}
.jd-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--jd-green) 0%, var(--jd-teal) 100%);
  color: #fff;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    filter 0.2s,
    transform 0.15s;
}
.jd-search-btn:hover {
  filter: brightness(1.06);
}
.jd-search-btn:active {
  transform: scale(0.98);
}
.jd-search-btn:focus-visible {
  outline: 3px solid rgba(13, 143, 74, 0.45);
  outline-offset: 2px;
}
.jd-search-icon {
  font-size: 1.1rem;
}

.jd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 8px;
  width: 100%;
  min-width: 0;
}
@media (min-width: 1024px) {
  .jd-container {
    padding-right: 52px;
  }
}
.jd-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 36px;
  min-width: 0;
}
.jd-top-row > * {
  min-width: 0;
}
.jd-advertise {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  color: #fff;
  background: linear-gradient(
    145deg,
    #0a7340 0%,
    var(--jd-green) 42%,
    var(--jd-teal) 100%
  );
  box-shadow: 0 16px 40px rgba(13, 143, 74, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  isolation: isolate;
}
.jd-advertise-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70%;
  height: 90%;
  background:
    radial-gradient(
      circle at 70% 20%,
      rgba(245, 184, 0, 0.45),
      transparent 55%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(255, 255, 255, 0.12),
      transparent 45%
    );
  pointer-events: none;
  z-index: 0;
  animation: jd-advertise-glow 8s ease-in-out infinite alternate;
}
.jd-advertise-inner {
  position: relative;
  z-index: 1;
}
.jd-advertise-kicker {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jd-yellow);
}
.jd-advertise-title {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 18ch;
  animation: jd-advertise-rise 0.7s ease-out both;
}
.jd-advertise-text {
  font-size: 1rem;
  margin: 0 0 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
  max-width: 36ch;
  animation: jd-advertise-rise 0.7s ease-out 0.08s both;
}
.jd-advertise-points {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: jd-advertise-rise 0.7s ease-out 0.16s both;
}
.jd-advertise-points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.4;
}
.jd-advertise-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--jd-yellow);
  box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.25);
}
.jd-advertise-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: jd-advertise-rise 0.7s ease-out 0.24s both;
}
.jd-advertise-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition:
    transform 0.15s,
    filter 0.2s,
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.jd-advertise-btn:hover {
  transform: translateY(-2px);
}
.jd-advertise-btn:active {
  transform: scale(0.98);
}
.jd-advertise-btn-primary {
  background: var(--jd-yellow);
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(245, 184, 0, 0.35);
}
.jd-advertise-btn-primary:hover {
  background: #ffc107;
  color: #0f172a;
  filter: brightness(1.02);
}
.jd-advertise-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.jd-advertise-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
}
@keyframes jd-advertise-glow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  to {
    transform: translate3d(-6%, 4%, 0) scale(1.08);
    opacity: 1;
  }
}
@keyframes jd-advertise-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.jd-featured-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  min-width: 0;
}
.jd-featured-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.jd-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(245, 184, 0, 0.45);
}
.jd-featured-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}
.jd-featured-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--text);
}
.jd-featured-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 8px;
}
.jd-featured-arrow {
  margin-top: auto;
  color: var(--jd-green);
  font-weight: 700;
  font-size: 1.1rem;
}
.jd-cat-grid-section {
  margin-bottom: 36px;
  scroll-margin-top: 88px;
}

/* Homepage product categories */
.jd-product-cats-section {
  margin: 8px 0 40px;
  scroll-margin-top: 88px;
}
.jd-product-cats-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 18px;
}
.jd-product-cats-sub {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.98rem;
  max-width: 520px;
  line-height: 1.5;
}
.jd-product-cats-all {
  font-weight: 700;
  color: var(--jd-green, #0d8f4a);
  text-decoration: none;
  white-space: nowrap;
}
.jd-product-cats-all:hover {
  text-decoration: underline;
}
.jd-product-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.jd-product-cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    border-color 0.15s;
}
.jd-product-cat-card:hover {
  transform: translateY(-3px);
  border-color: #bbf7d0;
  box-shadow: 0 10px 24px rgba(13, 143, 74, 0.12);
}
.jd-product-cat-media {
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  overflow: hidden;
  position: relative;
}
.jd-product-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jd-product-cat-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 3rem;
  background: linear-gradient(145deg, #ecfdf5, #fffbeb);
}
.jd-product-cat-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jd-product-cat-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
}
.jd-product-cat-meta {
  font-size: 0.85rem;
  color: #64748b;
}
@media (max-width: 900px) {
  .jd-product-cats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .jd-product-cats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .jd-product-cats-head {
    align-items: flex-start;
  }
}
.jd-section-title {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 22px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--jd-yellow);
  display: inline-block;
  letter-spacing: -0.02em;
}
.jd-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 16px;
  min-width: 0;
}
.jd-cat-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s;
}
.jd-cat-icon:hover {
  transform: translateY(-2px);
}
.jd-cat-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(160deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 10px;
  border: 2px solid var(--border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}
.jd-cat-icon:hover .jd-cat-circle {
  background: linear-gradient(145deg, var(--jd-yellow), #e6ac00);
  border-color: var(--jd-yellow-dark);
  box-shadow: 0 6px 16px rgba(245, 184, 0, 0.35);
}
.jd-cat-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.jd-listings {
  margin-bottom: 32px;
}
.jd-biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.jd-biz-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.jd-biz-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(13, 143, 74, 0.25);
  transform: translateY(-2px);
}
.jd-biz-img {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 12px;
  object-fit: cover;
}
.jd-biz-initial {
  background: linear-gradient(135deg, var(--jd-green), var(--jd-green-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}
.jd-biz-body {
  min-width: 0;
}
.jd-biz-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--text);
}
.jd-biz-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}
.jd-section-cta {
  margin-top: 20px;
}
.jd-sponsored {
  margin-bottom: 36px;
}
.jd-sponsored-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 18px;
}
.jd-sponsored-head .jd-section-title {
  margin-bottom: 0;
}
.jd-sponsored-cta {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--jd-green);
  text-decoration: none;
  white-space: nowrap;
}
.jd-sponsored-cta:hover {
  color: var(--jd-green-dark);
  text-decoration: underline;
}
.jd-sponsored-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.jd-sponsored-card {
  position: relative;
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--card-shadow);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.jd-sponsored-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(245, 184, 0, 0.5);
}
.jd-sponsored-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
  background: var(--jd-yellow);
  border-radius: 4px;
}
.jd-sponsored-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: #e2e8f0;
}
.jd-sponsored-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 16px;
}
.jd-sponsored-meta strong {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.jd-sponsored-meta span {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.jd-ads-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.jd-ads-section--top {
  width: 100%;
  margin: 0 0 28px;
}
.jd-banner-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.jd-banner-slide {
  display: none;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.jd-banner-slide.is-active {
  display: block;
}
.jd-banner-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 535;
  object-fit: cover;
}
.jd-banner-control {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}
.jd-banner-control:hover,
.jd-banner-control:focus-visible {
  background: rgba(0, 0, 0, 0.72);
}
.jd-banner-control--prev {
  left: 14px;
}
.jd-banner-control--next {
  right: 14px;
}
.jd-admin-ads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.jd-admin-ad {
  flex: 0 0 min(160px, 22vw);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.jd-admin-ad img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}
.jd-home-ad-group {
  width: min(100% - 32px, 1240px);
  margin: 22px auto 28px;
}
.jd-home-ad-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.jd-home-ad-card {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(13, 143, 74, 0.14);
  border-radius: 10px;
  background: #f1f5f3;
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.jd-home-ad-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.13);
}
.jd-home-ad-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jd-home-ad-group--2 .jd-home-ad-track {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 700px) {
  .jd-home-ad-group {
    width: min(100% - 24px, 1240px);
    margin-top: 16px;
    margin-bottom: 22px;
  }
  .jd-home-ad-track,
  .jd-home-ad-group--2 .jd-home-ad-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
}
.jd-cta-strip {
  background:
    linear-gradient(135deg, rgba(13, 143, 74, 0.08) 0%, transparent 42%),
    linear-gradient(160deg, #fffbeb 0%, #f0fdf4 55%, #ecfdf5 100%);
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 143, 74, 0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}
.jd-cta-strip::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.28), transparent 70%);
  pointer-events: none;
  animation: jd-advertise-glow 7s ease-in-out infinite alternate;
}
.jd-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 480px;
}
.jd-cta-title {
  margin: 0 0 6px;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.jd-cta-strip p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.5;
}
.jd-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.jd-cta-btn {
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--jd-green), var(--jd-teal));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition:
    filter 0.2s,
    transform 0.15s;
  white-space: nowrap;
}
.jd-cta-btn:hover {
  filter: brightness(1.06);
  color: #fff;
}
.jd-cta-btn:active {
  transform: scale(0.98);
}
.jd-cta-btn-secondary {
  background: #fff;
  color: var(--jd-green-dark);
  border: 1.5px solid rgba(13, 143, 74, 0.35);
  box-shadow: none;
}
.jd-cta-btn-secondary:hover {
  background: #f0fdf4;
  color: var(--jd-green-dark);
  filter: none;
  border-color: var(--jd-green);
}

/* Home: “how it works” strip with small illustrations */
.jd-home-steps-bar {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0 26px;
  margin-bottom: 8px;
}
.jd-home-steps-inner.jd-container {
  padding-top: 0;
  padding-bottom: 0;
}
.jd-home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 8px;
}
.jd-home-step {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.jd-home-step-icon {
  flex-shrink: 0;
  line-height: 0;
}
.jd-home-step-icon img {
  width: 56px;
  height: 56px;
  display: block;
}
.jd-home-step-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.jd-home-step-text strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}
.jd-home-step-text span:last-child {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.jd-home-step-arrow {
  padding: 0 4px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--jd-green);
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: none;
}

.jd-float-tabs {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 4px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  pointer-events: none;
}
.jd-float-tab {
  pointer-events: auto;
  padding: 12px 8px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transform: rotate(180deg);
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.jd-float-tab:hover {
  transform: rotate(180deg) translateX(-4px);
  box-shadow: -4px 2px 14px rgba(0, 0, 0, 0.2);
}
.jd-float-orange {
  background: linear-gradient(180deg, #e6a700, var(--jd-yellow-dark));
}
.jd-float-blue {
  background: linear-gradient(180deg, var(--jd-green), var(--jd-teal));
}
.jd-float-purple {
  background: linear-gradient(180deg, #0f766e, #0d6b5c);
}

@media (prefers-reduced-motion: reduce) {
  .jd-advertise-glow,
  .jd-cta-strip::before,
  .jd-advertise-title,
  .jd-advertise-text,
  .jd-advertise-points,
  .jd-advertise-actions {
    animation: none !important;
  }
}

/* Category page */
.cat-jd {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 80px;
  width: 100%;
  min-width: 0;
}
.cat-jd-breadcrumb {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}
.cat-jd-breadcrumb a {
  color: #0d6efd;
  text-decoration: none;
}
.cat-jd-breadcrumb a:hover {
  text-decoration: underline;
}
.cat-jd-sep {
  margin: 0 6px;
  color: #999;
}
.cat-jd-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
}
.cat-jd-city-form {
  margin-bottom: 16px;
}
.cat-jd-city-form label {
  margin-right: 8px;
  font-size: 0.9rem;
  color: #555;
}
.cat-jd-city-form select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 0.95rem;
  min-width: 160px;
}
.cat-jd-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.cat-jd-pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 20px;
  background: #f0f0f0;
  color: #444;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition:
    background 0.2s,
    color 0.2s;
}
.cat-jd-pill:hover {
  background: #e0e0e0;
  color: #1a1a1a;
}
.cat-jd-pill.active {
  background: #0d6efd;
  color: #fff;
}
.cat-jd-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-width: 0;
}
.cat-jd-main {
  min-width: 0;
}
.cat-jd-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cat-jd-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.cat-jd-card-image {
  display: block;
  aspect-ratio: 1;
  background: #f5f5f5;
  overflow: hidden;
}
.cat-jd-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-jd-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: #999;
  background: #eee;
}
.cat-jd-card-body {
  padding: 12px 16px 16px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cat-jd-card-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}
.cat-jd-card-name a {
  color: #1a1a1a;
  text-decoration: none;
}
.cat-jd-card-name a:hover {
  color: #0d6efd;
}
.cat-jd-card-rating {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}
.cat-jd-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--jd-green);
  font-weight: 600;
  margin-right: 8px;
}
.cat-jd-card-address {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}
.cat-jd-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.cat-jd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.cat-jd-btn-call {
  background: var(--jd-green);
  color: #fff;
  border: none;
}
.cat-jd-btn-call:hover {
  background: var(--jd-green-dark);
  color: #fff;
}
.cat-jd-btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.cat-jd-btn-whatsapp:hover {
  background: #20bd5a;
  color: #fff;
}
.cat-jd-btn-enquiry {
  background: #0d6efd;
  color: #fff;
}
.cat-jd-btn-enquiry:hover {
  background: #0b5ed7;
  color: #fff;
}
.cat-jd-sidebar {
  position: sticky;
  top: 80px;
  height: fit-content;
}
.cat-jd-lead-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
}
.cat-jd-lead-card h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
}
.cat-jd-lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cat-jd-lead-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.cat-jd-lead-row input,
.cat-jd-lead-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.cat-jd-lead-row input:focus,
.cat-jd-lead-row textarea:focus {
  outline: none;
  border-color: var(--jd-green);
  box-shadow: 0 0 0 3px rgba(13, 143, 74, 0.12);
}
.cat-jd-lead-row textarea {
  min-height: 80px;
  resize: vertical;
}
.cat-jd-lead-btn {
  width: 100%;
  padding: 12px 20px;
  background: var(--jd-green);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
}
.cat-jd-lead-btn:hover {
  background: var(--jd-green-dark);
}
.cat-jd-ads {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cat-jd-ad-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #eee;
}
.cat-jd-ad-item img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: cover;
  display: block;
}
.cat-jd-empty {
  padding: 24px;
  text-align: center;
  color: #666;
}
.cat-jd-empty a {
  color: #0d6efd;
}

@media (max-width: 900px) {
  .jd-top-row {
    grid-template-columns: 1fr;
  }
  .jd-featured-cats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-jd-layout {
    grid-template-columns: 1fr;
  }
  .cat-jd-sidebar {
    position: static;
  }
  .jd-hero-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .jd-hero-visual {
    order: -1;
  }
  .jd-hero-visual img {
    max-width: min(320px, 88vw);
    margin: 0 auto;
  }
  .jd-hero-head {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .jd-search-label {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .jd-search-bar {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 768px) {
  .jd-hero {
    padding: 18px 14px 22px;
  }
  .jd-hero-layout {
    gap: 14px;
  }
  .jd-hero-visual {
    display: none;
  }
  .jd-hero-head {
    margin: 0 0 12px;
  }
  .jd-hero-title {
    font-size: 1.4rem;
    line-height: 1.25;
  }
  .jd-hero-tagline {
    font-size: 0.9rem;
    line-height: 1.45;
  }
  .jd-search-label {
    font-size: 0.9rem;
    margin: 0 0 10px;
  }
  .jd-home-step-arrow {
    display: none;
  }
  .jd-home-steps {
    flex-direction: column;
    align-items: stretch;
  }
  .jd-home-step {
    max-width: none;
  }
  .jd-search-bar {
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  }
  .jd-search-form {
    flex-direction: column;
    align-items: stretch;
  }
  .jd-search-location {
    border-right: none;
    border-bottom: 1px solid var(--border);
    min-width: 100%;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    box-sizing: border-box;
  }
  .jd-search-location select {
    padding: 12px 0;
    font-size: 0.98rem;
    width: 100%;
  }
  .jd-search-query {
    flex: 0 0 auto;
    min-width: 100%;
    width: 100%;
  }
  .jd-search-query input {
    display: block;
    width: 100%;
    min-height: 48px;
    height: 48px;
    padding: 0 14px;
    font-size: 0.98rem;
    line-height: 48px;
    box-sizing: border-box;
  }
  .jd-search-actions {
    flex: 0 0 auto;
    width: 100%;
  }
  .jd-search-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 0 0 13px 13px;
  }
  .jd-cat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .jd-biz-grid {
    grid-template-columns: 1fr;
  }
  .jd-float-tabs {
    display: none;
  }
  .cat-jd-card {
    grid-template-columns: 1fr;
  }
  .cat-jd-card-image {
    aspect-ratio: 16/9;
    max-height: 200px;
  }
  .cat-jd {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Container */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.page-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
  width: 100%;
  min-width: 0;
}
.page-with-sidebar .page-main,
.page-with-sidebar .page-sidebar {
  min-width: 0;
}
.page-main {
  min-width: 0;
}
.page-sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-ads {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 16px;
  border: 1px solid #eee;
}
.sidebar-ads-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #555;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
.sidebar-ad-item {
  display: block;
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}
.sidebar-ad-item:last-child {
  margin-bottom: 0;
}
.sidebar-ad-item img {
  width: 100%;
  height: auto;
  display: block;
}
.listing-sidebar-ads .listing-ad-item {
  margin-bottom: 16px;
}
.listing-sidebar-ads .listing-ad-item:last-child {
  margin-bottom: 0;
}
.listing-sidebar-ads .listing-ad-item img {
  height: 120px;
  object-fit: cover;
}
.biz-ads-section .section-title {
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  .page-with-sidebar {
    grid-template-columns: 1fr;
  }
  .page-sidebar {
    position: static;
  }
}

/* Banners carousel */
.banners {
  margin: 24px 0;
}
.banner-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
}
.banner-slide {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.banner-slide a {
  display: block;
}
.banner-slide img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

/* Section titles */
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 28px 0 16px;
  color: #222;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--jd-yellow);
  display: inline-block;
}

/* Category grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.cat-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 16px;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border: 1px solid #eee;
}
.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border-color: var(--jd-yellow);
}
.cat-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  background: linear-gradient(135deg, var(--jd-yellow), var(--jd-green));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
}
.cat-card .name {
  font-weight: 600;
  font-size: 0.9rem;
}
.cat-card .explore {
  font-size: 0.8rem;
  color: var(--jd-green);
  margin-top: 4px;
}
.cat-show-more-wrap {
  text-align: center;
  margin-top: 20px;
}
.cat-empty {
  color: #666;
  margin-top: 12px;
}
.cat-empty a {
  color: var(--jd-green);
}

/* Business listing cards */
.biz-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.biz-list.home-biz-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.biz-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 16px;
  border: 1px solid #eee;
  transition: border-color 0.2s;
  text-decoration: none;
  color: inherit;
}
.biz-card:hover {
  border-color: var(--jd-yellow);
  text-decoration: none;
}
.biz-card-main {
  display: flex;
  gap: 16px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.biz-card-chat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.1s;
}
.biz-card-chat:hover {
  color: #fff;
  background: #20bd5a;
  transform: translateY(-1px);
}
.biz-card-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: #f0f0f0;
  object-fit: cover;
}
.biz-card-img-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--jd-yellow), var(--jd-green));
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.biz-card-body {
  flex: 1;
  min-width: 0;
}
.biz-card h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: #222;
}
.biz-card .meta {
  font-size: 0.85rem;
  color: #666;
}
.biz-card .address {
  font-size: 0.85rem;
  color: #888;
  margin-top: 4px;
}
.biz-card .verified {
  color: var(--jd-green);
  font-size: 0.8rem;
}

/* Business detail page - personal site layout */
.biz-profile-page .site-shell-main,
.biz-profile-page main {
  padding-top: 0;
}
.biz-site {
  background: #f1f5f9;
}
.biz-site-cover {
  position: relative;
  background: linear-gradient(
    135deg,
    #0a7340 0%,
    var(--jd-green) 45%,
    #0d9488 100%
  );
  color: #fff;
  overflow: hidden;
}
.biz-site-cover--has-image {
  background: #0f172a;
}
.biz-site-cover--has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--biz-cover-url);
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}
.biz-site-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.55) 0%,
    rgba(15, 23, 42, 0.82) 100%
  );
  pointer-events: none;
}
.biz-site-cover-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 32px;
}
.biz-breadcrumb--cover {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}
.biz-breadcrumb--cover a {
  color: rgba(255, 255, 255, 0.9);
}
.biz-breadcrumb--cover a:hover {
  color: #fff;
}
.biz-breadcrumb--cover .sep {
  color: rgba(255, 255, 255, 0.5);
}
.biz-site-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.biz-site-hero-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  flex: 1;
}
.biz-site-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.biz-site-logo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--jd-green-dark);
}
.biz-site-kicker {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jd-yellow);
}
.biz-site-title {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}
.biz-site-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
}
.biz-site-rating {
  color: #fde68a;
  font-weight: 700;
}
.biz-site-rating-muted {
  color: rgba(255, 255, 255, 0.35);
}
.biz-site-views {
  color: rgba(255, 255, 255, 0.8);
}
.biz-site-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.biz-site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.biz-site-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  color: inherit;
}
.biz-site-btn--wa {
  background: #25d366;
  color: #fff;
}
.biz-site-btn--call {
  background: #fff;
  color: var(--jd-green-dark);
}
.biz-site-btn--enquiry {
  background: var(--jd-yellow);
  color: #0f172a;
}
.biz-site-btn--book {
  background: #0d8f4a;
  color: #fff;
}
.biz-site-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.biz-site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.biz-site-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.biz-site-nav-inner::-webkit-scrollbar {
  display: none;
}
.biz-site-nav-link {
  flex-shrink: 0;
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.biz-site-nav-link:hover {
  color: var(--jd-green-dark);
}
.biz-site-nav-link.is-active,
.biz-site-nav-link:target {
  color: var(--jd-green-dark);
  border-bottom-color: var(--jd-green);
}
.biz-page {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  align-items: start;
}
.biz-section-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 24px 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}
.biz-section-card .biz-section-title {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 16px;
  font-size: 1.2rem;
}
.biz-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.biz-gallery-grid .biz-gallery-thumb {
  border: none;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: #f1f5f9;
}
.biz-gallery-grid .biz-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.biz-map-address {
  margin: 0 0 14px;
  color: #475569;
  line-height: 1.55;
}
.biz-enquiry-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.biz-enquiry-form-full {
  grid-column: 1 / -1;
}
.biz-enquiry-form,
.biz-review-form {
  width: 100%;
  max-width: none;
}
.biz-form-intro {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.55;
}
.biz-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 4px;
}
.biz-form-actions .btn-primary {
  min-width: 160px;
  padding: 12px 24px;
  font-weight: 700;
  border-radius: 10px;
}
.biz-section-card .biz-review-form-wrap {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 20px 0 0;
  margin-top: 20px;
  border-top: 1px solid #e8edf2;
}
.biz-section-card .biz-chat-desc {
  margin: 0 0 18px;
  color: #64748b;
}
.biz-profile-page .biz-sidebar-card {
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.biz-page-main {
  min-width: 0;
}
.biz-sidebar {
  position: sticky;
  top: 56px;
}

/* Breadcrumb */
.biz-breadcrumb {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}
.biz-breadcrumb a {
  color: #666;
  text-decoration: none;
}
.biz-breadcrumb a:hover {
  color: var(--jd-green);
}
.biz-breadcrumb .sep {
  margin: 0 6px;
  color: #999;
}

/* Hero */
.biz-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.biz-hero-media {
  flex-shrink: 0;
}
.biz-hero-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid #eee;
}
.biz-hero-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--jd-yellow), var(--jd-green));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}
.biz-hero-text {
  flex: 1;
  min-width: 0;
}
.biz-hero h1 {
  margin: 0 0 6px;
  font-size: 1.75rem;
  color: #222;
}
.biz-hero-meta {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}
.biz-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 8px;
}
.biz-badge-verified {
  background: #e8f5e9;
  color: var(--jd-green);
}

/* Main image */
.biz-main-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.biz-main-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

/* Sections */
.biz-section {
  margin-bottom: 0;
}
.biz-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--jd-yellow);
}
.biz-desc {
  line-height: 1.7;
  color: #444;
}
.biz-gallery-inner {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
}
.biz-gallery-inner img {
  height: 140px;
  width: auto;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
}
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
}
.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video-wrap a {
  display: block;
  padding: 24px;
  color: #fff;
}
.biz-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.biz-product-card {
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.biz-product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.biz-product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  overflow: hidden;
  flex-shrink: 0;
}
.biz-product-media img,
.biz-product-card-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.biz-product-card-noimg {
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  color: var(--jd-green);
}
.biz-product-body {
  padding: 14px;
}
.biz-product-body h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #222;
}
.biz-product-price {
  font-weight: 600;
  color: var(--jd-green);
  margin: 0 0 6px;
  font-size: 1rem;
}
.biz-product-desc {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}
.biz-product-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--jd-green-dark);
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.biz-product-stock {
  font-size: 0.82rem;
  font-weight: 600;
  color: #047857;
  margin: 0 0 8px;
}
.biz-product-stock--out {
  color: #b91c1c;
}
.biz-product-card--out {
  opacity: 0.88;
}
.biz-product-order {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  font-size: 0.85rem;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.biz-product-unavail {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
}
.biz-store-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.biz-store-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
}
.biz-store-badge--wa {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}
.biz-store-badge--cod {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}
.biz-store-badge--delivery {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}
.prod-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}
.prod-cat-chip {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.prod-cat-chip:hover {
  border-color: var(--jd-green);
  color: var(--jd-green-dark);
}
.prod-cat-chip.is-active {
  background: var(--jd-green);
  border-color: var(--jd-green);
  color: #fff;
}
.prod-market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.prod-market-card {
  display: flex;
  flex-direction: column;
}
.prod-market-card-link {
  text-decoration: none;
  color: inherit;
  flex: 1;
}
.prod-market-meta {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0 0 6px;
}
.prod-market-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: #fffbeb;
  color: #92400e;
  margin-top: 4px;
}
.prod-market-wa {
  margin: 0 12px 12px;
  width: calc(100% - 24px);
}
.bd-store-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.bd-store-type-pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f0fdf4;
  color: var(--jd-green-dark);
  border: 1px solid #bbf7d0;
}
.bd-store-form-card {
  max-width: 640px;
  margin-bottom: 28px;
}
.bd-catalog-pdf {
  margin-bottom: 28px;
}
.bd-catalog-pdf-inner {
  max-width: 640px;
  padding: 22px 24px;
}
.bd-catalog-pdf-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.bd-catalog-pdf-head .bd-section-title {
  margin: 0 0 6px;
}
.bd-catalog-pdf-icon {
  font-size: 2rem;
  line-height: 1;
}
.bd-catalog-pdf-switch {
  margin-bottom: 16px;
}
.bd-catalog-pdf-switch label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.bd-catalog-pdf-switch select {
  width: 100%;
  max-width: 320px;
}
.bd-catalog-pdf-current {
  margin: 0 0 14px;
  font-size: 0.92rem;
}
.bd-catalog-pdf-current a {
  color: var(--jd-green);
  font-weight: 700;
}
.bd-catalog-pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.biz-catalog-pdf-bar {
  margin-bottom: 16px;
}
.biz-catalog-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

/* Business profile — offers */
.biz-offers-intro {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 0.95rem;
}
.biz-offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.biz-offer-card {
  border: 1px solid #e8edf2;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.biz-offer-card-image {
  height: 130px;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
}
.biz-offer-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.biz-offer-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.biz-offer-type {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #ecfdf5;
  color: var(--jd-green-dark);
  padding: 4px 10px;
  border-radius: 999px;
}
.biz-offer-title {
  margin: 0;
  font-size: 1.08rem;
  color: #0f172a;
  line-height: 1.35;
}
.biz-offer-desc {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}
.biz-offer-code-wrap {
  margin-top: 4px;
}
.biz-offer-code-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
}
.biz-offer-code-box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.biz-offer-code {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0f172a;
}
.biz-offer-copy {
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  color: #334155;
}
.biz-offer-copy:hover {
  background: #e2e8f0;
}
.biz-offer-validity {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
}
.biz-offer-order {
  margin-top: auto;
  text-align: center;
  font-size: 0.9rem;
}

.bd-check-row label {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bd-feature-list {
  margin: 0 0 16px;
  padding-left: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.bd-store-features {
  margin-top: 8px;
}

.biz-reviews {
  margin-top: 8px;
}
.biz-review-msg {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.biz-review-msg-ok {
  background: #e8f5e9;
  color: #2e7d32;
}
.biz-review-msg-err {
  background: #ffebee;
  color: #c62828;
}
.biz-reviews-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.biz-reviews-stars {
  color: #ffc107;
  font-size: 1.25rem;
  letter-spacing: 1px;
}
.biz-reviews-average {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
}
.biz-reviews-count {
  font-size: 0.95rem;
  color: #666;
}
.biz-review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.biz-review-card {
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 16px 18px;
}
.biz-review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.biz-review-author {
  font-weight: 600;
  color: #222;
}
.biz-review-rating {
  color: #ffc107;
  font-size: 1rem;
  letter-spacing: 1px;
}
.biz-review-date {
  font-size: 0.85rem;
  color: #666;
  margin: 4px 0 8px;
}
.biz-review-comment {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}
.biz-review-form-wrap {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.biz-review-form-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: #222;
}
.biz-review-form .biz-review-form-row,
.biz-enquiry-form .biz-review-form-row {
  margin-bottom: 0;
}
.biz-review-form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.biz-review-form-row input[type="text"],
.biz-review-form-row input[type="email"],
.biz-review-form-row input[type="tel"],
.biz-review-form-row textarea {
  width: 100%;
  max-width: none;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  background: #fff;
  color: #0f172a;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.biz-review-form-row input::placeholder,
.biz-review-form-row textarea::placeholder {
  color: #94a3b8;
}
.biz-review-form-row input:focus,
.biz-review-form-row textarea:focus {
  outline: none;
  border-color: var(--jd-green);
  box-shadow: 0 0 0 3px rgba(13, 143, 74, 0.12);
}
.biz-review-form-row textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}
.biz-review-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.biz-review-form-grid .biz-review-form-row--full {
  grid-column: 1 / -1;
}
.biz-review-stars-input {
  display: flex;
  align-items: center;
  gap: 4px;
}
.biz-star-label {
  cursor: pointer;
  margin: 0;
}
.biz-star-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.biz-star-label .biz-star {
  font-size: 1.5rem;
  color: #ddd;
  transition: color 0.15s;
}
.biz-star-label input:checked ~ .biz-star,
.biz-star-label:hover .biz-star {
  color: #ffc107;
}
.biz-review-stars-input[data-rating="1"] .biz-star-label:nth-child(1) .biz-star,
.biz-review-stars-input[data-rating="2"] .biz-star-label:nth-child(1) .biz-star,
.biz-review-stars-input[data-rating="2"] .biz-star-label:nth-child(2) .biz-star,
.biz-review-stars-input[data-rating="3"] .biz-star-label:nth-child(1) .biz-star,
.biz-review-stars-input[data-rating="3"] .biz-star-label:nth-child(2) .biz-star,
.biz-review-stars-input[data-rating="3"] .biz-star-label:nth-child(3) .biz-star,
.biz-review-stars-input[data-rating="4"] .biz-star-label:nth-child(1) .biz-star,
.biz-review-stars-input[data-rating="4"] .biz-star-label:nth-child(2) .biz-star,
.biz-review-stars-input[data-rating="4"] .biz-star-label:nth-child(3) .biz-star,
.biz-review-stars-input[data-rating="4"] .biz-star-label:nth-child(4) .biz-star,
.biz-review-stars-input[data-rating="5"] .biz-star-label .biz-star {
  color: #ffc107;
}
.biz-star-label input:focus-visible + .biz-star {
  outline: 2px solid var(--jd-green);
  outline-offset: 2px;
}

.biz-back {
  margin-top: 24px;
}

/* Related businesses (SEO internal links) */
.biz-related-intro {
  margin: -6px 0 18px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}
.biz-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.biz-related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--card-shadow);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
}
.biz-related-card:hover {
  border-color: var(--jd-yellow);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.biz-related-img {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 8px;
  object-fit: cover;
}
.biz-related-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--jd-yellow), var(--jd-green));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}
.biz-related-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.biz-related-name {
  font-weight: 700;
  color: #222;
  font-size: 0.95rem;
  line-height: 1.25;
}
.biz-related-meta {
  font-size: 0.8rem;
  color: #666;
}

/* Sidebar */
.biz-sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  padding: 20px;
  margin-bottom: 16px;
}
.biz-sidebar-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #555;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
.biz-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.biz-cta:last-child {
  margin-bottom: 0;
}
.biz-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.biz-cta-icon {
  font-size: 1.2rem;
}
.biz-cta-whatsapp {
  background: #25d366;
  color: #fff;
}
.biz-cta-call {
  background: var(--jd-green);
  color: #fff;
}
.biz-cta-web {
  background: #1a73e8;
  color: #fff;
}
.biz-cta-email {
  background: #f8f9fa;
  color: #333;
  border: 1px solid #ddd;
}
.biz-social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.biz-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    border-color 0.15s;
}
.biz-social-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}
.biz-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.biz-social-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}
.biz-social-facebook {
  border-color: #dbeafe;
}
.biz-social-facebook .biz-social-icon {
  background-color: #1877f2;
}
.biz-social-instagram {
  border-color: #fce7f3;
}
.biz-social-instagram .biz-social-icon {
  background-color: #e1306c;
}
.biz-social-youtube {
  border-color: #fee2e2;
}
.biz-social-youtube .biz-social-icon {
  background-color: #ff0000;
}
.biz-social-twitter {
  border-color: #e2e8f0;
}
.biz-social-twitter .biz-social-icon {
  background-color: #0f172a;
}
.biz-social-linkedin {
  border-color: #dbeafe;
}
.biz-social-linkedin .biz-social-icon {
  background-color: #0a66c2;
}
.biz-chat-section {
  background: #f8fdf8;
  border: 1px solid #e8f5e9;
  border-radius: var(--radius);
  padding: 20px;
}
.biz-chat-desc {
  margin: 0 0 14px;
  color: #555;
  font-size: 0.95rem;
}
.biz-chat-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.35);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.biz-chat-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}
.biz-chat-cta-icon {
  font-size: 1.4rem;
}
.biz-chat-fallback {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}
.biz-sidebar-address {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
}
.biz-sidebar-meta {
  font-size: 0.85rem;
  color: #666;
}
.biz-sidebar-meta p {
  margin: 0 0 8px;
}
.biz-sidebar-meta a {
  color: var(--jd-green);
  text-decoration: none;
}
.biz-views {
  color: #888;
}

/* Share this business – sidebar only */
.biz-share-card {
  display: block;
  overflow: visible;
}
.biz-share-card .biz-share-desc {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 12px;
  line-height: 1.4;
}
.biz-share-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.biz-share-buttons-sidebar .biz-share-btn {
  max-width: none;
  width: 100%;
}
.biz-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  width: 100%;
  max-width: 220px;
  min-height: 44px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
.biz-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.biz-share-fb {
  background: #1877f2;
  color: #fff;
}
.biz-share-fb:hover {
  color: #fff;
}
.biz-share-twitter {
  background: #000;
  color: #fff;
}
.biz-share-twitter:hover {
  color: #fff;
}
.biz-share-linkedin {
  background: #0a66c2;
  color: #fff;
}
.biz-share-linkedin:hover {
  color: #fff;
}
.biz-share-whatsapp {
  background: #25d366;
  color: #fff;
}
.biz-share-whatsapp:hover {
  color: #fff;
}
.biz-share-copy {
  background: #fff;
  color: #333;
  border: 2px solid #ddd;
}
.biz-share-copy:hover {
  border-color: var(--jd-green);
  color: var(--jd-green-dark);
}
.biz-share-qr {
  background: #0f172a;
  color: #fff;
}
.biz-share-qr:hover {
  color: #fff;
  background: #1e293b;
}

/* Mobile: stack sidebar below main content */
@media (max-width: 900px) {
  .biz-page {
    grid-template-columns: 1fr;
    padding-top: 16px;
  }
  .biz-sidebar {
    position: static;
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .biz-sidebar-contact {
    grid-column: 1 / -1;
  }
  .biz-share-card {
    grid-column: 1 / -1;
  }
  .biz-site-hero {
    flex-direction: column;
    align-items: stretch;
  }
  .biz-site-hero-brand {
    flex-direction: column;
    text-align: center;
  }
  .biz-site-meta {
    justify-content: center;
  }
  .biz-site-hero-actions {
    justify-content: center;
  }
  .biz-enquiry-form-grid,
  .biz-review-form-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 500px) {
  .biz-sidebar {
    grid-template-columns: 1fr;
  }
  .biz-site-logo {
    width: 80px;
    height: 80px;
  }
  .biz-site-btn {
    flex: 1;
    min-width: calc(50% - 5px);
  }
}

/* Business dashboard & form */
.biz-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.biz-dash-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.biz-dash-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 20px;
}
.biz-dash-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.biz-dash-card h3 a {
  color: inherit;
  text-decoration: none;
}
.biz-dash-card .meta {
  color: #666;
  font-size: 0.9rem;
  margin: 0 0 12px;
}
.biz-dash-card-desc {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #555;
}
/* Jobs list: single column so cards have room for actions */
.biz-dash-list--jobs {
  grid-template-columns: 1fr;
}
.biz-dash-card-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.btn-sm {
  padding: 6px 12px;
  font-size: 0.9rem;
}
/* Active job card - green accent */
.biz-dash-card:not(.biz-dash-card--closed) {
  border-left: 4px solid var(--jd-green);
}
/* Closed job card - muted, clear status */
.biz-dash-card--closed {
  background: #f8f9fa;
  border-left: 4px solid #adb5bd;
}
.biz-dash-card--closed .biz-dash-card-title,
.biz-dash-card--closed .meta,
.biz-dash-card--closed .biz-dash-card-desc {
  color: #6c757d;
}
.biz-job-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
}
.biz-job-status--active {
  background: #d4edda;
  color: #155724;
}
.biz-job-status--closed {
  background: #e2e3e5;
  color: #383d41;
}
.form-msg {
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.form-msg-error,
.form-msg-err {
  background: #ffebee;
  color: #c62828;
}
.form-msg-ok {
  background: #e8f5e9;
  color: #2e7d32;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.product-row {
  border: 1px solid #eee;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: var(--radius);
}
.gallery-thumb {
  margin: 4px 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}
.btn-primary {
  background: var(--jd-green);
  color: #fff;
}
.btn-primary:hover {
  background: var(--jd-green-dark);
}
.btn-secondary {
  background: var(--jd-yellow);
  color: #000;
}
.btn-secondary:hover {
  background: var(--jd-yellow-dark);
}

/* ========== Jobs page - attractive listing ========== */
.jobs-hero {
  position: relative;
  padding: 40px 20px 48px;
  overflow: hidden;
  background: linear-gradient(
    155deg,
    #f0f7ff 0%,
    #fff 30%,
    #e8f5e9 70%,
    #fff9e6 100%
  );
}
.jobs-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse 80% 50% at 50% -20%,
      rgba(255, 193, 7, 0.15),
      transparent
    ),
    radial-gradient(
      ellipse 60% 40% at 100% 50%,
      rgba(40, 167, 69, 0.08),
      transparent
    );
  pointer-events: none;
}
.jobs-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.jobs-hero-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(145deg, var(--jd-yellow), #ffb300);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.35);
}
.jobs-hero-title {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.jobs-hero-subtitle {
  color: #555;
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.5;
}
.jobs-layout.container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
  padding: 0 16px 48px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.jobs-layout.container > * {
  min-width: 0;
}
.jobs-sidebar-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  padding: 20px;
}
.jobs-sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--jd-yellow);
}
.jobs-filter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.jobs-filter-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}
.jobs-filter-group input,
.jobs-filter-group select {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-size: 1rem;
}
.jobs-filter-group input:focus,
.jobs-filter-group select:focus {
  outline: none;
  border-color: var(--jd-yellow);
}
.jobs-filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}
.jobs-filter-btn {
  flex: 1;
}
.jobs-filter-clear {
  font-size: 0.9rem;
  color: #666;
  text-decoration: none;
}
.jobs-filter-clear:hover {
  color: var(--jd-green);
  text-decoration: underline;
}
.jobs-main {
  order: 1;
  min-width: 0;
}
.jobs-sidebar {
  order: 2;
  position: sticky;
  top: 80px;
}
.jobs-results-meta {
  font-size: 0.95rem;
  color: #555;
  margin: 0 0 16px;
}
/* Don't override jobs-layout grid - only non-layout containers in .jobs-page */
.jobs-page .container:not(.jobs-layout) {
  padding: 0 16px 48px;
  max-width: 820px;
  margin: 0 auto;
}
.jobs-intro {
  text-align: center;
  margin: 0 0 28px;
  color: #555;
  font-size: 1rem;
}
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 767px) {
  .jobs-layout.container {
    grid-template-columns: 1fr;
  }
  .jobs-sidebar {
    position: static;
  }
}
.job-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  overflow: hidden;
  transition:
    box-shadow 0.25s,
    border-color 0.25s,
    transform 0.2s;
}
.job-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 193, 7, 0.35);
}
.job-card-inner {
  padding: 24px;
  border-left: 4px solid var(--jd-green);
}
.job-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.job-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
}
.job-card-type {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: capitalize;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: var(--jd-green-dark);
  flex-shrink: 0;
}
.job-card-meta {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: #555;
}
.job-card-meta a {
  color: var(--jd-green);
  font-weight: 600;
  text-decoration: none;
}
.job-card-meta a:hover {
  text-decoration: underline;
}
.job-card-desc {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.55;
  max-height: 4.65em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.job-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}
.job-card-detail {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #555;
}
.job-card-detail strong {
  color: #333;
  margin-right: 2px;
}
.job-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}
.job-card-actions .btn {
  padding: 10px 18px;
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.job-card-actions .btn:hover {
  transform: translateY(-1px);
}
.job-card-actions .btn-primary {
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}
.job-card-actions .btn-secondary {
  background: #f5f5f5;
  color: #333;
  border: 1px solid #e0e0e0;
}
.job-card-actions .btn-secondary:hover {
  background: var(--jd-yellow);
  color: #000;
  border-color: var(--jd-yellow);
}
.jobs-empty {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 40px 24px;
  text-align: center;
}
.jobs-empty p {
  margin: 0 0 16px;
  color: #555;
}
.jobs-empty a {
  color: var(--jd-green);
  font-weight: 600;
}
.jobs-cta-strip {
  margin-top: 40px;
  padding: 24px 20px;
  background: linear-gradient(135deg, #fff8e1 0%, #fffde7 50%, #e8f5e9 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 193, 7, 0.25);
  text-align: center;
}
.jobs-cta-strip p {
  margin: 0;
  font-size: 1rem;
  color: #333;
}
.jobs-cta-strip a {
  color: var(--jd-green);
  font-weight: 600;
  text-decoration: none;
}
.jobs-cta-strip a:hover {
  text-decoration: underline;
}

/* ========== Nellai Jobs style: left sidebar + right listing ========== */
.jobs-page-nellai .jobs-layout.container {
  grid-template-columns: 280px 1fr;
  padding: 24px 16px 48px;
  gap: 24px;
  min-width: 0;
}
.jobs-page-nellai .jobs-layout.container > * {
  min-width: 0;
}
.jobs-page-nellai .jobs-sidebar-left {
  order: 1;
}
.jobs-page-nellai .jobs-main {
  order: 2;
}
.jobs-page-nellai .jobs-sidebar-card {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #e9ecef;
}
.jobs-input-nellai {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
  margin-bottom: 12px;
}
.jobs-input-nellai:focus {
  outline: none;
  border-color: var(--jd-green);
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}
.btn-nellai-search {
  width: 100%;
  padding: 14px 20px;
  background: var(--jd-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-bottom: 24px;
  transition: background 0.2s;
}
.btn-nellai-search:hover {
  background: var(--jd-green-dark);
}
.jobs-filter-section {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e9ecef;
}
.jobs-filter-section:last-of-type {
  border-bottom: none;
}
.jobs-filter-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
}
.jobs-salary-radios {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.jobs-radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
}
.jobs-radio-row input {
  margin: 0;
  accent-color: var(--jd-green);
}
.jobs-clear-salary {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #0d6efd;
  text-decoration: none;
}
.jobs-clear-salary:hover {
  text-decoration: underline;
}
.jobs-vacancies-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}
.jobs-list-nellai {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.job-card-nellai {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 14px 20px;
  align-items: start;
}
.job-card-nellai:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.job-card-nellai-top {
  grid-column: 1;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.job-card-nellai-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--jd-green);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
}
.job-card-nellai-head {
  flex: 1;
  min-width: 0;
}
.job-card-nellai-company {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
}
.job-card-nellai-summary {
  font-size: 0.9rem;
  color: #555;
  margin: 0 0 8px;
  line-height: 1.4;
}
.job-card-nellai-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 24px;
  padding: 0 8px;
  background: var(--jd-green);
  color: #fff;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.job-card-nellai-details {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 0.9rem;
  color: #444;
}
.job-detail-item strong {
  color: #333;
  margin-right: 4px;
}
.job-card-nellai-action {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
}
.btn-nellai-view {
  display: inline-block;
  padding: 10px 20px;
  background: #6c757d;
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-nellai-view:hover {
  background: #5a6268;
  color: #fff;
}
.job-card-nellai-title {
  margin: 2px 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}
.job-card-nellai-badges {
  margin-bottom: 6px;
}
.job-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.job-badge-local {
  background: #dcfce7;
  color: #166534;
}
.job-badge-api {
  background: #e0e7ff;
  color: #3730a3;
}
.job-card-nellai--local {
  border-left: 4px solid #0d8f4a;
}
.job-card-nellai--api {
  border-left: 4px solid #4f46e5;
}
.jobs-section {
  margin-bottom: 28px;
}
.jobs-section-title {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}
.jobs-section-sub {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 0.92rem;
}
.jobs-section-sub a {
  color: #0d8f4a;
  font-weight: 700;
}
.jobs-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.jobs-page-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  background: #0d8f4a;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
.jobs-page-link:hover {
  background: #0a7a3e;
}
.jobs-page-status {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}
.jobs-api-error {
  color: #b45309;
}
@media (max-width: 767px) {
  .jobs-page-nellai .jobs-layout.container {
    grid-template-columns: 1fr;
  }
  .jobs-page-nellai .jobs-sidebar-left {
    order: 1;
  }
  .jobs-page-nellai .jobs-main {
    order: 2;
  }
  .job-card-nellai {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .job-card-nellai-action {
    grid-column: 1;
    grid-row: auto;
  }
}

/* ========== Events listing & detail ========== */
.events-page-nellai {
  background: #f8fafc;
  padding: 28px 0 48px;
}
.events-layout.container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
  padding: 0 16px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.events-sidebar-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 18px;
  position: sticky;
  top: 80px;
}
.events-filter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.events-input {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius, 8px);
  font-size: 0.95rem;
  box-sizing: border-box;
}
.events-input:focus {
  outline: none;
  border-color: var(--jd-yellow, #f5b800);
}
.events-page-title {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.events-results-meta {
  color: #64748b;
  margin: 0 0 16px;
  font-size: 0.95rem;
}
.events-empty {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px 20px;
  color: #475569;
}
.events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.event-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.event-card-media {
  display: block;
  min-height: 140px;
  background: linear-gradient(145deg, #ecfdf5, #fffbeb);
}
.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 140px;
}
.event-card-media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--jd-green, #0d8f4a);
}
.event-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.event-card-date {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--jd-green, #0d8f4a);
}
.event-card-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}
.event-card-title a {
  color: #0f172a;
  text-decoration: none;
}
.event-card-title a:hover {
  color: var(--jd-green, #0d8f4a);
}
.event-card-meta {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}
.event-card-desc {
  margin: 4px 0 8px;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.45;
}
.event-card .btn-nellai-view {
  align-self: flex-start;
  margin-top: 4px;
}
.events-cta-strip {
  margin-top: 28px;
  padding: 16px 18px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  color: #166534;
  font-size: 0.95rem;
}
.events-cta-strip a {
  color: #0d8f4a;
  font-weight: 600;
}

.event-detail-page {
  background: #f8fafc;
  padding: 24px 0 56px;
}
.event-detail-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}
.event-detail-back {
  margin: 0 0 14px;
}
.event-detail-back a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.95rem;
}
.event-detail-back a:hover {
  color: var(--jd-green, #0d8f4a);
}
.event-detail {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.event-detail-hero {
  max-height: 320px;
  overflow: hidden;
  background: #f1f5f9;
}
.event-detail-hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.event-detail-header {
  padding: 24px 24px 8px;
}
.event-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.event-badge--upcoming {
  background: #dcfce7;
  color: #166534;
}
.event-badge--past {
  background: #f1f5f9;
  color: #64748b;
}
.event-detail-header h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.event-detail-when {
  margin: 0 0 6px;
  font-weight: 600;
  color: var(--jd-green, #0d8f4a);
}
.event-detail-host {
  margin: 0;
  color: #64748b;
}
.event-detail-host a {
  color: #0d8f4a;
  font-weight: 600;
  text-decoration: none;
}
.event-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 8px 24px 16px;
}
.event-detail-meta-item {
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.event-detail-meta-item strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}
.event-detail-meta-item span,
.event-detail-meta-item a {
  color: #334155;
  font-size: 0.95rem;
  text-decoration: none;
}
.event-detail-body {
  padding: 8px 24px 20px;
}
.event-detail-body h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.event-detail-desc {
  color: #475569;
  line-height: 1.65;
  font-size: 1rem;
}
.event-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 24px 24px;
}

.biz-events-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.biz-event-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
}
.biz-event-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
}
.biz-event-title a {
  color: #0f172a;
  text-decoration: none;
}
.biz-event-title a:hover {
  color: var(--jd-green, #0d8f4a);
}
.biz-event-when {
  margin: 0;
  font-size: 0.9rem;
  color: var(--jd-green, #0d8f4a);
  font-weight: 600;
}
.biz-event-venue {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: #64748b;
}
.biz-events-more {
  margin: 14px 0 0;
  font-size: 0.92rem;
}
.biz-events-more a {
  color: #0d8f4a;
  font-weight: 600;
}

@media (max-width: 767px) {
  .events-layout.container {
    grid-template-columns: 1fr;
  }
  .events-sidebar-card {
    position: static;
  }
  .event-card {
    grid-template-columns: 1fr;
  }
  .event-card-media,
  .event-card-media img {
    min-height: 160px;
    height: 160px;
  }
  .biz-event-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========== Free listing page: directory + add modal ========== */
.listing-page-wrap {
  background: #f8fafc;
}
.listing-page-hero {
  background: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 45%, #fffbeb 100%);
  border-bottom: 1px solid var(--border);
  padding: 28px 0 32px;
}
.listing-page-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.listing-page-title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.listing-page-lead {
  margin: 0;
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.listing-add-btn {
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(13, 143, 74, 0.3);
  white-space: nowrap;
}
.listing-add-btn:hover {
  filter: brightness(1.05);
}
.listing-flash {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin: 0 0 20px;
  font-weight: 500;
}
.listing-flash--ok {
  background: #ecfdf5;
  color: #0a5c36;
  border: 1px solid rgba(13, 143, 74, 0.25);
}
.listing-flash--err {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid rgba(185, 28, 28, 0.2);
}
.listing-directory-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.listing-directory-title {
  margin-bottom: 16px;
}
.listing-count {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9em;
}
.listing-page-meta {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.listing-empty {
  padding: 32px 20px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}
.listing-biz-grid {
  margin-bottom: 24px;
}
.listing-verified {
  color: var(--jd-green);
  font-size: 0.85em;
  font-weight: 700;
}
.listing-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.listing-page-link {
  font-weight: 700;
  color: var(--jd-green);
  text-decoration: none;
}
.listing-page-link:hover {
  text-decoration: underline;
}

body.listing-modal-open {
  overflow: hidden;
}
.listing-modal-root {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}
body.listing-modal-open .listing-modal-root {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.listing-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  cursor: pointer;
}
.listing-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: min(90vh, 720px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.25);
  border: 1px solid var(--border);
  padding: 24px 22px 28px;
  -webkit-overflow-scrolling: touch;
}
.listing-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.listing-modal-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.listing-modal-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: -8px -8px 0 0;
  border: none;
  background: #f1f5f9;
  border-radius: 10px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.listing-modal-close:hover {
  background: #e2e8f0;
  color: var(--text);
}
.listing-modal-hint {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.listing-modal-form .form-group {
  margin-bottom: 14px;
}
.listing-modal-form .form-group label {
  font-size: 0.9rem;
}
.listing-modal-form input,
.listing-modal-form select,
.listing-modal-form textarea {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.listing-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Footer — attractive & SEO-friendly */
.site-footer {
  background:
    radial-gradient(
      ellipse 80% 60% at 10% 0%,
      rgba(13, 143, 74, 0.22),
      transparent 55%
    ),
    radial-gradient(
      ellipse 70% 50% at 90% 100%,
      rgba(245, 184, 0, 0.1),
      transparent 50%
    ),
    linear-gradient(180deg, #12261c 0%, #0f1a14 100%);
  color: #b7c9bc;
  padding: 0;
  margin-top: 56px;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.footer-accent {
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--jd-yellow),
    var(--jd-green),
    #0f766e
  );
  width: 100%;
}
.footer-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 44px 20px 28px;
  box-sizing: border-box;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
  margin-bottom: 36px;
}
.footer-col {
  min-width: 0;
}
.footer-brand-title {
  margin: 0 0 12px;
  font-size: inherit;
  font-weight: inherit;
  border: 0;
  padding: 0;
  text-transform: none;
  letter-spacing: normal;
}
.footer-heading {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--jd-yellow), var(--jd-green));
  border-radius: 2px;
}
.footer-heading a {
  color: inherit;
  text-decoration: none;
}
.footer-brand .footer-logo {
  font-size: 1.45rem;
  color: var(--jd-yellow);
  font-weight: 800;
}
.footer-brand .footer-logo span {
  color: #7ddea8;
}
.footer-tagline {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: #e8f5ee;
  margin: 0 0 10px;
  max-width: 320px;
}
.footer-seo-blurb {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #9bb5a6;
  margin: 0 0 18px;
  max-width: 340px;
}
.footer-contact {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-contact li {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.footer-contact-label {
  display: block;
  color: #8aa396;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.footer-contact-value {
  color: var(--jd-yellow);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  word-break: break-word;
}
.footer-contact-value:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-cta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--jd-yellow), #e0a800);
  color: #12261c;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s,
    color 0.15s;
  box-shadow: 0 8px 18px rgba(245, 184, 0, 0.18);
}
.footer-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(245, 184, 0, 0.28);
}
.footer-btn--ghost {
  background: transparent;
  color: #d7ebe0;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.footer-btn--ghost:hover {
  background: rgba(13, 143, 74, 0.2);
  border-color: rgba(125, 222, 168, 0.45);
  color: #fff;
  box-shadow: none;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  margin: 0 0 9px;
}
.footer-links a {
  color: #b7c9bc;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.35;
  transition:
    color 0.15s,
    transform 0.15s;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.footer-links a:hover {
  color: var(--jd-yellow);
  transform: translateX(3px);
}
.footer-links .footer-more {
  color: #7ddea8;
  font-weight: 700;
}
.footer-count {
  color: #6f8a7c;
  font-size: 0.78em;
  font-weight: 600;
}
.footer-no-cities {
  color: #6f8a7c;
  font-style: italic;
  list-style: none;
}
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}
.footer-legal {
  margin: 0;
}
.footer-legal a {
  color: #9bb5a6;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}
.footer-legal a:hover {
  color: var(--jd-yellow);
}
.footer-sep {
  color: #567063;
  margin: 0 8px;
  font-size: 0.85rem;
}
.footer-copy {
  font-size: 0.84rem;
  color: #6f8a7c;
  margin: 0;
  line-height: 1.5;
  max-width: 52ch;
}
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-copy {
    max-width: none;
  }
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-brand {
    text-align: center;
  }
  .footer-tagline,
  .footer-seo-blurb {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-cta {
    justify-content: center;
  }
  .footer-contact {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .footer-legal .footer-sep {
    display: none;
  }
  .footer-legal a {
    display: inline-block;
    margin: 4px 8px;
  }
}

/* Admin panel - layout */
.admin-body-page {
  margin: 0;
  font-family: var(--font);
  background: #eef2f6;
  color: var(--text);
}
.admin-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Sidebar */
.admin-sidebar {
  width: 268px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0f172a 0%, #1a2332 48%, #0f172a 100%);
  color: #e2e8f0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 4px 0 24px rgba(15, 23, 42, 0.12);
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 120;
}
.admin-sidebar-brand {
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-sidebar-logo {
  display: block;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--jd-yellow);
  text-decoration: none;
  line-height: 1.2;
}
.admin-sidebar-logo span {
  color: #fff;
}
.admin-sidebar-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86efac;
  background: rgba(13, 143, 74, 0.22);
  border: 1px solid rgba(134, 239, 172, 0.25);
}
.admin-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px 18px;
}
.admin-nav-label {
  display: block;
  padding: 14px 12px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  margin-bottom: 2px;
  border-radius: 10px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    background 0.15s,
    color 0.15s,
    transform 0.15s;
}
.admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.admin-nav-link.active {
  background: linear-gradient(
    90deg,
    rgba(13, 143, 74, 0.28),
    rgba(13, 143, 74, 0.12)
  );
  color: #fff;
  box-shadow: inset 3px 0 0 var(--jd-yellow);
}
.admin-nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
}
.admin-nav-link.active .admin-nav-icon {
  background: rgba(245, 184, 0, 0.35);
}
.admin-nav-icon-dash::after,
.admin-nav-icon-biz::after,
.admin-nav-icon-cat::after,
.admin-nav-icon-state::after,
.admin-nav-icon-city::after,
.admin-nav-icon-banner::after,
.admin-nav-icon-ad::after,
.admin-nav-icon-offer::after,
.admin-nav-icon-recharge::after,
.admin-nav-icon-settings::after,
.admin-nav-icon-info::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
}
.admin-nav-icon-dash::after {
  border-radius: 50%;
  inset: 5px;
}
.admin-nav-icon-cat::after {
  inset: 6px 4px 4px 4px;
}
.admin-nav-icon-state::after {
  inset: 5px 3px;
  border-radius: 1px;
}
.admin-nav-icon-city::after {
  border-radius: 50% 50% 2px 2px;
  inset: 4px 5px 3px;
}
.admin-nav-icon-banner::after {
  inset: 3px 4px;
}
.admin-nav-icon-ad::after {
  inset: 5px 3px;
  border-radius: 1px;
}
.admin-nav-icon-offer::after {
  inset: 6px 4px 4px;
  border-radius: 50% 50% 2px;
}
.admin-nav-icon-recharge::after {
  inset: 4px 6px;
  border-radius: 3px;
}
.admin-nav-icon-settings::after {
  border-radius: 50%;
  inset: 4px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
  background: transparent;
}
.admin-nav-icon-info::after {
  border-radius: 50%;
  inset: 4px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.admin-sidebar-foot {
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-sidebar-foot-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
}
.admin-sidebar-foot-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.admin-sidebar-logout {
  display: block;
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(248, 113, 113, 0.12);
  color: #fca5a5;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid rgba(248, 113, 113, 0.25);
}
.admin-sidebar-logout:hover {
  background: rgba(248, 113, 113, 0.2);
  color: #fff;
}

/* Main frame */
.admin-frame {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.admin-topbar {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 0;
  z-index: 90;
}
.admin-topbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  min-height: 64px;
}
.admin-sidebar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.admin-sidebar-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #475569;
  border-radius: 1px;
  margin: 0 auto;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
body.admin-sidebar-open .admin-sidebar-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.admin-sidebar-open .admin-sidebar-toggle span:nth-child(2) {
  opacity: 0;
}
body.admin-sidebar-open .admin-sidebar-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.admin-topbar-titles {
  flex: 1;
  min-width: 0;
}
.admin-topbar-eyebrow {
  margin: 0 0 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jd-green);
}
.admin-topbar-title {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.admin-topbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.admin-topbar-btn-ghost {
  color: var(--text-muted);
  background: #f8fafc;
  border-color: var(--border);
}
.admin-topbar-btn-ghost:hover {
  background: #fff;
  color: var(--text);
  border-color: #cbd5e1;
}
.admin-topbar-btn-danger {
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}
.admin-topbar-btn-danger:hover {
  filter: brightness(1.05);
  color: #fff;
}

.admin-main {
  flex: 1;
  min-width: 0;
  overflow: auto;
  background:
    radial-gradient(
      ellipse 70% 45% at 0% 0%,
      rgba(13, 143, 74, 0.06),
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 40% at 100% 0%,
      rgba(245, 184, 0, 0.08),
      transparent 50%
    ),
    linear-gradient(180deg, #f4f7f5 0%, #eef2f6 100%);
}
.admin-content {
  padding: 24px 28px 32px;
  max-width: 1280px;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}
.admin-header h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.admin-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 24px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th,
.admin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.92rem;
}
.admin-table th {
  background: #f8fafc;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.admin-table tbody tr:hover td {
  background: #fafdfb;
}
.admin-table a {
  color: var(--jd-green);
  font-weight: 600;
  text-decoration: none;
}
.admin-table a:hover {
  text-decoration: underline;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 400px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.admin-card .form-group input,
.admin-card .form-group select,
.admin-card .form-group textarea,
.bd-store-form-card .form-group input,
.bd-store-form-card .form-group select,
.bd-store-form-card .form-group textarea,
.biz-form .form-group input,
.biz-form .form-group select,
.biz-form .form-group textarea,
.listing-modal-form .form-group input,
.listing-modal-form .form-group select,
.listing-modal-form .form-group textarea,
.auth-form .form-group input,
.auth-form .form-group select,
.auth-form .form-group textarea {
  max-width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--jd-green);
  box-shadow: 0 0 0 3px rgba(13, 143, 74, 0.15);
}
.form-group textarea {
  min-height: 100px;
}
.success-msg {
  color: #166534;
  font-weight: 600;
  margin-top: 8px;
}
.error-msg {
  color: #b91c1c;
  font-weight: 600;
}

/* Admin footer */
.admin-footer {
  flex-shrink: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.admin-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 14px 24px;
}
.admin-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-footer-brand strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.admin-footer-brand span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.admin-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.admin-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.admin-footer-links a:hover {
  color: var(--jd-green);
}
.admin-sidebar-overlay {
  display: none;
}

/* Admin Dashboard - modern layout */
.dashboard-hero {
  margin-bottom: 28px;
  padding: 20px 0 8px;
}
.dashboard-hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.dashboard-hero .dashboard-meta {
  font-size: 0.9rem;
  color: #64748b;
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.dashboard-stats .dashboard-stat-card {
  margin-bottom: 0;
}
.dashboard-stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}
.dashboard-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 14px 14px 0 0;
}
.dashboard-stat-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.06);
}
.dashboard-stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.dashboard-stat-card .stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.03em;
}
.dashboard-stat-card .stat-label {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 2px;
}
.dashboard-stat-card .stat-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--jd-green);
  margin-top: 12px;
  display: inline-block;
}
.dashboard-stat-card.stat-businesses::before {
  background: linear-gradient(90deg, #0ea5e9, #06b6d4);
}
.dashboard-stat-card.stat-businesses .stat-icon {
  background: rgba(14, 165, 233, 0.15);
}
.dashboard-stat-card.stat-categories::before {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}
.dashboard-stat-card.stat-categories .stat-icon {
  background: rgba(139, 92, 246, 0.15);
}
.dashboard-stat-card.stat-states::before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.dashboard-stat-card.stat-states .stat-icon {
  background: rgba(245, 158, 11, 0.15);
}
.dashboard-stat-card.stat-cities::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}
.dashboard-stat-card.stat-cities .stat-icon {
  background: rgba(16, 185, 129, 0.15);
}
.dashboard-stat-card.stat-banners::before {
  background: linear-gradient(90deg, #ec4899, #f472b6);
}
.dashboard-stat-card.stat-banners .stat-icon {
  background: rgba(236, 72, 153, 0.15);
}
.dashboard-stat-card.stat-advertisements::before {
  background: linear-gradient(90deg, #0d9488, #2dd4bf);
}
.dashboard-stat-card.stat-advertisements .stat-icon {
  background: rgba(13, 148, 136, 0.15);
}
.dashboard-stat-card.stat-maintenance::before {
  background: linear-gradient(90deg, #6366f1, #818cf8);
}
.dashboard-stat-card.stat-maintenance .stat-icon {
  background: rgba(99, 102, 241, 0.15);
}

.dashboard-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
@media (max-width: 900px) {
  .dashboard-grid-2 {
    grid-template-columns: 1fr;
  }
}
.dashboard-panel {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.dashboard-panel h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dashboard-panel h2 .panel-icon {
  font-size: 1.2rem;
}

/* Flowchart */
.flowchart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 4px;
  font-size: 0.85rem;
  padding: 8px 0;
}
.flowchart-node {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.flowchart-arrow {
  color: #94a3b8;
  font-weight: 700;
  padding: 0 4px;
  user-select: none;
}
.flowchart-node.flowchart-start {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #93c5fd;
  color: #1e40af;
}
.flowchart-node.flowchart-end {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-color: #6ee7b7;
  color: #065f46;
}

/* Quick links list */
.dashboard-quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dashboard-quick-links li {
  margin: 0 0 10px;
}
.dashboard-quick-links li:last-child {
  margin-bottom: 0;
}
.dashboard-quick-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.dashboard-quick-links a:hover {
  background: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}
.dashboard-quick-links a .link-arrow {
  margin-left: auto;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* System info strip */
.dashboard-info-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 14px 18px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 24px;
}
.dashboard-info-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dashboard-info-strip .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jd-green);
}
.dashboard-info-strip .status-dot.warning {
  background: #f59e0b;
}

/* Mobile - hamburger menu */
@media (max-width: 768px) {
  .header-inner {
    padding: 10px 12px;
    position: relative;
  }
  .nav-toggle {
    display: flex;
  }
  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    margin: 0;
    padding: 60px 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--header-bg);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .header-nav a {
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 1rem;
    border-bottom: 1px solid #eee;
  }
  .header-nav .btn-login {
    margin-top: 8px;
    text-align: center;
  }
  body.nav-open .header-nav {
    transform: translateX(0);
  }
  .nav-overlay {
    display: block;
  }
  body.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
  }
  body.nav-open {
    overflow: hidden;
  }
  .hero {
    padding: 16px 12px 24px;
  }
  .search-box {
    flex-direction: column;
  }
  .search-box input,
  .search-box select {
    width: 100%;
    max-width: none;
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .biz-card {
    flex-direction: column;
    align-items: stretch;
  }
  .biz-card-main {
    flex-direction: column;
  }
  .biz-card-img {
    width: 100%;
    height: 160px;
  }
  .biz-card-img-initial {
    font-size: 4rem;
  }
  .biz-card-chat {
    align-self: flex-start;
  }
  .admin-sidebar-toggle {
    display: flex;
  }
  .admin-topbar-inner {
    padding: 12px 16px;
    min-height: 56px;
  }
  .admin-content {
    padding: 18px 16px 24px;
  }
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 86vw;
    height: 100vh;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }
  body.admin-sidebar-open .admin-sidebar {
    transform: translateX(0);
  }
  body.admin-sidebar-open .admin-sidebar-overlay {
    opacity: 1;
    visibility: visible;
  }
  .admin-sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.25s,
      visibility 0.25s;
  }
  body.admin-sidebar-open {
    overflow: hidden;
  }
  .admin-footer-inner {
    flex-direction: column;
    text-align: center;
    padding: 14px 16px;
  }
  .admin-topbar-btn-ghost {
    display: none;
  }
}

@media (max-width: 480px) {
  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-title {
    font-size: 1.1rem;
  }
  .biz-list.home-biz-list {
    grid-template-columns: 1fr;
  }
}

/* ========== Auth pages (login / signup / account) ========== */
body.auth-body {
  background: #f8fafc;
}
.auth-shell {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(320px, 1fr);
  min-height: calc(100vh - 72px);
  width: 100%;
}
.auth-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  min-width: 0;
}
.auth-panel-brand {
  overflow: hidden;
  color: #fff;
  background: linear-gradient(
    155deg,
    #0a7340 0%,
    var(--jd-green) 45%,
    var(--jd-teal) 100%
  );
  isolation: isolate;
}
.auth-brand-glow {
  position: absolute;
  inset: -30% -20% auto auto;
  width: 85%;
  height: 95%;
  background:
    radial-gradient(
      circle at 70% 25%,
      rgba(245, 184, 0, 0.42),
      transparent 55%
    ),
    radial-gradient(
      circle at 15% 85%,
      rgba(255, 255, 255, 0.12),
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
  animation: auth-brand-glow 9s ease-in-out infinite alternate;
}
.auth-brand-inner {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: 100%;
  animation: auth-rise 0.65s ease-out both;
}
.auth-brand-mark {
  margin: 0 0 18px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--jd-yellow);
}
.auth-brand-mark span {
  color: #fff;
}
.auth-brand-title {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.auth-brand-text {
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
  max-width: 34ch;
}
.auth-brand-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.auth-brand-points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
}
.auth-brand-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--jd-yellow);
  box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.28);
}
.auth-panel-form {
  background:
    radial-gradient(
      ellipse 70% 50% at 100% 0%,
      rgba(13, 143, 74, 0.08),
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 40% at 0% 100%,
      rgba(245, 184, 0, 0.1),
      transparent 50%
    ),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  animation: auth-rise 0.65s ease-out 0.08s both;
}
.auth-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jd-green);
}
.auth-title {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
}
.auth-subtitle {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}
.auth-form .form-group {
  margin-bottom: 16px;
}
.auth-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.auth-label-row label {
  margin-bottom: 0;
}
.auth-forgot {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0d8f4a;
  text-decoration: none;
  white-space: nowrap;
}
.auth-forgot:hover {
  text-decoration: underline;
}
.auth-account-type {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 16px;
}
.auth-account-type legend {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  padding: 0 4px;
}
.auth-account-type label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}
.auth-form .form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.auth-label-hint {
  font-weight: 500;
  color: var(--text-muted);
}
.auth-form .form-group input {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  box-sizing: border-box;
}
.auth-form .form-group input:focus {
  outline: none;
  border-color: var(--jd-green);
  box-shadow: 0 0 0 3px rgba(13, 143, 74, 0.18);
}
.auth-input-locked {
  background: #f1f5f9 !important;
  color: #64748b !important;
  cursor: not-allowed;
}
.auth-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.btn-block {
  width: 100%;
}
.auth-submit {
  margin-top: 4px;
  min-height: 48px;
  font-size: 1.02rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--jd-green), var(--jd-teal));
  box-shadow: 0 8px 20px rgba(13, 143, 74, 0.28);
  transition:
    filter 0.2s,
    transform 0.15s;
}
.auth-submit:hover {
  filter: brightness(1.05);
  color: #fff;
}
.auth-submit:active {
  transform: scale(0.98);
}
.auth-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}
.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 12px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.btn-social:hover {
  transform: translateY(-1px);
}
.btn-google {
  background: #fff;
  color: var(--text);
}
.btn-google:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--text);
}
.btn-facebook {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
}
.btn-facebook:hover {
  background: #166fe5;
  color: #fff;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-divider span {
  white-space: nowrap;
}
.auth-links {
  margin-top: 20px;
}
.auth-footer {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.auth-footer:last-child {
  margin-bottom: 0;
}
.auth-footer a {
  color: var(--jd-green);
  font-weight: 700;
  text-decoration: none;
}
.auth-footer a:hover {
  text-decoration: underline;
  color: var(--jd-green-dark);
}
.auth-link-muted {
  color: var(--text-muted) !important;
  font-weight: 600 !important;
}
.auth-link-muted:hover {
  color: var(--jd-green) !important;
}

/* Account profile */
.auth-card-account {
  max-width: 460px;
}
.auth-profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.auth-profile-head .auth-subtitle {
  margin-bottom: 0;
  word-break: break-word;
}
.auth-avatar {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(13, 143, 74, 0.2);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}
.auth-avatar-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--jd-green), var(--jd-teal));
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
}
.auth-password-block {
  margin: 8px 0 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: #f8fafc;
  border: 1px solid var(--border);
}
.auth-password-label {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.auth-password-block .form-group:last-child {
  margin-bottom: 0;
}
.auth-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.auth-logout {
  color: #b91c1c;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
}
.auth-logout:hover {
  text-decoration: underline;
}

@keyframes auth-brand-glow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  to {
    transform: translate3d(-5%, 5%, 0) scale(1.06);
    opacity: 1;
  }
}
@keyframes auth-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .auth-panel-brand {
    padding: 36px 22px 32px;
    min-height: auto;
  }
  .auth-brand-title {
    max-width: none;
  }
  .auth-brand-text {
    max-width: none;
  }
  .auth-panel-form {
    padding: 28px 16px 48px;
  }
  .auth-card {
    padding: 26px 20px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-brand-glow,
  .auth-brand-inner,
  .auth-card {
    animation: none !important;
  }
}

/* ========== Business dashboard products ========== */
body.biz-dash-body {
  background: #f4f7f5;
}
.biz-dash-main {
  padding: 28px 16px 48px !important;
  max-width: 1100px;
}
.biz-dash-header-bar .header-nav a.is-active {
  background: #ecfdf5;
  color: var(--jd-green-dark);
  font-weight: 700;
}

.biz-products-page {
  width: 100%;
}
.biz-products-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(
    145deg,
    #0a7340 0%,
    var(--jd-green) 48%,
    var(--jd-teal) 100%
  );
  box-shadow: 0 14px 36px rgba(13, 143, 74, 0.22);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.biz-products-hero::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.4), transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: auth-brand-glow 8s ease-in-out infinite alternate;
}
.biz-products-hero-copy,
.biz-products-hero-actions {
  position: relative;
  z-index: 1;
}
.biz-products-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jd-yellow);
}
.biz-products-title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.biz-products-lead {
  margin: 0;
  max-width: 42ch;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}
.biz-products-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.biz-products-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.biz-products-stat strong {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}
.biz-products-stat span {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.biz-products-add {
  background: var(--jd-yellow) !important;
  color: #0f172a !important;
  border: none;
  box-shadow: 0 8px 18px rgba(245, 184, 0, 0.35);
  font-weight: 800;
}
.biz-products-add:hover {
  background: #ffc107 !important;
  color: #0f172a !important;
  filter: none;
}
.biz-products-flash {
  margin-bottom: 18px;
}

.biz-products-empty {
  text-align: center;
  padding: 48px 28px;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}
.biz-products-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--jd-green), var(--jd-teal));
  box-shadow: 0 8px 20px rgba(13, 143, 74, 0.25);
  position: relative;
}
.biz-products-empty-icon::before,
.biz-products-empty-icon::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
}
.biz-products-empty-icon::before {
  width: 18px;
  height: 3px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.biz-products-empty-icon::after {
  width: 3px;
  height: 18px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.biz-products-empty h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.biz-products-empty p {
  margin: 0 auto 20px;
  max-width: 36ch;
  color: var(--text-muted);
  line-height: 1.55;
}
.biz-products-empty a:not(.btn) {
  color: var(--jd-green);
  font-weight: 700;
}

.biz-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.biz-prod-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.biz-prod-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(13, 143, 74, 0.28);
}
.biz-prod-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #e2e8f0;
  overflow: hidden;
}
.biz-prod-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.biz-prod-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--jd-green), var(--jd-teal));
}
.biz-prod-body {
  padding: 16px 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.biz-prod-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.3;
}
.biz-prod-biz {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.biz-prod-price {
  margin: 6px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--jd-green);
}
.biz-prod-price-muted {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.biz-prod-desc {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
}
.biz-prod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
  margin-top: auto;
}
.biz-prod-delete-form {
  display: inline;
  margin: 0;
}
.biz-prod-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.biz-prod-btn:hover {
  transform: translateY(-1px);
}
.biz-prod-btn-ghost {
  background: #f8fafc;
  color: var(--text);
  border-color: var(--border);
}
.biz-prod-btn-ghost:hover {
  background: #fff;
  border-color: #cbd5e1;
  color: var(--text);
}
.biz-prod-btn-edit {
  background: #ecfdf5;
  color: var(--jd-green-dark);
  border-color: rgba(13, 143, 74, 0.25);
}
.biz-prod-btn-edit:hover {
  background: #d1fae5;
  color: var(--jd-green-dark);
}
.biz-prod-btn-danger {
  background: #fff;
  color: #b91c1c;
  border-color: #fecaca;
}
.biz-prod-btn-danger:hover {
  background: #fef2f2;
  color: #991b1b;
}

@media (max-width: 640px) {
  .biz-products-hero {
    padding: 22px 18px;
  }
  .biz-products-hero-actions {
    width: 100%;
  }
  .biz-products-add {
    flex: 1;
    text-align: center;
  }
  .biz-products-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .biz-product-card {
    border-radius: 14px;
  }
  .biz-product-media {
    aspect-ratio: 16 / 10;
    max-height: 240px;
  }
  .biz-product-body {
    padding: 14px 16px 16px;
  }
  .biz-product-order {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .biz-products-hero::before {
    animation: none !important;
  }
  .biz-prod-card {
    transition: none;
  }
}

/* ========== Business dashboard shell (bd-*) ========== */
.bd-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(
      ellipse 80% 50% at 0% 0%,
      rgba(13, 143, 74, 0.07),
      transparent 50%
    ),
    radial-gradient(
      ellipse 60% 40% at 100% 0%,
      rgba(245, 184, 0, 0.1),
      transparent 45%
    ),
    #f3f6f4;
  font-family: var(--font);
  color: var(--text);
}
.bd-topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.bd-topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.bd-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--jd-yellow-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.bd-logo span {
  color: var(--jd-green);
}
.bd-logo em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #f1f5f9;
  border-radius: 999px;
  padding: 3px 8px;
}
.bd-top-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bd-link-quiet {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
}
.bd-link-quiet:hover {
  background: #f1f5f9;
  color: var(--text);
}
.bd-logout {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--jd-green), var(--jd-teal));
  color: #fff !important;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.bd-logout:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.bd-tabs {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 57px;
  z-index: 35;
}
.bd-tabs-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.bd-tab {
  flex: 0 0 auto;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.92rem;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition:
    color 0.15s,
    border-color 0.15s,
    background 0.15s;
}
.bd-tab:hover {
  color: var(--text);
  background: #f8fafc;
}
.bd-tab.is-active {
  color: var(--jd-green-dark);
  border-bottom-color: var(--jd-yellow);
  background: linear-gradient(180deg, transparent, rgba(13, 143, 74, 0.05));
}

.bd-main {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  box-sizing: border-box;
}
.bd-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  margin-top: auto;
}
.bd-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.bd-footer-inner a {
  color: var(--jd-green);
  font-weight: 700;
  text-decoration: none;
}
.bd-footer-inner a:hover {
  text-decoration: underline;
}

.bd-page {
  width: 100%;
}
.bd-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 26px 24px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(245, 184, 0, 0.16), transparent 42%),
    linear-gradient(
      145deg,
      #0a7340 0%,
      var(--jd-green) 50%,
      var(--jd-teal) 100%
    );
  color: #fff;
  box-shadow: 0 16px 40px rgba(13, 143, 74, 0.22);
  position: relative;
  overflow: hidden;
}
.bd-page-head::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -30px;
  top: -40px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18),
    transparent 70%
  );
  pointer-events: none;
}
.bd-page-head > * {
  position: relative;
  z-index: 1;
}
.bd-eyebrow {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jd-yellow);
}
.bd-page-title {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.bd-page-sub {
  margin: 0;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  font-size: 0.98rem;
}
.bd-page-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.bd-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.88rem;
  font-weight: 600;
}
.bd-count-pill strong {
  font-size: 1.1rem;
  font-weight: 800;
}

.bd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  transition:
    transform 0.15s,
    background 0.15s,
    border-color 0.15s,
    color 0.15s,
    filter 0.15s;
}
.bd-btn:hover {
  transform: translateY(-1px);
}
.bd-btn-primary {
  background: var(--jd-yellow);
  color: #0f172a !important;
  box-shadow: 0 8px 18px rgba(245, 184, 0, 0.35);
}
.bd-btn-primary:hover {
  background: #ffc107;
  color: #0f172a !important;
}
.bd-btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}
.bd-btn-ghost:hover {
  border-color: #cbd5e1;
  color: var(--text);
}
.bd-btn-soft {
  background: #ecfdf5;
  color: var(--jd-green-dark);
  border-color: rgba(13, 143, 74, 0.22);
}
.bd-btn-soft:hover {
  background: #d1fae5;
  color: var(--jd-green-dark);
}
.bd-btn-danger {
  background: #fff;
  color: #b91c1c;
  border-color: #fecaca;
}
.bd-btn-danger:hover {
  background: #fef2f2;
  color: #991b1b;
}

.bd-alert {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 0.95rem;
}
.bd-alert-ok {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.bd-empty {
  text-align: center;
  padding: 56px 28px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}
.bd-empty-art {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--jd-green), var(--jd-teal));
  position: relative;
  box-shadow: 0 10px 24px rgba(13, 143, 74, 0.28);
}
.bd-empty-art::before,
.bd-empty-art::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #fff;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.bd-empty-art::before {
  width: 22px;
  height: 3px;
}
.bd-empty-art::after {
  width: 3px;
  height: 22px;
}
.bd-empty h1,
.bd-empty h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.bd-empty p {
  margin: 0 auto 20px;
  max-width: 38ch;
  color: var(--text-muted);
  line-height: 1.55;
}
.bd-empty a:not(.bd-btn) {
  color: var(--jd-green);
  font-weight: 700;
}

.bd-product-table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.bd-product-table {
  width: 100%;
  border-collapse: collapse;
}
.bd-product-table th {
  text-align: left;
  padding: 14px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.bd-product-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  font-size: 0.95rem;
}
.bd-product-table tr:last-child td {
  border-bottom: none;
}
.bd-product-table tbody tr:hover td {
  background: #fafdfb;
}
.bd-th-actions,
.bd-actions-cell {
  text-align: right;
  white-space: nowrap;
}
.bd-prod-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.bd-prod-thumb {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: #e2e8f0;
  border: 1px solid var(--border);
}
.bd-prod-thumb-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--jd-green), var(--jd-teal));
  border: none;
}
.bd-prod-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.bd-prod-info strong {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
}
.bd-prod-info span {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.bd-price-cell {
  font-weight: 800;
  color: var(--jd-green);
  white-space: nowrap;
}
.bd-muted {
  color: var(--text-muted);
  font-weight: 600;
}
.bd-actions-cell {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.bd-inline-form {
  display: inline;
  margin: 0;
}

@media (max-width: 800px) {
  .bd-product-table thead {
    display: none;
  }
  .bd-product-table,
  .bd-product-table tbody,
  .bd-product-table tr,
  .bd-product-table td {
    display: block;
    width: 100%;
  }
  .bd-product-table tr {
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }
  .bd-product-table tr:last-child {
    border-bottom: none;
  }
  .bd-product-table td {
    padding: 8px 0;
    border: none;
  }
  .bd-product-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 4px;
  }
  .bd-product-table td[data-label="Product"]::before {
    display: none;
  }
  .bd-th-actions,
  .bd-actions-cell {
    text-align: left;
    justify-content: flex-start;
    white-space: normal;
  }
  .bd-page-head {
    padding: 22px 18px;
  }
  .bd-page-head-actions {
    width: 100%;
  }
  .bd-page-head-actions .bd-btn-primary {
    flex: 1;
  }
}

/* Business dashboard hub, stats, enquiries, gallery */
.bd-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.bd-stat-row--wide {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.bd-stat-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bd-stat-val {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--jd-green-dark);
  line-height: 1.1;
}
.bd-stat-lbl {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.bd-stat-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.bd-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.bd-hub-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.bd-hub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 143, 74, 0.35);
  box-shadow: 0 10px 24px rgba(13, 143, 74, 0.12);
}
.bd-hub-card--alert {
  border-color: #fcd34d;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 40%);
}
.bd-hub-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.bd-hub-card strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.bd-hub-card span:last-child {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.bd-section-title {
  margin: 0 0 16px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.bd-dash-listings {
  margin-top: 8px;
}
.bd-mini-stats {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.bd-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  border-radius: 999px;
  background: #f5b800;
  color: #0f172a;
  vertical-align: middle;
}
.bd-alert-err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.bd-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.bd-filter-bar label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
}
.bd-filter-bar select {
  min-width: 200px;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
}
.bd-enquiry-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bd-enquiry-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.bd-enquiry-card--unread {
  border-left: 4px solid var(--jd-green);
  background: #fafdfb;
}
.bd-enquiry-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.bd-enquiry-head strong {
  font-size: 1.05rem;
}
.bd-enquiry-head time {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.bd-enquiry-new {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--jd-green-dark);
  vertical-align: middle;
}
.bd-enquiry-biz,
.bd-enquiry-contact,
.bd-enquiry-msg,
.bd-enquiry-source {
  margin: 6px 0;
  font-size: 0.92rem;
  line-height: 1.5;
}
.bd-enquiry-contact a {
  color: var(--jd-green);
  font-weight: 600;
  text-decoration: none;
}
.bd-enquiry-source {
  font-size: 0.82rem;
  color: #94a3b8;
}
.bd-enquiry-actions {
  margin: 12px 0 0;
}
.bd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.bd-gallery-item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.bd-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f1f5f9;
}
.bd-gallery-item figcaption {
  padding: 10px;
  text-align: center;
}
.bd-analytics-table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  margin-top: 28px;
}

.bd-analytics-filters {
  margin-bottom: 20px;
}
.bd-analytics-note {
  margin: 20px 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 72ch;
}

.bd-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 8px;
}
.bd-chart-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 18px 12px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}
.bd-chart-card--wide {
  grid-column: 1 / -1;
}
.bd-chart-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.bd-chart-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.bd-chart-wrap {
  position: relative;
  height: 260px;
}
.bd-chart-wrap--doughnut {
  height: 280px;
}

@media (max-width: 800px) {
  .bd-charts-grid {
    grid-template-columns: 1fr;
  }
  .bd-chart-card--wide {
    grid-column: auto;
  }
  .bd-chart-wrap {
    height: 220px;
  }
}

@media (max-width: 560px) {
  .bd-tabs {
    top: 53px;
  }
  .bd-tab {
    padding: 12px 12px;
    font-size: 0.85rem;
  }
  .bd-link-quiet {
    display: none;
  }
}

/* City / district pages */
.city-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}
.city-breadcrumb {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 16px;
}
.city-breadcrumb a {
  color: var(--jd-green);
  text-decoration: none;
}
.city-breadcrumb .sep {
  margin: 0 8px;
}
.city-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #fff 60%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  margin-bottom: 28px;
}
.city-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.city-state {
  color: #64748b;
  font-weight: 600;
  font-size: 0.85em;
}
.city-lead {
  color: #475569;
  margin: 0 0 20px;
}
.city-search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 560px;
}
.city-search-form input[type="text"] {
  flex: 1;
  min-width: 200px;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}
.city-cat-grid,
.jd-cities-section .city-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.city-cat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.city-cat-card:hover {
  border-color: var(--jd-green);
  box-shadow: 0 4px 16px rgba(13, 143, 74, 0.12);
}
.city-cat-card strong {
  font-size: 0.95rem;
  color: #0f172a;
}
.city-cat-card span {
  font-size: 0.82rem;
  color: #64748b;
}
.city-count {
  font-weight: 500;
  color: #64748b;
  font-size: 0.9em;
}
.city-more {
  margin-top: 20px;
}

/* Quick actions on cards — legacy; homepage uses .biz-home-card */
.jd-biz-card--actions {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.jd-biz-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 1;
}
.jd-biz-quick-actions {
  display: flex;
  gap: 8px;
  padding: 0 12px 12px;
}
.jd-quick-btn {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}
.jd-quick-call {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.jd-quick-wa {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

/* Homepage / city listing cards */
.jd-listings-head {
  margin-bottom: 20px;
}
.jd-listings-sub {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.95rem;
}
.biz-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
@media (min-width: 1100px) {
  .biz-home-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.biz-home-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.biz-home-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 143, 74, 0.28);
  box-shadow: 0 12px 28px rgba(13, 143, 74, 0.12);
}
.biz-home-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.biz-home-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 20px 16px 12px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid #f1f5f9;
}
.biz-home-card__media img {
  display: block;
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.biz-home-card__initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--jd-green), var(--jd-green-dark));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 16px rgba(13, 143, 74, 0.25);
}
.biz-home-card__content {
  padding: 14px 16px 12px;
  flex: 1;
}
.biz-home-card__title {
  margin: 0 0 10px;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.biz-home-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
  font-size: 0.82rem;
}
.biz-home-card__cat {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(13, 143, 74, 0.1);
  color: var(--jd-green-dark);
  font-weight: 700;
}
.biz-home-card__city {
  color: #64748b;
  font-weight: 600;
}
.biz-home-card__city::before {
  content: "📍 ";
  font-size: 0.75rem;
}
.biz-home-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid #eef2f6;
  margin-top: auto;
}
.biz-home-card__actions .biz-home-card__btn:only-child {
  grid-column: 1 / -1;
}
.biz-home-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.biz-home-card__btn--call {
  color: #1d4ed8;
  background: #f8fbff;
  border-right: 1px solid #eef2f6;
}
.biz-home-card__btn--call:hover {
  background: #eff6ff;
  color: #1e40af;
}
.biz-home-card__btn--wa {
  color: #047857;
  background: #f6fdf9;
}
.biz-home-card__btn--wa:hover {
  background: #ecfdf5;
  color: #065f46;
}

/* Search card actions */
.biz-card-actions {
  display: flex;
  gap: 8px;
  padding: 0 12px 12px;
}
.biz-card-call {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.88rem;
}

/* Business profile enhancements */
.biz-open-status {
  margin: 8px 0 0;
  font-size: 0.88rem;
  font-weight: 700;
}
.biz-open-status--open {
  color: #15803d;
}
.biz-open-status--closed {
  color: #b91c1c;
}
.biz-gallery-thumb {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
}
.biz-gallery-thumb img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.biz-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.biz-lightbox[hidden] {
  display: none !important;
}
.biz-lightbox img {
  max-width: min(96vw, 900px);
  max-height: 90vh;
  border-radius: 8px;
}
.biz-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.biz-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.biz-map-wrap iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}
.biz-map-actions {
  margin-top: 12px;
}
.biz-hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.biz-hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}
.biz-hours-closed span:last-child {
  color: #b91c1c;
}
.biz-mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  gap: 8px;
}
.biz-mobile-bar-btn {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}
.biz-mobile-bar-call {
  background: #eff6ff;
  color: #1d4ed8;
}
.biz-mobile-bar-wa {
  background: #ecfdf5;
  color: #047857;
}
.biz-mobile-bar-enquiry {
  background: var(--jd-green);
  color: #fff;
}
.biz-mobile-bar-book {
  background: #0f766e;
  color: #fff;
}
.biz-appt-status {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
}
.biz-appt-status--pending {
  background: #fef3c7;
  color: #92400e;
}
.biz-appt-status--confirmed {
  background: #dcfce7;
  color: #166534;
}
.biz-appt-status--cancelled {
  background: #f1f5f9;
  color: #64748b;
}
.biz-appt-status--completed {
  background: #e0e7ff;
  color: #3730a3;
}
.biz-book-section .biz-book-form {
  margin-top: 4px;
}
.biz-book-section .biz-form-intro {
  margin-bottom: 0;
}
.biz-book-head {
  margin-bottom: 18px;
}
.biz-book-fieldset {
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid #e8edf2;
  border-radius: 14px;
  background: #f8fafc;
}
.biz-book-legend {
  padding: 0 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0d8f4a;
}
.biz-book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.biz-book-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.biz-book-field--full {
  grid-column: 1 / -1;
}
.biz-book-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
}
.biz-book-optional {
  font-weight: 500;
  color: #94a3b8;
}
.biz-book-field input[type="text"],
.biz-book-field input[type="email"],
.biz-book-field input[type="tel"],
.biz-book-field input[type="date"],
.biz-book-field select,
.biz-book-field textarea {
  width: 100%;
  max-width: none;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.4;
  box-sizing: border-box;
  background: #fff;
  color: #0f172a;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.biz-book-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.biz-book-field textarea {
  min-height: 96px;
  resize: vertical;
}
.biz-book-field input:focus,
.biz-book-field select:focus,
.biz-book-field textarea:focus {
  outline: none;
  border-color: var(--jd-green, #0d8f4a);
  box-shadow: 0 0 0 3px rgba(13, 143, 74, 0.14);
}
.biz-book-field select.is-empty,
.biz-book-field select:disabled {
  color: #64748b;
  background-color: #f1f5f9;
}
.biz-book-slots-hint {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #64748b;
}
.biz-book-slots-hint.is-ok {
  color: #0d8f4a;
  font-weight: 600;
}
.biz-book-slots-hint.is-empty,
.biz-book-slots-hint.is-error {
  color: #b45309;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 8px 10px;
}
.biz-book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 4px;
}
.biz-book-submit {
  min-width: 200px;
  padding: 13px 22px !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
}
.biz-book-note {
  margin: 0;
  font-size: 0.86rem;
  color: #64748b;
}
@media (max-width: 700px) {
  .biz-book-grid {
    grid-template-columns: 1fr;
  }
  .biz-book-fieldset {
    padding: 14px;
  }
  .biz-book-submit {
    width: 100%;
  }
}
.biz-hours-form {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.biz-hours-form-row {
  display: grid;
  grid-template-columns: 100px auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
}
.biz-hours-day {
  font-weight: 600;
}
.biz-hours-closed-label {
  font-size: 0.82rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .biz-mobile-bar {
    display: flex;
  }
  body.site-shell .biz-page {
    padding-bottom: 80px;
  }
  .biz-hours-form-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
  }
}

/* Blog */
.blog-page {
  padding: 32px 0 48px;
}
.blog-container {
  max-width: 1100px;
}
.blog-page-header {
  margin-bottom: 32px;
}
.blog-page-title {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.blog-page-intro {
  margin: 0;
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 680px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.blog-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}
.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f1f5f9;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-body {
  padding: 18px 20px 22px;
}
.blog-card-date {
  display: block;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 8px;
}
.blog-card-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}
.blog-card-excerpt {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.55;
}
.blog-card-read {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--jd-green);
}
.blog-empty {
  padding: 32px;
  text-align: center;
}
.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.blog-pagination-info {
  color: #64748b;
  font-size: 0.95rem;
}

.blog-post-page {
  padding: 24px 0 48px;
}
.blog-post-container {
  max-width: 760px;
}
.blog-breadcrumb {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 24px;
}
.blog-breadcrumb a {
  color: #64748b;
  text-decoration: none;
}
.blog-breadcrumb a:hover {
  color: var(--jd-green);
}
.blog-breadcrumb .sep {
  margin: 0 6px;
  color: #cbd5e1;
}
.blog-post-article {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 28px 28px 36px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
.blog-post-date {
  display: block;
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 10px;
}
.blog-post-title {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.blog-post-byline {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: #64748b;
}
.blog-post-hero {
  margin: 0 0 24px;
  border-radius: 12px;
  overflow: hidden;
}
.blog-post-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.blog-post-lead {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 24px;
  font-weight: 500;
}
.blog-post-content {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #334155;
}
.blog-post-content h2 {
  margin: 28px 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
}
.blog-post-content h3 {
  margin: 22px 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}
.blog-post-content p {
  margin: 0 0 16px;
}
.blog-post-content ul,
.blog-post-content ol {
  margin: 0 0 16px;
  padding-left: 1.4rem;
}
.blog-post-content li {
  margin-bottom: 6px;
}
.blog-post-content a {
  color: var(--jd-green);
  font-weight: 600;
}
.blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 16px 0;
}
.blog-post-content blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--jd-green);
  background: #f8fafc;
  color: #475569;
  font-style: italic;
}
.blog-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95rem;
}
.blog-post-content th,
.blog-post-content td {
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  text-align: left;
}
.blog-post-content th {
  background: #f8fafc;
  font-weight: 700;
}
.blog-post-content figure {
  margin: 16px 0;
}
.blog-post-content figcaption {
  font-size: 0.88rem;
  color: #64748b;
  margin-top: 6px;
}
.blog-related {
  margin-top: 40px;
}
.blog-related-title {
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-weight: 700;
}
.blog-related-grid {
  display: grid;
  gap: 12px;
}
.blog-related-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  text-decoration: none;
  color: #0f172a;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.blog-related-card:hover {
  border-color: var(--jd-green);
  box-shadow: 0 4px 12px rgba(13, 143, 74, 0.1);
}
.blog-related-card span {
  font-size: 0.82rem;
  color: #94a3b8;
}
.blog-post-back {
  margin-top: 32px;
}

@media (max-width: 640px) {
  .blog-post-article {
    padding: 20px 18px 28px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Local News — listing (nx-news) + article */
.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;
}
.nx-news {
  background: #f4f7f5;
}
.nx-news-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 36px;
  color: #fff;
}
.nx-news-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 80% at 90% 10%,
      rgba(245, 184, 0, 0.35),
      transparent 55%
    ),
    linear-gradient(135deg, #0a7340 0%, #0d8f4a 48%, #086b38 100%);
}
.nx-news-hero-inner {
  position: relative;
  z-index: 1;
}
.nx-news-crumb {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 10px;
}
.nx-news-crumb a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.nx-news-crumb span {
  margin: 0 6px;
  opacity: 0.7;
}
.nx-news-kicker {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5b800;
}
.nx-news-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
}
.nx-news-lead {
  margin: 0 0 18px;
  max-width: 36rem;
  font-size: 1.02rem;
  line-height: 1.55;
  opacity: 0.95;
}
.nx-news-filter {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  padding: 8px 10px;
  backdrop-filter: blur(6px);
}
.nx-news-filter select {
  border: 0;
  background: #fff;
  color: #0f172a;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  min-width: min(260px, 70vw);
}
.nx-news-count {
  margin: 12px 0 0;
  font-size: 0.88rem;
  opacity: 0.85;
}

.nx-news-promo-banner {
  margin: 18px auto 0;
}
.nx-news-promo-link {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.nx-news-promo-link img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: cover;
}

.nx-news-carousel-wrap {
  margin-top: 22px;
}
.nx-news-carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
}
.nx-news-slide {
  display: none;
}
.nx-news-slide.is-active {
  display: block;
  animation: nxFade 0.45s ease;
}
@keyframes nxFade {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}
.nx-news-slide-link {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 280px;
  text-decoration: none;
  color: #fff;
}
.nx-news-slide-media {
  position: relative;
  min-height: 280px;
  background: #123;
}
.nx-news-slide-media img,
.nx-news-slide-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nx-news-slide-fallback {
  background: linear-gradient(135deg, #0d8f4a, #0a7340 60%, #f5b800);
}
.nx-news-slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 40%,
    rgba(8, 20, 12, 0.88) 100%
  );
}
.nx-news-slide-copy {
  position: relative;
  z-index: 1;
  padding: 28px 28px 28px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #0b1a12, #102418);
}
.nx-news-slide-badge {
  align-self: flex-start;
  background: #f5b800;
  color: #1a1400;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.nx-news-slide-city {
  font-size: 0.8rem;
  color: #86efac;
  font-weight: 700;
  margin-bottom: 8px;
}
.nx-news-slide-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.3;
  font-weight: 800;
}
.nx-news-slide-copy p {
  margin: 0 0 14px;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.5;
}
.nx-news-slide-cta {
  font-weight: 800;
  color: #f5b800;
}

/* Shared first-paint skeleton */
.site-skeleton {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: auto;
  background: #f7faf8;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
.site-skeleton.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-skeleton__inner {
  width: min(100% - 32px, 1240px);
  margin: 0 auto;
  padding: 22px 0 48px;
}
.site-skeleton__topline {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 48px;
}
.site-skeleton__logo,
.site-skeleton__nav,
.site-skeleton__line,
.site-skeleton__search,
.site-skeleton__grid span {
  display: block;
  background: linear-gradient(100deg, #e3ece6 25%, #f7fbf8 45%, #e3ece6 65%);
  background-size: 220% 100%;
  animation: site-skeleton-shimmer 1.35s linear infinite;
}
.site-skeleton__logo {
  width: 152px;
  height: 24px;
  border-radius: 7px;
}
.site-skeleton__nav {
  width: 110px;
  height: 13px;
  margin-left: auto;
  border-radius: 999px;
}
.site-skeleton__nav--short {
  width: 72px;
  margin-left: 0;
}
.site-skeleton__hero {
  min-height: 310px;
  margin-top: 26px;
  padding: 54px clamp(20px, 6vw, 84px);
  border-radius: 22px;
  background: #edf4ef;
}
.site-skeleton__line {
  height: 16px;
  margin-bottom: 16px;
  border-radius: 999px;
}
.site-skeleton__line--eyebrow {
  width: 130px;
  height: 11px;
}
.site-skeleton__line--title {
  width: min(520px, 80%);
  height: 45px;
  border-radius: 12px;
}
.site-skeleton__line--copy {
  width: min(410px, 72%);
}
.site-skeleton__search {
  width: min(680px, 100%);
  height: 56px;
  margin-top: 34px;
  border-radius: 12px;
}
.site-skeleton__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.site-skeleton__grid span {
  height: 140px;
  border-radius: 14px;
}
@keyframes site-skeleton-shimmer {
  to {
    background-position: -220% 0;
  }
}
@media (max-width: 700px) {
  .site-skeleton__inner {
    width: min(100% - 24px, 1240px);
    padding-top: 14px;
  }
  .site-skeleton__nav {
    display: none;
  }
  .site-skeleton__hero {
    min-height: 300px;
    padding: 38px 22px;
  }
  .site-skeleton__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .site-skeleton__grid span {
    height: 112px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-skeleton__logo,
  .site-skeleton__nav,
  .site-skeleton__line,
  .site-skeleton__search,
  .site-skeleton__grid span {
    animation: none;
  }
}
.nx-news-carousel-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}
.nx-news-carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}
.nx-news-carousel-dots {
  display: flex;
  gap: 6px;
}
.nx-news-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}
.nx-news-dot.is-active {
  background: #f5b800;
  width: 18px;
}

.nx-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding: 28px 16px 40px;
  align-items: start;
}
.nx-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.nx-news-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.nx-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}
.nx-news-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.nx-news-card-media {
  aspect-ratio: 16/10;
  background: #e8f5ee;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.nx-news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nx-news-card-initial {
  font-size: 2rem;
  font-weight: 800;
  color: #0d8f4a;
}
.nx-news-card-body {
  padding: 14px 16px 18px;
}
.nx-news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 6px;
}
.nx-news-card-meta span {
  background: #ecfdf5;
  color: #166534;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.nx-news-card-body h2 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 800;
  color: #0f172a;
}
.nx-news-card-body p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}
.nx-news-card-more {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0d8f4a;
}
.nx-news-empty {
  background: #fff;
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  border: 1px solid #e2e8f0;
}
.nx-news-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  color: #64748b;
}

.nx-news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nx-side-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 16px 18px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.nx-side-card h2 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}
.nx-side-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nx-side-chips a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}
.nx-side-chips a.is-active,
.nx-side-chips a:hover {
  background: #0d8f4a;
  color: #fff;
}
.nx-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nx-side-list li {
  border-bottom: 1px solid #f1f5f9;
}
.nx-side-list li:last-child {
  border-bottom: 0;
}
.nx-side-list a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
}
.nx-side-list strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #0f172a;
}
.nx-side-list span {
  font-size: 0.75rem;
  color: #94a3b8;
}
.nx-side-cta p {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 0.9rem;
}
.nx-side-ad {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.nx-side-ad img {
  display: block;
  width: 100%;
  height: auto;
}

.nx-news-footer-band {
  background: linear-gradient(120deg, #ecfdf5, #fff8e1 55%, #f0fdf4);
  border-top: 1px solid #d9efe3;
  padding: 28px 0 36px;
}
.nx-news-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
}
.nx-news-footer-inner h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0a7340;
}
.nx-news-footer-inner p {
  margin: 0;
  color: #475569;
}
.nx-news-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 980px) {
  .nx-news-layout {
    grid-template-columns: 1fr;
  }
  .nx-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nx-news-slide-link {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .nx-news-slide-media {
    min-height: 200px;
  }
  .nx-news-slide-shade {
    background: linear-gradient(
      180deg,
      transparent 30%,
      rgba(8, 20, 12, 0.9) 100%
    );
  }
  .nx-news-slide-copy {
    padding: 18px 18px 52px;
    margin-top: -72px;
    background: transparent;
  }
}
@media (max-width: 640px) {
  .nx-news-hero {
    padding: 22px 0 28px;
  }
  .nx-news-hero h1 {
    max-width: none;
  }
  .nx-news-grid {
    grid-template-columns: 1fr;
  }
  .nx-news-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nx-news-footer-actions {
    width: 100%;
  }
  .nx-news-footer-actions .btn {
    flex: 1;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nx-news-slide.is-active {
    animation: none;
  }
  .nx-news-card {
    transition: none;
  }
}

/* Single news article */
.nx-article {
  background: #f4f7f5;
}
.nx-article-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 36px;
  color: #fff;
  min-height: 220px;
}
.nx-article-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 80% at 85% 0%,
      rgba(245, 184, 0, 0.32),
      transparent 55%
    ),
    linear-gradient(135deg, #0a7340 0%, #0d8f4a 50%, #086b38 100%);
}
.nx-article-hero-media {
  position: absolute;
  inset: 0;
}
.nx-article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.nx-article-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 40, 22, 0.55) 0%,
    rgba(6, 30, 18, 0.82) 55%,
    rgba(4, 22, 14, 0.92) 100%
  );
}
.nx-article-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.nx-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0 0 12px;
  font-size: 0.88rem;
  opacity: 0.95;
}
.nx-article-city {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f5b800;
  color: #1a1400;
  font-weight: 800;
  font-size: 0.75rem;
  text-decoration: none;
}
.nx-article-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.nx-article-by {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.nx-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding: 28px 16px 20px;
  align-items: start;
}
.nx-article-main {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 22px 28px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.nx-article-figure {
  margin: 0 0 20px;
  border-radius: 14px;
  overflow: hidden;
  background: #e8f5ee;
}
.nx-article-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}
.nx-article-lead {
  margin: 0 0 18px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #334155;
  font-weight: 600;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2f7;
}
.nx-article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.nx-share {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}
.nx-share-wa {
  background: #128c7e;
}
.nx-share-fb {
  background: #1877f2;
}
.nx-share-copy {
  background: #0f172a;
  color: #fff;
}
.nx-article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}
.nx-article-body p {
  margin: 0 0 1.05em;
}
.nx-article-body h2,
.nx-article-body h3 {
  margin: 1.4em 0 0.55em;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.3;
}
.nx-article-body h2 {
  font-size: 1.3rem;
}
.nx-article-body h3 {
  font-size: 1.12rem;
}
.nx-article-body ul,
.nx-article-body ol {
  margin: 0 0 1em;
  padding-left: 1.35rem;
}
.nx-article-body li {
  margin-bottom: 0.4em;
}
.nx-article-body a {
  color: #0d8f4a;
  font-weight: 700;
}
.nx-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 14px 0;
}
.nx-article-body blockquote {
  margin: 1.2em 0;
  padding: 14px 16px;
  border-left: 4px solid #0d8f4a;
  background: #f0fdf4;
  color: #475569;
  border-radius: 0 10px 10px 0;
}
.nx-article-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #eef2f7;
}
.nx-article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nx-article-related {
  padding: 8px 0 36px;
}
.nx-article-related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.nx-article-related-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}
.nx-article-related-head a {
  color: #0d8f4a;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.92rem;
}
.nx-article-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.nx-related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.nx-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}
.nx-related-media {
  aspect-ratio: 16/10;
  background: #e8f5ee;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 1.6rem;
  font-weight: 800;
  color: #0d8f4a;
}
.nx-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nx-related-body {
  padding: 12px 14px 14px;
}
.nx-related-meta {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 6px;
}
.nx-related-body strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
  color: #0f172a;
}

@media (max-width: 980px) {
  .nx-article-layout {
    grid-template-columns: 1fr;
  }
  .nx-article-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .nx-article-hero {
    padding: 22px 0 26px;
    min-height: 0;
  }
  .nx-article-main {
    padding: 16px 14px 22px;
    border-radius: 14px;
  }
  .nx-article-figure img {
    max-height: 240px;
  }
  .nx-article-related-grid {
    grid-template-columns: 1fr;
  }
  .nx-article-foot .btn {
    flex: 1;
    text-align: center;
  }
}

/* ========== Jobs listing (nx-jobs) ========== */
.nx-jobs {
  background: #f4f7f5;
}
.nx-jobs-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 34px;
  color: #fff;
}
.nx-jobs-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 65% 80% at 92% 8%,
      rgba(245, 184, 0, 0.38),
      transparent 55%
    ),
    linear-gradient(135deg, #0a5c34 0%, #0d8f4a 48%, #0a7340 100%);
}
.nx-jobs-hero-inner {
  position: relative;
  z-index: 1;
}
.nx-jobs-kicker {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5b800;
}
.nx-jobs-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.nx-jobs-lead {
  margin: 0 0 18px;
  max-width: 36rem;
  opacity: 0.95;
  line-height: 1.5;
}
.nx-jobs-lead a {
  color: #f5b800;
  font-weight: 800;
}
.nx-jobs-search {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.7fr) auto;
  gap: 10px;
  max-width: 720px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  padding: 10px;
  backdrop-filter: blur(6px);
}
.nx-jobs-search input,
.nx-jobs-search select {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: #0f172a;
}
.nx-jobs-count {
  margin: 12px 0 0;
  font-size: 0.88rem;
  opacity: 0.88;
}
.nx-jobs-banner {
  margin-top: 18px;
}
.nx-jobs-banner a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.nx-jobs-banner img {
  display: block;
  width: 100%;
  max-height: 150px;
  object-fit: cover;
}
.nx-jobs-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 16px 40px;
  align-items: start;
}
.nx-jobs-filters h2,
.nx-jobs-sidebar .nx-side-card h2 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
}
.nx-jobs-label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
}
.nx-jobs-label select {
  display: block;
  width: 100%;
  margin-top: 6px;
  min-height: 44px;
  border: 1px solid #d6dee8;
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  background: #fff;
}
.nx-jobs-salary {
  border: 0;
  margin: 0 0 14px;
  padding: 0;
}
.nx-jobs-salary legend {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}
.nx-jobs-salary label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 6px;
  cursor: pointer;
}
.nx-jobs-salary input {
  accent-color: #0d8f4a;
}
.nx-jobs-clear {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0d8f4a;
}
.nx-jobs-results {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 0.92rem;
}
.nx-jobs-section {
  margin-bottom: 28px;
}
.nx-jobs-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.nx-jobs-section-head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}
.nx-jobs-section-head span {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 700;
}
.nx-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nx-job-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}
.nx-job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  border-color: #bbf7d0;
}
.nx-job-card.is-api {
  border-left: 4px solid #f5b800;
}
.nx-job-card.is-local {
  border-left: 4px solid #0d8f4a;
}
.nx-job-card-top {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.nx-job-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #0a7340;
  font-weight: 800;
  font-size: 0.95rem;
}
.nx-job-card.is-api .nx-job-icon {
  background: linear-gradient(135deg, #fff8e1, #fde68a);
  color: #92400e;
}
.nx-job-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.nx-job-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}
.nx-job-badge-local {
  background: #ecfdf5;
  color: #166534;
}
.nx-job-badge-api {
  background: #fff7ed;
  color: #9a3412;
}
.nx-job-badge-type {
  background: #f1f5f9;
  color: #475569;
}
.nx-job-company {
  margin: 0 0 2px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
}
.nx-job-title {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}
.nx-job-summary {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
}
.nx-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 12px 0;
  font-size: 0.82rem;
  color: #475569;
  font-weight: 600;
}
.nx-job-action {
  display: flex;
  justify-content: flex-end;
}
.nx-jobs-empty {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
}
.nx-jobs-empty--soft {
  padding: 18px;
  text-align: left;
}
.nx-jobs-empty h2 {
  margin: 0 0 8px;
}
.nx-jobs-empty a {
  color: #0d8f4a;
  font-weight: 700;
}
.nx-jobs-api-err {
  color: #b45309;
  font-size: 0.9rem;
}
.nx-jobs-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  color: #64748b;
}

@media (max-width: 900px) {
  .nx-jobs-layout {
    grid-template-columns: 1fr;
  }
  .nx-jobs-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .nx-jobs-search {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .nx-job-card-top {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .nx-job-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 0.82rem;
  }
  .nx-job-action {
    justify-content: stretch;
  }
  .nx-job-action .btn {
    width: 100%;
    text-align: center;
  }
}

.news-page {
  padding: 32px 0 48px;
  background: #f8fafc;
}
.news-container {
  max-width: 1100px;
}
.news-page-header {
  margin-bottom: 28px;
}
.news-page-title {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.news-page-intro {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 680px;
}
.news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  max-width: 480px;
}
.news-filter-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
}
.news-filter-select {
  flex: 1;
  min-width: 160px;
  padding: 8px 10px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.news-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}
.news-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.news-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f1f5f9;
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card-body {
  padding: 18px 20px 22px;
}
.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: #94a3b8;
}
.news-card-city {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #166534;
  font-weight: 600;
  font-size: 0.75rem;
}
.news-card-city--all {
  background: #f1f5f9;
  color: #64748b;
}
.news-card-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}
.news-card-excerpt {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.55;
}
.news-card-read {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--jd-green, #0d8f4a);
}
.news-empty {
  padding: 32px;
  text-align: center;
}
.news-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.news-pagination-info {
  color: #64748b;
  font-size: 0.95rem;
}

.news-post-page {
  padding: 24px 0 48px;
  background: #f8fafc;
}
.news-post-container {
  max-width: 760px;
}
.news-breadcrumb {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 24px;
}
.news-breadcrumb a {
  color: #64748b;
  text-decoration: none;
}
.news-breadcrumb a:hover {
  color: var(--jd-green, #0d8f4a);
}
.news-breadcrumb .sep {
  margin: 0 6px;
  color: #cbd5e1;
}
.news-post-article {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 28px 28px 36px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
.news-post-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-bottom: 10px;
}
.news-post-date {
  font-size: 0.88rem;
  color: #94a3b8;
}
.news-post-city {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #166534;
}
.news-post-title {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.news-post-byline {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: #64748b;
}
.news-post-hero {
  margin: 0 0 24px;
  border-radius: 12px;
  overflow: hidden;
}
.news-post-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.news-post-lead {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 24px;
  font-weight: 500;
}
.news-post-content {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #334155;
}
.news-post-content h2 {
  margin: 28px 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
}
.news-post-content h3 {
  margin: 22px 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}
.news-post-content p {
  margin: 0 0 16px;
}
.news-post-content ul,
.news-post-content ol {
  margin: 0 0 16px;
  padding-left: 1.4rem;
}
.news-post-content li {
  margin-bottom: 6px;
}
.news-post-content a {
  color: var(--jd-green, #0d8f4a);
  font-weight: 600;
}
.news-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 16px 0;
}
.news-post-content blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--jd-green, #0d8f4a);
  background: #f8fafc;
  color: #475569;
  font-style: italic;
}
.news-related {
  margin-top: 40px;
}
.news-related-title {
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-weight: 700;
}
.news-related-grid {
  display: grid;
  gap: 12px;
}
.news-related-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  text-decoration: none;
  color: #0f172a;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.news-related-card:hover {
  border-color: var(--jd-green, #0d8f4a);
  box-shadow: 0 4px 12px rgba(13, 143, 74, 0.1);
}
.news-related-card span {
  font-size: 0.82rem;
  color: #94a3b8;
}
.news-post-back {
  margin-top: 32px;
}

@media (max-width: 640px) {
  .news-post-article {
    padding: 20px 18px 28px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Products marketplace page ========== */
.products-page-wrap {
  background: #f1f5f9;
  min-height: 60vh;
}
.products-hero {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 35%, #fffbeb 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 32px 0 36px;
}
.products-hero-inner {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 380px);
  gap: 28px;
  align-items: center;
}
.products-hero-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jd-green);
}
.products-hero-title {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.15;
}
.products-hero-lead {
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 540px;
}
.products-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.products-hero-badge {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(13, 143, 74, 0.2);
  color: #334155;
}
.products-hero-search {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}
.products-hero-search-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}
.products-hero-search-input:focus {
  outline: none;
  border-color: var(--jd-green);
  box-shadow: 0 0 0 3px rgba(13, 143, 74, 0.12);
}
.products-hero-search-btn {
  width: 100%;
  padding: 14px;
  font-weight: 700;
  border-radius: 12px;
}

.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 28px 16px 48px;
  align-items: start;
}
.products-sidebar-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  position: sticky;
  top: 72px;
}
.products-sidebar-title {
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}
.products-filter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.products-filter-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}
.products-filter-input {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
  background: #fff;
}
.products-filter-input:focus {
  outline: none;
  border-color: var(--jd-green);
  box-shadow: 0 0 0 3px rgba(13, 143, 74, 0.1);
}
.products-filter-submit {
  width: 100%;
  padding: 12px;
  font-weight: 700;
  border-radius: 10px;
}
.products-filter-clear {
  text-align: center;
  font-size: 0.9rem;
  color: var(--jd-green);
  font-weight: 600;
  text-decoration: none;
}
.products-filter-clear:hover {
  text-decoration: underline;
}
.products-filter-toggle {
  display: none;
}

.products-cat-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.products-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  color: #475569;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
}
.products-cat-pill:hover {
  border-color: var(--jd-green);
  color: var(--jd-green-dark);
}
.products-cat-pill.is-active {
  background: var(--jd-green);
  border-color: var(--jd-green);
  color: #fff;
}
.products-cat-icon {
  font-size: 1rem;
  line-height: 1;
}

.products-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.products-results-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.products-results-count {
  font-weight: 600;
  color: #94a3b8;
  font-size: 0.9em;
  margin-left: 4px;
}
.products-results-meta {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: #64748b;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.products-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.products-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}
.products-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  text-decoration: none;
}
.products-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s;
}
.products-card:hover .products-card-media img {
  transform: scale(1.04);
}
.products-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.55;
}
.products-card-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--jd-green-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.products-card-cod {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}
.products-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.products-card-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}
.products-card-name a {
  color: #0f172a;
  text-decoration: none;
}
.products-card-name a:hover {
  color: var(--jd-green);
}
.products-card-store {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.45;
}
.products-card-store-name {
  font-weight: 600;
  color: #475569;
}
.products-card-location {
  display: block;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 2px;
}
.products-card-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}
.products-card-pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.products-card-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--jd-green);
  letter-spacing: -0.02em;
}
.products-card-price--na {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
}
.products-card-stock {
  font-size: 0.78rem;
  font-weight: 700;
  color: #047857;
}
.products-card-wa {
  display: block;
  text-align: center;
  padding: 11px 14px;
  border-radius: 10px;
  background: #25d366;
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    filter 0.15s,
    transform 0.15s;
}
.products-card-wa:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.products-empty {
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
}
.products-empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.products-empty h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: #0f172a;
}
.products-empty p {
  margin: 0 0 16px;
  color: #64748b;
}
.products-empty-owner {
  font-size: 0.9rem;
  margin-top: 20px !important;
}

.products-owner-cta {
  margin-top: 36px;
}
.products-owner-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #0d8f4a 0%, #0a7340 100%);
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 143, 74, 0.25);
}
.products-owner-cta-inner h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 800;
}
.products-owner-cta-inner p {
  margin: 0;
  opacity: 0.92;
  font-size: 0.95rem;
  max-width: 480px;
  line-height: 1.5;
}
.products-owner-cta .btn-primary {
  background: #fff;
  color: var(--jd-green-dark);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
}
.products-owner-cta .btn-primary:hover {
  background: #f0fdf4;
}

@media (max-width: 960px) {
  .products-hero-inner {
    grid-template-columns: 1fr;
  }
  .products-layout {
    grid-template-columns: 1fr;
  }
  .products-sidebar {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(15, 23, 42, 0.45);
    padding: 16px;
    align-items: flex-start;
    justify-content: flex-end;
  }
  .products-sidebar.is-open {
    display: flex;
  }
  .products-sidebar-card {
    position: relative;
    top: 0;
    width: min(100%, 320px);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    margin-left: auto;
  }
  .products-filter-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }
}

@media (max-width: 520px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .products-card-body {
    padding: 12px;
  }
  .products-card-name {
    font-size: 0.92rem;
  }
  .products-card-price {
    font-size: 1rem;
  }
  .products-card-wa {
    padding: 9px 10px;
    font-size: 0.78rem;
  }
  .products-hero {
    padding: 24px 0 28px;
  }
}

/* Products page: full-width filters above the catalogue */
.products-layout {
  display: block;
}
.products-sidebar {
  display: block;
  position: static;
  padding: 0;
  background: transparent;
}
.products-sidebar-card {
  position: static;
  margin-bottom: 24px;
  padding: 18px 20px;
}
.products-sidebar-title {
  margin-bottom: 14px;
}
.products-filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(170px, 1fr) minmax(
      170px,
      1fr
    ) auto auto;
  align-items: end;
  gap: 12px;
}
.products-filter-group {
  min-width: 0;
}
.products-filter-submit {
  width: auto;
  white-space: nowrap;
}
.products-filter-clear {
  padding: 12px 4px;
  white-space: nowrap;
}
.products-filter-toggle {
  display: none !important;
}
.products-main {
  width: 100%;
}
@media (max-width: 820px) {
  .products-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .products-filter-keyword,
  .products-filter-submit {
    grid-column: 1 / -1;
  }
  .products-filter-submit {
    width: 100%;
  }
}
@media (max-width: 520px) {
  .products-sidebar-card {
    width: 100%;
    max-height: none;
    margin-left: 0;
  }
  .products-filter-form {
    grid-template-columns: 1fr;
  }
  .products-filter-group,
  .products-filter-keyword,
  .products-filter-submit {
    grid-column: auto;
  }
  .products-filter-clear {
    display: block;
    text-align: left;
  }
}

/* Product detail page */
.product-detail {
  padding: 24px 0 48px;
  background: #f8fafc;
}
.product-detail-container {
  max-width: 1100px;
}
.product-breadcrumb {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.product-breadcrumb a {
  color: var(--jd-green);
  text-decoration: none;
  font-weight: 600;
}
.product-breadcrumb a:hover {
  text-decoration: underline;
}
.product-breadcrumb .sep {
  color: #cbd5e1;
}
.product-detail-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  padding: 28px;
}
.product-detail-media {
  position: relative;
}
.product-detail-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  background: #f1f5f9;
}
.product-detail-placeholder {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border-radius: 16px;
}
.product-detail-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--jd-green-dark);
}
.product-detail-title {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.25;
  color: #0f172a;
}
.product-detail-store {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 0.95rem;
}
.product-detail-store a {
  color: var(--jd-green);
  font-weight: 600;
  text-decoration: none;
}
.product-detail-price {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--jd-green);
  letter-spacing: -0.02em;
}
.product-detail-stock {
  margin: 0 0 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #047857;
}
.product-variants {
  margin-bottom: 20px;
}
.product-variants-label {
  margin: 0 0 10px;
  font-weight: 700;
  color: #334155;
  font-size: 0.92rem;
}
.product-variants-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.product-variant-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
  min-width: 100px;
}
.product-variant-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.product-variant-option.is-selected {
  border-color: var(--jd-green);
  background: #f0fdf4;
}
.product-variant-option.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.product-variant-label {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.92rem;
}
.product-variant-price {
  font-size: 0.85rem;
  color: var(--jd-green);
  font-weight: 600;
}
.product-variant-out {
  font-size: 0.75rem;
  color: #b91c1c;
  font-weight: 700;
}
.product-detail-qty {
  margin-bottom: 20px;
}
.product-detail-qty label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: #334155;
  font-size: 0.92rem;
}
.product-detail-qty input {
  width: 88px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
}
.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.product-detail-wa {
  background: #25d366 !important;
  border-color: #25d366 !important;
}
.product-detail-unavail {
  color: #94a3b8;
  font-weight: 700;
}
.product-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
}
.product-badge-wa {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}
.product-badge-cod {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}
.product-badge-del {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}
.product-detail-desc {
  padding: 24px 28px 32px;
  border-top: 1px solid #f1f5f9;
}
.product-detail-desc h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: #0f172a;
}
.product-detail-desc-body {
  line-height: 1.75;
  color: #475569;
}

.products-card-detail {
  display: block;
  text-align: center;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  color: var(--jd-green-dark) !important;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.products-card-detail:hover {
  background: #f0fdf4;
  border-color: #a7f3d0;
}
.products-card-store-name {
  font-weight: 600;
  color: #475569;
  text-decoration: none;
}
.products-card-store-name:hover {
  color: var(--jd-green);
}

.biz-product-card-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.biz-product-body h4 a {
  color: #222;
  text-decoration: none;
}
.biz-product-body h4 a:hover {
  color: var(--jd-green);
}
.biz-product-variants-hint {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0 0 6px;
  font-weight: 600;
}
.biz-product-view {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--jd-green);
  text-decoration: none;
}
.biz-product-view:hover {
  text-decoration: underline;
}

/* Related products carousel */
.product-related {
  margin-top: 28px;
  padding: 22px 0 8px;
}
.product-related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.product-related-head h2 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  color: #0f172a;
}
.product-related-sub {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}
.product-related-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.product-related-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.product-related-btn:hover {
  border-color: var(--jd-green);
  color: var(--jd-green-dark);
  background: #f0fdf4;
}
.product-related-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
}
.product-related-track::-webkit-scrollbar {
  height: 6px;
}
.product-related-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}
.product-related-card {
  flex: 0 0 min(240px, 78vw);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.product-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}
.product-related-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  overflow: hidden;
}
.product-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-related-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}
.product-related-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-related-cat {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--jd-green-dark);
}
.product-related-name {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}
.product-related-name a {
  color: #0f172a;
  text-decoration: none;
}
.product-related-name a:hover {
  color: var(--jd-green);
}
.product-related-store {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}
.product-related-price {
  margin: 2px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--jd-green);
}
.product-related-link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--jd-green);
  text-decoration: none;
}
.product-related-link:hover {
  text-decoration: underline;
}

.product-nearby {
  margin-top: 8px;
  padding-top: 8px;
}
.product-nearby-initial {
  font-size: 2rem;
  font-weight: 800;
  color: var(--jd-green-dark);
}
.product-nearby-sample {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}
.product-nearby-sample a {
  color: #334155;
  font-weight: 600;
  text-decoration: none;
}
.product-nearby-sample a:hover {
  color: var(--jd-green);
}

@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
  .product-detail-desc {
    padding: 20px;
  }
  .product-related-head {
    align-items: center;
  }
  .product-related-card {
    flex-basis: min(220px, 82vw);
  }
}

/* AI Search */
.ai-search-page {
  background: #f8fafc;
  min-height: 60vh;
  padding-bottom: 48px;
}
.ai-search-hero {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 40%, #fffbeb 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 36px 0 32px;
}
.ai-search-kicker {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d8f4a;
}
.ai-search-title {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.ai-search-lead {
  margin: 0 0 20px;
  color: #475569;
  max-width: 560px;
  line-height: 1.55;
}
.ai-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
}
.ai-search-form input[type="text"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1.05rem;
  background: #fff;
}
.ai-search-form input[type="text"]:focus {
  outline: none;
  border-color: #f5b800;
}
.ai-search-btn {
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
}
.ai-search-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 16px;
  font-size: 0.9rem;
}
.ai-search-examples-label {
  color: #64748b;
  font-weight: 600;
}
.ai-search-examples a {
  color: #0d8f4a;
  text-decoration: none;
  background: #fff;
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
}
.ai-search-examples a:hover {
  background: #ecfdf5;
}
.ai-search-body {
  padding-top: 28px;
  max-width: 960px;
}
.ai-search-interpret {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.ai-search-interpret-title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
}
.ai-search-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-chip {
  background: #f1f5f9;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.88rem;
  color: #334155;
}
.ai-chip strong {
  margin-right: 4px;
  color: #64748b;
  font-weight: 600;
}
.ai-chip--city {
  background: #ecfdf5;
  color: #166534;
}
.ai-chip--cat {
  background: #fffbeb;
  color: #92400e;
}
.ai-chip--src {
  background: #e0e7ff;
  color: #3730a3;
  font-weight: 600;
}
.ai-search-notes {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: #64748b;
}
.ai-search-refine {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 20px;
  align-items: end;
}
.ai-search-refine label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}
.ai-search-refine select {
  min-width: 180px;
  padding: 8px 10px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
}
.ai-search-empty {
  padding: 24px;
}
.jd-ai-search-link {
  margin: 12px 0 0;
  font-size: 0.92rem;
  color: #64748b;
}
.jd-ai-search-link a {
  color: #0d8f4a;
  font-weight: 700;
  text-decoration: none;
}
.jd-ai-search-link a:hover {
  text-decoration: underline;
}
.search-smart-note {
  color: #0d8f4a;
  font-weight: 600;
}

@media (max-width: 640px) {
  .ai-search-form {
    flex-direction: column;
  }
  .ai-search-btn {
    width: 100%;
  }
}

/* ========== Homepage attractiveness & ease-of-use ========== */
.home-page {
  background: #f6f8f7;
}
.jd-hero--attractive {
  padding: 36px 20px 44px;
  background:
    radial-gradient(
      ellipse 80% 55% at 12% 0%,
      rgba(13, 143, 74, 0.16),
      transparent 55%
    ),
    radial-gradient(
      ellipse 55% 45% at 100% 20%,
      rgba(245, 184, 0, 0.18),
      transparent 50%
    ),
    linear-gradient(165deg, #ecfdf5 0%, #f8fafc 42%, #fff8e7 100%);
}
.jd-hero-brand {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0d8f4a;
  animation: jd-hero-rise 0.5s ease-out both;
}
.jd-hero--attractive .jd-hero-title {
  font-size: clamp(1.75rem, 4.8vw, 2.55rem);
  max-width: 14ch;
  animation: jd-hero-rise 0.55s ease-out 0.05s both;
}
.jd-hero--attractive .jd-hero-tagline {
  margin-left: 0;
  margin-right: 0;
  font-size: 1.08rem;
  max-width: 36ch;
  color: #475569;
  animation: jd-hero-rise 0.55s ease-out 0.1s both;
}
.jd-hero-trust {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
}
.jd-hero-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  animation: jd-hero-rise 0.55s ease-out 0.2s both;
}
.jd-hero-chips-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
}
.jd-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition:
    border-color 0.15s,
    color 0.15s,
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
.jd-hero-chip:hover {
  border-color: #86efac;
  color: #0d8f4a;
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 143, 74, 0.12);
}
.jd-hero-steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  animation: jd-hero-rise 0.55s ease-out 0.25s both;
}
.jd-hero-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}
.jd-hero-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0d8f4a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}
.jd-search-bar--hero {
  margin-top: 4px;
  border-radius: 16px;
  box-shadow:
    0 12px 40px rgba(15, 23, 42, 0.1),
    0 2px 8px rgba(15, 23, 42, 0.04);
  animation: jd-hero-rise 0.55s ease-out 0.15s both;
}
.jd-hero--attractive .jd-hero-head {
  margin-bottom: 18px;
}
.jd-hero--attractive .jd-hero-visual img {
  animation: jd-hero-float 5.5s ease-in-out infinite;
}
@keyframes jd-hero-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes jd-hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.jd-quick-nav {
  background: #fff;
  border-bottom: 1px solid #e8edf2;
  padding: 14px 0;
  margin-bottom: 4px;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

/* Homepage explore hub */
.jd-explore-hub {
  background: #fff;
  border-bottom: 1px solid #e8edf2;
  padding: 22px 0 26px;
  margin-bottom: 4px;
}
.jd-explore-head {
  margin-bottom: 14px;
}
.jd-explore-title {
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.jd-explore-sub {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}
.jd-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.jd-explore-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  min-width: 0;
}
.jd-explore-card:hover {
  transform: translateY(-2px);
  border-color: #86efac;
  box-shadow: 0 10px 22px rgba(13, 143, 74, 0.1);
}
.jd-explore-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  line-height: 1;
}
.jd-explore-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jd-explore-text strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.jd-explore-text em {
  font-style: normal;
  font-size: 0.78rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 900px) {
  .jd-explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
@media (max-width: 420px) {
  .jd-explore-card {
    padding: 12px;
    gap: 10px;
  }
  .jd-explore-ico {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .jd-explore-text strong {
    font-size: 0.88rem;
  }
  .jd-explore-text em {
    display: none;
  }
}
.jd-quick-nav-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.jd-quick-nav-scroll::-webkit-scrollbar {
  display: none;
}
.jd-quick-nav-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-width: 0;
}
.jd-quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e8edf2;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.15s,
    border-color 0.15s,
    box-shadow 0.15s,
    background 0.15s;
  min-width: 0;
}
.jd-quick-link:hover {
  transform: translateY(-2px);
  border-color: #86efac;
  background: #ecfdf5;
  box-shadow: 0 8px 18px rgba(13, 143, 74, 0.08);
}
.jd-quick-link--accent {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-color: #fde68a;
}
.jd-quick-ico {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}
.jd-quick-link strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.jd-quick-link em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-page .jd-container {
  padding-top: 20px;
  padding-bottom: 28px;
}
.jd-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 16px;
}
.jd-section-sub {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.45;
}
.jd-section-link {
  font-weight: 700;
  color: var(--jd-green, #0d8f4a);
  text-decoration: none;
  white-space: nowrap;
}
.jd-section-link:hover {
  text-decoration: underline;
}

.jd-cat-grid--rich .jd-cat-icon {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 14px 10px 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.jd-cat-grid--rich .jd-cat-icon:hover {
  transform: translateY(-3px);
  border-color: #86efac;
  box-shadow: 0 10px 22px rgba(13, 143, 74, 0.1);
}
.jd-cat-grid--rich .jd-cat-count {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 2px;
}

.city-cat-grid--pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.city-cat-grid--pills .city-cat-card {
  flex: 0 1 auto;
  min-width: 0;
  padding: 12px 18px;
  border-radius: 999px;
  text-align: left;
  background: #fff;
  border: 1px solid #e8edf2;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.city-cat-grid--pills .city-cat-card:hover {
  transform: translateY(-2px);
  border-color: #86efac;
  box-shadow: 0 8px 18px rgba(13, 143, 74, 0.1);
}
.city-cat-grid--pills .city-cat-card span {
  margin-left: 6px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.85rem;
}

.jd-advertise--banner {
  margin: 28px 0 36px;
  padding: 28px 26px;
}
.jd-advertise-inner--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.jd-advertise--banner .jd-advertise-title {
  max-width: 18ch;
}
.jd-advertise--banner .jd-advertise-text {
  max-width: 42ch;
  margin-bottom: 0;
}

.home-page .jd-float-tabs {
  display: none;
}
.home-page .jd-product-cats-section,
.home-page .jd-cat-grid-section,
.home-page .jd-cities-section,
.home-page .jd-listings {
  margin-bottom: 36px;
}

@media (max-width: 900px) {
  .jd-quick-nav-inner {
    display: flex;
    width: max-content;
    min-width: 100%;
    gap: 8px;
  }
  .jd-quick-link {
    flex: 0 0 auto;
    min-width: 148px;
  }
}
@media (max-width: 767px) {
  .jd-hero--attractive .jd-hero-visual {
    display: none;
  }
  .jd-hero--attractive .jd-hero-layout {
    grid-template-columns: 1fr;
  }
  .jd-hero--attractive {
    padding: 22px 14px 28px;
  }
  .jd-hero--attractive .jd-hero-title {
    max-width: none;
  }
  .jd-quick-nav {
    top: 0;
    padding: 10px 0;
  }
  .jd-quick-link em {
    display: none;
  }
  .jd-quick-link {
    padding: 12px 14px;
    min-width: 112px;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 4px;
  }
  .jd-quick-link strong {
    font-size: 0.82rem;
  }
  .jd-hero-steps {
    gap: 8px 12px;
  }
  .jd-hero-steps li {
    font-size: 0.82rem;
  }
  .jd-advertise-inner--row {
    flex-direction: column;
    align-items: flex-start;
  }
  .jd-advertise--banner .jd-advertise-actions {
    width: 100%;
  }
  .jd-advertise--banner .jd-advertise-btn {
    flex: 1;
    text-align: center;
  }
  .jd-product-cats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .jd-hero--attractive .jd-hero-visual img,
  .jd-search-bar--hero,
  .jd-hero-brand,
  .jd-hero--attractive .jd-hero-title,
  .jd-hero--attractive .jd-hero-tagline,
  .jd-hero-chips,
  .jd-hero-steps {
    animation: none !important;
  }
}

/* Business QR download */
.bd-qr-switch {
  margin-bottom: 20px;
  padding: 16px 18px;
}
.bd-qr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.bd-qr-preview-card {
  text-align: center;
}
.bd-qr-frame {
  display: inline-flex;
  padding: 16px;
  margin: 12px 0 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.bd-qr-frame img {
  display: block;
  width: min(100%, 360px);
  height: auto;
  border-radius: 8px;
}
.bd-qr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 10px;
}
.bd-qr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bd-qr-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f7;
}
.bd-qr-list li:last-child {
  border-bottom: 0;
}
.bd-qr-list strong {
  display: block;
  font-size: 1rem;
  color: #0f172a;
}
.bd-qr-list span {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 2px;
}
.bd-qr-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 900px) {
  .bd-qr-layout {
    grid-template-columns: 1fr;
  }
}

/* Business notifications */
.bd-notif-wrap {
  position: relative;
}
.bd-notif-bell {
  position: relative;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
}
.bd-notif-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bd-notif-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(340px, 90vw);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
  z-index: 80;
  overflow: hidden;
}
.bd-notif-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.92rem;
}
.bd-notif-panel-head a {
  color: #0d8f4a;
  font-weight: 700;
  text-decoration: none;
}
.bd-notif-empty {
  margin: 0;
  padding: 18px 14px;
  color: #64748b;
  font-size: 0.9rem;
}
.bd-notif-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow: auto;
}
.bd-notif-panel-list li a {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f1f5f9;
}
.bd-notif-panel-list li.is-unread a {
  background: #f0fdf4;
}
.bd-notif-panel-list strong {
  display: block;
  font-size: 0.9rem;
  color: #0f172a;
}
.bd-notif-panel-list span {
  display: block;
  margin-top: 3px;
  font-size: 0.82rem;
  color: #64748b;
}

.bd-notif-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bd-notif-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.bd-notif-item.is-unread {
  border-color: #86efac;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 55%);
}
.bd-notif-type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
  background: #e2e8f0;
  color: #334155;
}
.bd-notif-type--enquiry {
  background: #dbeafe;
  color: #1d4ed8;
}
.bd-notif-type--appointment {
  background: #fef3c7;
  color: #92400e;
}
.bd-notif-title {
  display: block;
  font-size: 1.02rem;
  color: #0f172a;
}
.bd-notif-body {
  margin: 6px 0 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.45;
}
.bd-notif-time {
  display: block;
  margin-top: 8px;
  color: #94a3b8;
  font-size: 0.8rem;
}
.bd-notif-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

/* ===== Homepage trust + premium + search modern ===== */
.jd-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 8px;
}
.jd-trust-item {
  background: linear-gradient(180deg, #ffffff 0%, #f3faf6 100%);
  border: 1px solid #d9efe3;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.jd-trust-item strong {
  color: #0a7340;
  font-size: 0.95rem;
}
.jd-trust-item span {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.35;
}
.jd-hero-chip--ai {
  background: #0d8f4a !important;
  color: #fff !important;
  border-color: #0a7340 !important;
}
.biz-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 4px;
  white-space: nowrap;
}
.biz-badge-verified {
  background: #e8f5e9;
  color: #0d8f4a;
}
.biz-badge-premium {
  background: linear-gradient(135deg, #fff8e1, #ffe082);
  color: #8a6d00;
  border: 1px solid #f5b800;
}
.biz-home-card.is-premium,
.biz-card--premium {
  border-color: #f5b800;
  box-shadow: 0 8px 24px rgba(245, 184, 0, 0.12);
}
.area-type-kicker {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d8f4a;
}
.search-modern-hero {
  background:
    radial-gradient(
      ellipse 80% 60% at 10% 0%,
      rgba(245, 184, 0, 0.18),
      transparent 55%
    ),
    linear-gradient(160deg, #e8f7ef 0%, #f8fafc 55%, #fff 100%);
  padding: 28px 0 18px;
  border-bottom: 1px solid #e2e8f0;
}
.search-modern-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  color: #0f172a;
}
.search-modern-lead {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 0.95rem;
}
.search-modern-lead a {
  color: #0d8f4a;
  font-weight: 700;
}
.search-modern-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.search-modern-row {
  display: grid;
  grid-template-columns:
    minmax(0, 1.4fr) minmax(120px, 0.7fr) minmax(120px, 0.7fr)
    auto;
  gap: 10px;
}
.search-modern-row input,
.search-modern-row select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d6dee8;
  border-radius: 12px;
  padding: 10px 14px;
  font: inherit;
  background: #fff;
}
.search-modern-facets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}
.search-facet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #334155;
  font-weight: 600;
}
.search-facet-sort select {
  margin-left: 6px;
  border: 1px solid #d6dee8;
  border-radius: 10px;
  padding: 6px 10px;
  font: inherit;
}
.search-modern-body {
  padding: 22px 16px 40px;
}
.search-modern-meta {
  margin-bottom: 14px;
}
.search-modern-meta h2 {
  margin: 0;
  font-size: 1.15rem;
}
.open-now {
  color: #0d8f4a;
  font-weight: 700;
}
.closed-now {
  color: #94a3b8;
}
.search-modern-empty {
  color: #64748b;
  padding: 12px 0;
}
@media (max-width: 900px) {
  .jd-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-modern-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .jd-trust-strip {
    grid-template-columns: 1fr;
  }
}

/* ========== AI Chatbot widget ========== */
.nx-chat-root {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9990;
  font-family: inherit;
}
.nx-chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, #0d8f4a, #0a7340);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 10px 28px rgba(13, 143, 74, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.nx-chat-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(13, 143, 74, 0.42);
}
.nx-chat-launcher-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
}
.nx-chat-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(380px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 100px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  transform-origin: bottom right;
  animation: nx-chat-in 0.2s ease-out;
}
.nx-chat-panel[hidden] {
  display: none !important;
}
@keyframes nx-chat-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.nx-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 12px;
  background: linear-gradient(135deg, #0a5c34, #0d8f4a);
  color: #fff;
}
.nx-chat-head-text strong {
  display: block;
  font-size: 1rem;
}
.nx-chat-head-text span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.9;
  margin-top: 2px;
}
.nx-chat-close {
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
}
.nx-chat-msgs {
  flex: 1;
  overflow: auto;
  padding: 14px;
  background: #f4f7f5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nx-chat-bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.nx-chat-bubble.is-bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  border-bottom-left-radius: 4px;
}
.nx-chat-bubble.is-user {
  align-self: flex-end;
  background: #0d8f4a;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.nx-chat-bubble.is-error {
  border-color: #fecaca;
  color: #991b1b;
}
.nx-chat-biz {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nx-chat-biz a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #0a7340;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  border: 1px solid #bbf7d0;
}
.nx-chat-biz a:hover {
  background: #d1fae5;
}
.nx-chat-biz small {
  display: block;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
}
.nx-chat-links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nx-chat-links a {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid #fed7aa;
}
.nx-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 10px;
  background: #f4f7f5;
}
.nx-chat-suggestions button {
  border: 1px solid #d6dee8;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 6px 10px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.nx-chat-suggestions button:hover {
  border-color: #86efac;
  color: #0d8f4a;
}
.nx-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}
.nx-chat-form input {
  min-height: 44px;
  border: 1px solid #d6dee8;
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
}
.nx-chat-form button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  background: #0d8f4a;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.nx-chat-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.nx-chat-typing {
  font-size: 0.82rem;
  color: #64748b;
  padding: 0 4px;
}
@media (max-width: 900px) {
  .nx-chat-root {
    right: 12px;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 560px) {
  .nx-chat-root {
    right: 10px;
  }
  .nx-chat-launcher span.nx-chat-launcher-label {
    display: none;
  }
  .nx-chat-launcher {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .nx-chat-panel {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: calc(140px + env(safe-area-inset-bottom, 0px));
    width: auto;
    height: min(62vh, 520px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nx-chat-panel {
    animation: none;
  }
  .nx-chat-launcher {
    transition: none;
  }
}
