/* B2B Local - JustDial-style, mobile-first */
:root {
  --jd-yellow: #ffc107;
  --jd-yellow-dark: #e6ac00;
  --jd-green: #28a745;
  --jd-green-dark: #218838;
  --header-bg: #fff;
  --search-bg: #f8f9fa;
  --card-shadow: 0 2px 8px rgba(0,0,0,.08);
  --radius: 8px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  color: #333;
  line-height: 1.5;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}
main {
  width: 100%;
  display: block;
}

/* Header */
.site-header {
  background: var(--header-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
.header-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--jd-yellow-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo span { color: var(--jd-green); }
/* 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: #555;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.header-nav a:hover { background: #f0f0f0; color: #000; }
.header-nav .btn-mybusiness {
  border: 2px solid var(--jd-yellow);
  color: #1a1a1a;
  font-weight: 600;
}
.header-nav .btn-mybusiness:hover { background: var(--jd-yellow); color: #000; }
.header-nav .btn-login { background: var(--jd-green); color: #fff; font-weight: 600; }
.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 - JustDial style (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-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 - JustDial-style attractive design ========== */
.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,.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,.1), 0 2px 8px rgba(0,0,0,.06);
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,193,7,.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,.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 .2s, transform .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,.8);
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #444;
  text-decoration: none;
  transition: background .2s, border-color .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,.08);
  transition: transform .2s, box-shadow .2s;
}
.home-admin-ad-item:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(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,.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,.06);
  border: 1px solid #eee;
  text-decoration: none;
  color: #333;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.home-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(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,.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 .2s, transform .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); }
}

/* ========== Justdial-style homepage ========== */
.home-justdial { padding-bottom: 40px; width: 100%; }
.jd-hero {
  background: linear-gradient(160deg, #f0f7ff 0%, #fff 40%, #e8f5e9 100%);
  padding: 28px 20px 36px;
  width: 100%;
  box-sizing: border-box;
}
.jd-search-label {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin: 0 0 16px;
}
.jd-search-label strong { color: #1a1a1a; }
.jd-search-bar {
  max-width: 800px;
  min-width: 0;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
  border: 1px solid #e8e8e8;
  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 16px;
  border-right: 1px solid #eee;
  min-width: 160px;
  background: #fafafa;
}
.jd-pin { font-size: 1.1rem; }
.jd-search-location select {
  border: none;
  background: transparent;
  font-size: 1rem;
  padding: 14px 0;
  color: #333;
  cursor: pointer;
  min-width: 120px;
}
.jd-search-location select:focus { outline: none; }
.jd-search-query { flex: 1 1 200px; min-width: 0; }
.jd-search-query input {
  width: 100%;
  min-width: 0;
  padding: 14px 20px;
  border: none;
  font-size: 1rem;
  box-sizing: border-box;
}
.jd-search-query input::placeholder { color: #999; }
.jd-search-query input:focus { outline: none; }
.jd-search-actions { flex-shrink: 0; }
.jd-search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--jd-green);
  color: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.jd-search-btn:hover { background: var(--jd-green-dark); }
.jd-search-icon { font-size: 1.1rem; }

.jd-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; min-width: 0; }
.jd-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
  margin-bottom: 32px;
  min-width: 0;
}
.jd-top-row > * { min-width: 0; }
.jd-promo-banner {
  background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
  border-radius: 12px;
  padding: 28px 24px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(111,66,193,.3);
}
.jd-promo-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.jd-promo-text {
  font-size: 0.95rem;
  opacity: .95;
  margin: 0 0 18px;
  line-height: 1.5;
}
.jd-promo-score-label {
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
  opacity: .9;
}
.jd-promo-score-bar {
  display: block;
  height: 8px;
  background: rgba(255,255,255,.3);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}
