/* ============================================================
   FirmenABC Homepage Design – MergataBIZ v1.1.0
   Snippet: 7ab8b9c2
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --fab-blue:        #0057A8;
  --fab-blue-dark:   #003d7a;
  --fab-blue-light:  #e8f2fc;
  --fab-orange:      #F5A623;
  --fab-orange-dark: #d4891a;
  --fab-white:       #ffffff;
  --fab-gray:        #f4f6f9;
  --fab-text:        #333333;
  --fab-text-light:  #666666;
  --fab-radius:      6px;
  --fab-shadow:      0 2px 12px rgba(0,87,168,0.10);
}

/* ── GLOBAL ── */
body { font-family: 'Open Sans', Arial, sans-serif !important; background: #f9fafb !important; }
a { color: #0057A8 !important; }
a:hover { color: #003d7a !important; }

/* ── TOP BAR ── */
body #top-bar,
body .top-bar,
body .lp-top-bar,
body div#top-bar {
  background-color: #003d7a !important;
  color: rgba(255,255,255,0.85) !important;
}
body #top-bar a,
body .top-bar a { color: rgba(255,255,255,0.85) !important; }
body #top-bar a:hover { color: #F5A623 !important; }

/* ── HEADER ── */
body #header,
body .main-header,
body header#header,
body .header-wrapper,
body #header.fixed-header {
  background-color: #0057A8 !important;
  border-bottom: 3px solid #F5A623 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
  margin: 0 auto !important;
}

/* Nav links */
body #header .main-nav > ul > li > a,
body #header nav ul li a,
body #header .nav-menu li a,
body header .main-nav a {
  color: #ffffff !important;
  font-weight: 600 !important;
}
body #header .main-nav > ul > li > a:hover,
body #header nav ul li a:hover { color: #F5A623 !important; }

/* Header CTA button */
body #header .btn-submit,
body #header .add-listing-btn,
body #header a.btn-primary,
body #header .header-btn {
  background-color: #F5A623 !important;
  border-color: #F5A623 !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
}
body #header .btn-submit:hover,
body #header .add-listing-btn:hover {
  background-color: #d4891a !important;
  border-color: #d4891a !important;
}

/* ── HERO / BANNER ── */
body .home-banner,
body .banner-section,
body .lp-banner,
body #home-banner,
body .banner-wrapper,
body .top-banner,
body .lp-top-banner,
body section.home-banner {
  background: linear-gradient(135deg, #003d7a 0%, #0057A8 60%, #1a7fd4 100%) !important;
  min-height: 400px !important;
}

body .home-banner h1,
body .home-banner h2,
body .banner-section h1,
body .banner-section h2,
body .banner-title,
body .lp-banner-title,
body .top-banner h1,
body .top-banner h2 {
  color: #ffffff !important;
  font-size: 36px !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

body .home-banner p,
body .banner-section p,
body .banner-subtitle,
body .top-banner p {
  color: rgba(255,255,255,0.92) !important;
  font-size: 16px !important;
}

/* ── SEARCH FORM ── */
body .lp-search-form,
body .search-form-wrapper,
body #search-form,
body .home-search-form,
body .banner-search,
body .lp-search-box,
body form.search-form {
  background: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18) !important;
  padding: 8px !important;
}

body .lp-search-form input[type="text"],
body .search-form-wrapper input[type="text"],
body #search-form input[type="text"],
body .home-search-form input,
body .lp-search-box input {
  border: 1px solid #dde3ea !important;
  border-radius: 6px !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  color: #333 !important;
  background: #fff !important;
}

body .lp-search-form input[type="text"]:focus,
body #search-form input[type="text"]:focus {
  border-color: #0057A8 !important;
  box-shadow: 0 0 0 3px rgba(0,87,168,0.12) !important;
  outline: none !important;
}

body .lp-search-form button,
body .lp-search-form .search-btn,
body .search-form-wrapper button,
body #search-form button[type="submit"],
body .home-search-form button,
body .lp-search-box button,
body .search-submit {
  background-color: #0057A8 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 12px 28px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
body .lp-search-form button:hover,
body #search-form button[type="submit"]:hover {
  background-color: #003d7a !important;
}

body .lp-search-form select,
body #search-form select,
body .search-form-wrapper select {
  border: 1px solid #dde3ea !important;
  border-radius: 6px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  background: #fff !important;
}

/* ── CATEGORY SECTION ── */
body .home-cats,
body .categories-section,
body .lp-cats-section,
body #home-cats,
body .listing-categories,
body section.home-cats {
  background: #ffffff !important;
  padding: 50px 0 !important;
}

body .home-cats h2,
body .categories-section h2,
body .section-title,
body .lp-section-title {
  color: #0057A8 !important;
  font-size: 28px !important;
  font-weight: 800 !important;
}

body .cat-item,
body .category-item,
body .lp-cat-item,
body .listing-cat-item,
body .cat-box,
body .lp-category-box {
  background: #ffffff !important;
  border: 1px solid #e0e8f0 !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 12px rgba(0,87,168,0.10) !important;
  transition: all 0.25s ease !important;
  text-align: center !important;
  padding: 24px 16px !important;
}

body .cat-item:hover,
body .category-item:hover,
body .lp-cat-item:hover,
body .listing-cat-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 28px rgba(0,87,168,0.18) !important;
  border-color: #0057A8 !important;
}

body .cat-item i,
body .category-item i,
body .lp-cat-item i,
body .listing-cat-item i,
body .cat-icon { color: #0057A8 !important; font-size: 34px !important; }

body .cat-item .cat-name,
body .category-item .cat-name,
body .lp-cat-item .cat-name,
body .cat-item h3,
body .cat-item h4 {
  color: #333333 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

/* ── LISTING CARDS ── */
body .listing-item,
body .lp-listing-card,
body .listing-card,
body .lp-listing-item {
  background: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 12px rgba(0,87,168,0.10) !important;
  border: 1px solid #e8edf3 !important;
  overflow: hidden !important;
  transition: all 0.25s ease !important;
}
body .listing-item:hover,
body .lp-listing-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(0,87,168,0.15) !important;
}

body .listing-item h3,
body .listing-item h4,
body .lp-listing-card h3,
body .listing-card h3 { color: #0057A8 !important; font-weight: 700 !important; }

body .listing-item .stars i,
body .lp-listing-card .stars i,
body .listing-rating i,
body .lp-rating i { color: #F5A623 !important; }

body .featured-badge,
body .badge-featured,
body .listing-featured-badge {
  background: #F5A623 !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
}

/* ── BUTTONS ── */
body .btn-primary,
body a.btn-primary,
body button.btn-primary,
body .lp-btn-primary,
body input[type="submit"].btn-primary {
  background-color: #0057A8 !important;
  border-color: #0057A8 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
}
body .btn-primary:hover { background-color: #003d7a !important; border-color: #003d7a !important; }

body .btn-secondary,
body a.btn-secondary,
body .lp-btn-secondary {
  background-color: #F5A623 !important;
  border-color: #F5A623 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
}
body .btn-secondary:hover { background-color: #d4891a !important; }

/* ── STATS SECTION ── */
body .stats-section,
body .lp-stats,
body .counter-section {
  background-color: #0057A8 !important;
  padding: 40px 0 !important;
}
body .stats-section .stat-number,
body .lp-stats .counter,
body .counter-section .count { color: #F5A623 !important; font-size: 40px !important; font-weight: 800 !important; }
body .stats-section .stat-label,
body .counter-section .counter-label { color: rgba(255,255,255,0.85) !important; }

/* ── FOOTER ── */
body #footer,
body .site-footer,
body .lp-footer,
body footer#footer {
  background-color: #003d7a !important;
  color: rgba(255,255,255,0.85) !important;
}
body #footer a,
body .site-footer a { color: rgba(255,255,255,0.75) !important; }
body #footer a:hover,
body .site-footer a:hover { color: #F5A623 !important; }

body .footer-top,
body .lp-footer-top {
  background-color: #0057A8 !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  padding: 50px 0 30px !important;
}
body .footer-bottom,
body .lp-footer-bottom {
  background-color: #003d7a !important;
  padding: 16px 0 !important;
  color: rgba(255,255,255,0.6) !important;
}
body .footer-widget-title,
body .footer-title {
  color: #ffffff !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #F5A623 !important;
  display: inline-block !important;
  padding-bottom: 6px !important;
  margin-bottom: 14px !important;
}

/* ── PAGINATION ── */
body .pagination .page-numbers.current,
body .lp-pagination .current {
  background-color: #0057A8 !important;
  color: #fff !important;
  border-color: #0057A8 !important;
}
body .pagination .page-numbers:hover { background-color: #e8f2fc !important; color: #0057A8 !important; }

/* ── TAGS ── */
body .tag, body .lp-tag, body .listing-tag {
  background-color: #e8f2fc !important;
  color: #0057A8 !important;
  border-radius: 20px !important;
  padding: 3px 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* ── ADMIN BAR OFFSET ── */
body.admin-bar #header { top: var(--wp-admin--admin-bar--height, 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar #header { top: 46px; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  body .home-banner h1, body .banner-section h1, body .banner-title { font-size: 24px !important; }
  body .lp-search-form, body #search-form { flex-direction: column !important; }
  body .lp-search-form input[type="text"], body #search-form input { width: 100% !important; }
  body .lp-search-form button, body #search-form button { width: 100% !important; }
}