.jd-promo-score-fill {
  display: block;
  height: 100%;
  background: var(--jd-yellow);
  border-radius: 4px;
  transition: width .3s;
}
.jd-promo-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--jd-yellow);
  color: #1a1a1a;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: background .2s, transform .1s;
}
.jd-promo-btn:hover { background: #ffb300; color: #1a1a1a; transform: translateY(-1px); }
.jd-featured-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  min-width: 0;
}
.jd-featured-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #eee;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .2s, box-shadow .2s;
}
.jd-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.jd-featured-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}
.jd-featured-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: #1a1a1a;
}
.jd-featured-card p {
  font-size: 0.85rem;
  color: #666;
  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: 32px; }
.jd-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--jd-yellow);
  display: inline-block;
}
.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 .2s;
}
.jd-cat-icon:hover { transform: translateY(-2px); }
.jd-cat-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f0f0f0, #e5e5e5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 8px;
  border: 2px solid #eee;
}
.jd-cat-icon:hover .jd-cat-circle {
  background: linear-gradient(145deg, var(--jd-yellow), #ffb300);
  border-color: var(--jd-yellow);
}
.jd-cat-label { font-size: 0.8rem; font-weight: 600; color: #444; line-height: 1.2; }
.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: #fff;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: #333;
  transition: box-shadow .2s;
}
.jd-biz-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.jd-biz-img {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 8px;
  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: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: #1a1a1a;
}
.jd-biz-meta { font-size: 0.85rem; color: #666; margin: 0; }
.jd-section-cta { margin-top: 20px; }
.jd-ads-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.jd-banner-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0;
  flex: 1;
  min-width: 280px;
}
.jd-banner-slide {
  flex: 0 0 min(320px, 85vw);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.jd-banner-slide img { width: 100%; height: 140px; object-fit: cover; display: block; }
.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,.06);
}
.jd-admin-ad img { width: 100%; height: 100px; object-fit: cover; display: block; }
.jd-cta-strip {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 24px 20px;
  border-radius: 12px;
  border: 1px solid #dee2e6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.jd-cta-strip p { margin: 0; font-size: 1rem; color: #333; }
.jd-cta-btn {
  padding: 10px 20px;
  background: var(--jd-green);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: background .2s;
}
.jd-cta-btn:hover { background: var(--jd-green-dark); color: #fff; }
.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;
}
.jd-float-tab {
  padding: 14px 10px;
  color: #fff;
  font-size: 0.85rem;
  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,.15);
  transition: transform .15s, box-shadow .15s;
}
.jd-float-tab:hover {
  transform: rotate(180deg) translateX(-4px);
  box-shadow: -4px 2px 14px rgba(0,0,0,.2);
}
.jd-float-orange { background: #fd7e14; }
.jd-float-blue { background: #0d6efd; }
.jd-float-purple { background: #6f42c1; }

/* Category page - Justdial style */
.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 .2s, color .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 .2s, color .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: #444; margin-bottom: 4px; }
.cat-jd-lead-row input { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 0.95rem; box-sizing: border-box; }
.cat-jd-lead-btn { padding: 12px 20px; background: #0d6efd; color: #fff; border: none; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; margin-top: 4px; }
.cat-jd-lead-btn:hover { background: #0b5ed7; }
.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; }
}
@media (max-width: 768px) {
  .jd-search-form { flex-direction: column; }
  .jd-search-location { border-right: none; border-bottom: 1px solid #eee; min-width: 100%; }
  .jd-search-query { min-width: 100%; }
  .jd-search-btn { width: 100%; justify-content: center; }
  .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 - JustDial style */
.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 .2s, box-shadow .2s;
  border: 1px solid #eee;
}
.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(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 .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 .2s, transform .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 - layout with sidebar */
.biz-page {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  align-items: start;
}
.biz-page-main { min-width: 0; }
.biz-sidebar { position: sticky; top: 80px; }

/* 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,.08);
}
.biz-main-image img { width: 100%; height: auto; max-height: 400px; object-fit: cover; display: block; }

/* Sections */
.biz-section { margin-bottom: 28px; }
.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 .2s; }
.biz-product-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.biz-product-card img, .biz-product-card-noimg { width: 100%; height: 140px; object-fit: cover; }
.biz-product-card-noimg { background: linear-gradient(135deg, #f5f5f5, #eee); }
.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; }

/* Reviews */
.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,.05);
}
.biz-review-form-title { font-size: 1rem; font-weight: 700; margin: 0 0 16px; color: #222; }
.biz-review-form .biz-review-form-row { margin-bottom: 16px; }
.biz-review-form-row label { display: block; font-size: 0.9rem; font-weight: 600; color: #444; margin-bottom: 6px; }
.biz-review-form-row input[type="text"],
.biz-review-form-row input[type="email"],
.biz-review-form-row textarea {
  width: 100%;
  max-width: 400px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 1rem;
  box-sizing: border-box;
}
.biz-review-form-row textarea { min-height: 100px; resize: vertical; }
.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 .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; }

/* Sidebar */
.biz-sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(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 .15s, box-shadow .15s;
}
.biz-cta:last-child { margin-bottom: 0; }
.biz-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(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-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, .35);
  transition: transform .2s, box-shadow .2s;
}
.biz-chat-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(37, 211, 102, .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 .15s, box-shadow .15s;
  width: 100%;
  max-width: 220px;
  min-height: 44px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  box-sizing: border-box;
}
.biz-share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(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); }

/* Mobile: stack sidebar below */
@media (max-width: 900px) {
  .biz-page { grid-template-columns: 1fr; }
  .biz-sidebar { position: static; order: -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .biz-sidebar-contact { grid-column: 1 / -1; }
  .biz-share-card { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .biz-sidebar { grid-template-columns: 1fr; }
  .biz-hero { flex-direction: column; text-align: center; }
  .biz-hero-text { text-align: center; }
}

/* 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,.15), transparent),
              radial-gradient(ellipse 60% 40% at 100% 50%, rgba(40,167,69,.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,.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,.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,.06);
  border: 1px solid #eee;
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s, transform .2s;
}
.job-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
  border-color: rgba(255,193,7,.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 .15s, box-shadow .15s;
}
.job-card-actions .btn:hover { transform: translateY(-1px); }
.job-card-actions .btn-primary {
  box-shadow: 0 2px 8px rgba(40,167,69,.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,.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,.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,.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 .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,.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,.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 .2s;
}
.btn-nellai-view:hover { background: #5a6268; color: #fff; }
@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; }
}

/* Footer - attractive & SEO-friendly */
.site-footer {
  background: #1a252f;
  color: #b0bec5;
  padding: 0;
  margin-top: 48px;
  position: relative;
  width: 100%;
}
.footer-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--jd-yellow), var(--jd-green));
  width: 100%;
}
.footer-inner { max-width: 1200px; width: 100%; margin: 0 auto; padding: 40px 20px 24px; box-sizing: border-box; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px 24px;
  margin-bottom: 36px;
}
.footer-col { min-width: 0; }
.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,193,7,0.4);
}
.footer-heading a { color: inherit; text-decoration: none; }
.footer-brand .footer-logo { font-size: 1.4rem; color: var(--jd-yellow); }
.footer-brand .footer-logo span { color: var(--jd-green); }
.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #90a4ae;
  margin: 0 0 16px;
  max-width: 260px;
}
.footer-cta { margin: 0; }
.footer-btn {
  display: inline-block;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--jd-yellow), var(--jd-yellow-dark));
  color: #1a252f;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: opacity 0.2s, transform 0.2s;
}
.footer-btn:hover { opacity: 0.95; transform: translateY(-1px); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 10px; }
.footer-links a {
  color: #b0bec5;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover { color: var(--jd-yellow); padding-left: 4px; }
.footer-count { color: #78909c; font-size: 0.85em; font-weight: normal; }
.footer-no-cities { color: #78909c; font-style: italic; list-style: none; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #37474f;
  text-align: center;
}
.footer-legal { margin-bottom: 12px; }
.footer-legal a {
  color: #90a4ae;
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-legal a:hover { color: var(--jd-yellow); }
.footer-sep { color: #546e7a; margin: 0 10px; font-size: 0.85rem; }
.footer-copy {
  font-size: 0.85rem;
  color: #78909c;
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-brand .footer-tagline { max-width: none; }
  .footer-legal .footer-sep { display: none; }
  .footer-legal a { display: inline-block; margin: 4px 8px; }
}

/* Admin panel - layout */
.admin-body-page { margin: 0; background: #e2e8f0; }
.admin-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.admin-topbar {
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-topbar-inner {
  max-width: 100%;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.admin-sidebar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: #f1f5f9;
  border-radius: 10px;
  cursor: pointer;
}
.admin-sidebar-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #475569;
  border-radius: 1px;
  margin: 0 auto;
}
.admin-topbar-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
}
.admin-topbar-logo span { color: var(--jd-green); font-weight: 600; }
.admin-topbar-title {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
  margin-left: 8px;
}
.admin-topbar-actions { display: flex; align-items: center; gap: 12px; }
.admin-topbar-link {
  font-size: 0.875rem;
  color: #64748b;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.admin-topbar-link:hover { background: #f1f5f9; color: #1e293b; }
.admin-topbar-logout { color: #dc2626; }
.admin-topbar-logout:hover { background: #fef2f2; color: #b91c1c; }

.admin-body {
  flex: 1;
  display: flex;
  min-height: 0;
}
.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0,0,0,.06);
}
.admin-sidebar-brand {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-sidebar-logo {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.admin-sidebar-tagline {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}
.admin-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
}
.admin-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  padding: 12px 16px;
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background .2s, color .2s;
  margin-bottom: 2px;
}
.admin-sidebar-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-sidebar-nav a.active { background: rgba(34, 197, 94, .2); color: #86efac; border-left: 3px solid var(--jd-green); padding-left: 13px; }
.admin-sidebar-nav a.admin-sidebar-logout { color: #f87171; margin-top: 8px; }
.admin-sidebar-nav a.admin-sidebar-logout:hover { background: rgba(248,113,113,.15); color: #fca5a5; }
.admin-sidebar-nav .nav-icon { font-size: 1.1rem; opacity: .95; }
.admin-sidebar-nav .admin-nav-section {
  display: block;
  padding: 20px 16px 8px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  cursor: default;
}
.admin-main {
  flex: 1;
  min-width: 0;
  overflow: auto;
  background: linear-gradient(160deg, #f0f4f8 0%, #e2e8f0 100%);
}
.admin-content { padding: 24px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px;
  margin-bottom: 24px;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px; text-align: left; border-bottom: 1px solid #eee; }
.admin-table th { background: #f8f9fa; font-weight: 600; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  max-width: 400px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 1rem;
}
.form-group textarea { min-height: 100px; }
.success-msg { color: #2e7d32; font-weight: 500; margin-top: 8px; }
.error-msg { color: #c62828; font-weight: 500; }

/* Admin footer */
.admin-footer {
  flex-shrink: 0;
  background: #1e293b;
  color: #94a3b8;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.admin-footer-inner {
  max-width: 100%;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.admin-footer-copy { font-weight: 500; }
.admin-footer-links { display: flex; gap: 20px; }
.admin-footer-links a {
  color: #94a3b8;
  text-decoration: none;
}
.admin-footer-links a:hover { color: #fff; }
.admin-sidebar-overlay { display: none; }

/* Admin Dashboard - modern layout */
.admin-main { background: linear-gradient(160deg, #f0f4f8 0%, #e2e8f0 100%); }
.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,.06), 0 1px 3px rgba(0,0,0,.04);
  border: 1px solid rgba(255,255,255,.8);
  transition: transform .2s ease, box-shadow .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,.1), 0 4px 8px rgba(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,.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,.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,.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,.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,.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,.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,.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,.06), 0 1px 3px rgba(0,0,0,.04);
  border: 1px solid rgba(255,255,255,.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,.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 .2s, color .2s, border-color .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,.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-topbar-inner { padding: 0 16px; height: 52px; }
  .admin-sidebar-toggle { display: flex; }
  .admin-topbar-title { display: none; }
  .admin-body { position: relative; }
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-shadow: 4px 0 24px rgba(0,0,0,.2);
  }
  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(0,0,0,.4);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
  }
  .admin-footer-inner { flex-direction: column; text-align: center; padding: 14px 16px; }
}

@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; }
}
