/*
Theme Name: DealsAgent Classifieds Pro
Theme URI: https://dealsagent.in
Author: DealsAgent Team
Author URI: https://dealsagent.in
Description: Light-blue OLX-style WordPress classifieds theme with category-specific ad forms, server-side ad moderation, PIN-code search, saved favorites and responsive listing cards.
Version: 5.0.8
License: GNU General Public License v2 or later
Text Domain: dealsagent-pro
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans:wght@400;600;700;800&display=swap');

:root {
  --da-header-bg: #dbeafe;
  --da-green: #2563eb;
  --da-green-dark: #1d4ed8;
  --da-blue: #2563eb;
  --da-blue-dark: #1d4ed8;
  --da-bg: #f2f8ff;
  --da-card: #ffffff;
  --da-text: #0f172a;
  --da-muted: #64748b;
  --da-border: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--da-bg);
  color: var(--da-text);
  line-height: 1.5;
}

/* Header & WP Menu */
.da-header {
  background: var(--da-header-bg);
  color: #0f2e56;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 14px rgba(0,0,0,0.18);
}

.da-header-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.da-brand {
  color: #0f2e56;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.da-brand-badge {
  display: none;
  background: var(--da-blue);
  color: #ffffff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.da-wp-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.da-wp-nav a {
  color: #173b69;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: 0.2s;
}

.da-wp-nav a:hover { color: #1d4ed8; }

.da-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.da-btn {
  border: none;
  border-radius: 8px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: 0.2s ease;
}

.da-btn-light {
  background: rgba(255,255,255,0.78);
  color: #173b69;
  border: 1px solid #bfdbfe;
}

.da-btn-light:hover { background: #ffffff; border-color: #93c5fd; }

.da-btn-blue {
  background: var(--da-blue);
  color: #ffffff;
}

.da-btn-blue:hover { background: var(--da-blue-dark); }

.da-btn-green {
  background: var(--da-green);
  color: #ffffff;
}

.da-badge-wrap { position: relative; }

.da-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Sub-Header Compact Location & User Bar */
.da-subbar {
  background: #ffffff;
  border-bottom: 1px solid var(--da-border);
  padding: 8px 20px;
}

.da-subbar-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.da-user-loc-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.da-user-pill {
  font-size: 13px;
  font-weight: 700;
  color: var(--da-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.da-compact-loc-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12.5px;
}

.da-compact-loc-box select {
  border: none;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--da-text);
  outline: none;
  cursor: pointer;
}

.da-container {
  max-width: 1280px;
  margin: 18px auto 40px;
  padding: 0 20px;
}

/* Search Box */
.da-search-box {
  background: #ffffff;
  border: 1px solid var(--da-border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.06);
}

.da-search-row {
  display: grid;
  grid-template-columns: 1.1fr 2fr auto auto;
  gap: 10px;
}

.da-input-wrap {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0 12px;
  height: 44px;
}

.da-input-wrap i {
  color: var(--da-blue);
  margin-right: 8px;
}

.da-input-wrap input,
.da-input-wrap select {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  outline: none;
  color: var(--da-text);
}

.da-filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--da-border);
  align-items: end;
}

.da-filters-grid.hidden { display: none; }

.da-filters-grid label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--da-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.da-filters-grid select,
.da-filters-grid input {
  width: 100%;
  height: 36px;
  padding: 0 9px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
}

/* Category Icons */
.da-cats-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.da-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 9px;
  text-decoration: none;
  color: var(--da-text);
}

.da-cat-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--da-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--da-blue);
  font-size: 19px;
  transition: 0.2s ease;
}

.da-cat-item:hover .da-cat-circle,
.da-cat-item.active .da-cat-circle {
  background: var(--da-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.da-cat-item span {
  font-size: 12px;
  font-weight: 600;
}

.da-adsense {
  background: #ffffff;
  border: 1.5px dashed #94a3b8;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  font-size: 12.5px;
  color: #475569;
  margin: 14px 0;
}

/* Listings Grid */
.da-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.da-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.da-grid.list-view { grid-template-columns: 1fr; }

.da-ad-card {
  background: #ffffff;
  border: 1px solid var(--da-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(15,23,42,0.05);
  position: relative;
  transition: 0.2s;
}

.da-ad-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15,23,42,0.09);
}

.da-grid.list-view .da-ad-card { flex-direction: row; }
.da-ad-card.span-2x1 { grid-column: span 2; }
.da-ad-card.span-2x2 { grid-column: span 2; grid-row: span 2; }

.da-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 5;
}

.da-fav-btn.active { color: #ef4444; }

.da-ad-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
}

.da-grid.list-view .da-ad-img {
  width: 260px;
  height: auto;
}

.da-ad-body {
  padding: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.da-ad-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--da-blue);
  font-family: 'Noto Sans', 'Inter', sans-serif;
}

.da-ad-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--da-text);
  text-decoration: none;
  display: block;
  margin: 4px 0 6px;
}

.da-ad-meta {
  font-size: 12px;
  color: var(--da-muted);
  margin-bottom: 10px;
}

.da-ad-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
}

.da-btn-sm {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
  text-decoration: none;
  color: var(--da-text);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.da-btn-sm.blue {
  background: var(--da-blue);
  color: #ffffff;
  border-color: var(--da-blue);
}

.da-btn-sm.green {
  background: var(--da-green);
  color: #ffffff;
  border-color: var(--da-green);
}

.da-admin-box, .da-user-dash {
  display: none;
  background: #eff6ff;
  border: 1.5px solid #93c5fd;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
}

.da-admin-box.open, .da-user-dash.open { display: block; }

.da-admin-bar {
  display: none;
  background: #1e293b;
  color: #ffffff;
  padding: 5px 10px;
  font-size: 11px;
  justify-content: space-between;
  align-items: center;
}

body.da-admin-active .da-admin-bar { display: flex; }

.da-admin-bar button {
  background: #334155;
  color: #ffffff;
  border: none;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10.5px;
}

/* Modals */
.da-modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.68);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.da-modal-bg.open { display: flex; }

.da-modal-card {
  background: #ffffff;
  border-radius: 14px;
  max-width: 620px;
  width: 100%;
  padding: 22px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 45px rgba(0,0,0,0.28);
}

.da-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.da-field-group { display: flex; flex-direction: column; gap: 4px; }
.da-field-group label { font-size: 12px; font-weight: 700; color: #334155; }
.da-field-group input,
.da-field-group select,
.da-field-group textarea {
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13.5px;
  font-family: inherit;
}

.da-pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.da-pkg-card {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}

.da-pkg-card.selected {
  border-color: var(--da-blue);
  background: #eff6ff;
}

/* Working Live Chat Box */
.da-chat-box {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.25);
  z-index: 2500;
  border: 1px solid var(--da-border);
  overflow: hidden;
}

.da-chat-box.open { display: block; }

.da-chat-msgs {
  height: 210px;
  overflow-y: auto;
  padding: 12px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.da-msg-in {
  align-self: flex-start;
  background: #e2e8f0;
  color: #0f172a;
  padding: 7px 11px;
  border-radius: 10px 10px 10px 2px;
  max-width: 82%;
}

.da-msg-out {
  align-self: flex-end;
  background: var(--da-blue);
  color: #ffffff;
  padding: 7px 11px;
  border-radius: 10px 10px 2px 10px;
  max-width: 82%;
}

/* Single Post View */
.da-single-layout {
  max-width: 1220px;
  margin: 20px auto 45px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.da-single-card {
  background: #ffffff;
  border: 1px solid var(--da-border);
  border-radius: 14px;
  padding: 22px;
}

.da-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 13.5px;
}

.da-spec-table td {
  padding: 9px 12px;
  border-bottom: 1px solid #e2e8f0;
}

.da-spec-table td:first-child {
  font-weight: 700;
  color: #475569;
  width: 40%;
  background: #f8fafc;
}

.da-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 32px 20px;
  margin-top: 40px;
}

@media (max-width: 960px) {
  .da-search-row { grid-template-columns: 1fr; }
  .da-grid { grid-template-columns: repeat(2, 1fr); }
  .da-single-layout { grid-template-columns: 1fr; }
  .da-pkg-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .da-grid { grid-template-columns: 1fr; }
  .da-field-grid { grid-template-columns: 1fr; }
}


/* DealsAgent v4.1: light-blue palette, accessible controls and consistent OLX-style cards */
.da-header { border-bottom: 1px solid #bfdbfe; box-shadow: 0 3px 14px rgba(30,64,175,.08); }
.da-brand-badge { background: #2563eb; color: #fff; }
.da-btn-green, .da-btn-sm.green { background: var(--da-blue); color: #fff; border-color: var(--da-blue); }
.da-user-pill { color: #1d4ed8; }
.da-subbar { background: #f8fbff; }
.da-container { margin-top: 22px; }
.da-search-box { background: #fff; border-color: #d6e8fb; }
.da-filters-grid { background: #f5faff; border-radius: 10px; padding: 14px; }
.da-cat-circle { background: #edf6ff; border-color: #d4e8fc; }
.da-grid { align-items: stretch; grid-auto-rows: 1fr; }
.da-ad-card { min-width: 0; height: 100%; border-color: #dbeafe; }
.da-ad-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #eaf4ff; }
.da-ad-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 3em; overflow-wrap: anywhere; }
.da-ad-meta { min-height: 2.7em; overflow-wrap: anywhere; }
.da-ad-body { min-height: 184px; gap: 10px; }
.da-ad-price { color: #075dcc; }
.da-ad-foot { margin-top: auto; }
.da-single-card { border-color: #dbeafe; }
.da-spec-table tr:nth-child(even) td { background: #f7fbff; }
.da-pkg-card { background: #fff; border-color: #d6e8fb; }
.da-pkg-card.selected { background: #eff6ff; }
.da-footer { background: #064e3b; }
.da-empty-state { grid-column: 1 / -1; padding: 34px 20px; border: 1px dashed #93c5fd; border-radius: 14px; background: #f8fbff; text-align: center; color: #475569; }
.da-pin-badge { display: inline-flex; gap: 5px; align-items: center; color: #1d4ed8; font-size: 12px; font-weight: 700; }
.da-ad-image-placeholder { width: 100%; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; color: #6b8ab2; background: linear-gradient(135deg,#eff6ff,#dbeafe); }
.da-post-form-intro { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px; padding: 11px 13px; font-size: 13px; color: #1e3a5f; }
.da-required { color: #b91c1c; }
.da-muted-note { color: #64748b; font-size: 12px; }
.da-package-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:22px 0 10px; }
.da-plan-card { background:#fff; border:1px solid #dbeafe; border-radius:14px; padding:18px; text-align:center; box-shadow:0 3px 10px rgba(30,64,175,.04); }
.da-plan-card h3 { color:#123b70; font-size:16px; margin-bottom:5px; }
.da-plan-card .price { color:#1d4ed8; font-size:24px; font-weight:800; }
.da-plan-card p { font-size:13px; color:#64748b; margin-top:4px; }
.da-plan-note { color:#526781; font-size:12px; background:#f8fbff; border-left:3px solid #60a5fa; border-radius:5px; padding:10px 12px; }
.da-account-tools { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.da-account-tools a { text-decoration:none; }
.da-modal-card input:focus, .da-modal-card select:focus, .da-modal-card textarea:focus { outline:2px solid #93c5fd; outline-offset:1px; border-color:#60a5fa; }
@media (max-width: 720px) {
  .da-header-wrap { align-items:flex-start; }
  .da-nav-actions { width:100%; }
  .da-nav-actions .da-btn { flex:1; justify-content:center; }
  .da-search-row { grid-template-columns:1fr; }
  .da-package-grid { grid-template-columns:1fr; }
  .da-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .da-ad-img, .da-ad-image-placeholder { aspect-ratio:4/3; }
  .da-ad-body { min-height:176px; padding:10px; }
}
@media (max-width: 440px) {
  .da-container { padding:0 12px; }
  .da-header-wrap { padding:10px 12px; }
  .da-brand { font-size:20px; }
  .da-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .da-ad-title { font-size:13px; }
  .da-ad-price { font-size:15px; }
  .da-ad-meta { font-size:11px; }
  .da-ad-foot { flex-wrap:wrap; }
  .da-ad-foot .da-btn-sm { flex:1; justify-content:center; }
  .da-modal-card { padding:15px; }
}

.da-logo-icon { width:38px; height:38px; border-radius:11px; display:inline-flex; align-items:center; justify-content:center; background:#2563eb; color:#fff; font-size:20px; flex:0 0 auto; }
.da-header-wrap > nav { margin-left:auto; }
.da-wp-nav a { color:#173b69; }
.da-search-heading { margin-bottom:14px; }
.da-search-heading h1 { font-size:25px; line-height:1.2; font-weight:800; color:#102f59; }
.da-search-heading p { color:#64748b; font-size:13.5px; margin-top:5px; }
.da-search-row { grid-template-columns:minmax(140px,1fr) minmax(200px,2fr) auto auto; }
.da-section-title { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; margin:22px 0 12px; }
.da-section-title h2 { color:#102f59; font-size:20px; font-weight:800; }
.da-listings-section { margin-top:10px; }
.da-cats-section { margin:4px 0 12px; }
.da-cats-bar { justify-content:flex-start; gap:8px; overflow-x:auto; padding:2px 1px 7px; }
.da-cat-item { flex:0 0 82px; border:0; background:transparent; font:inherit; }
.da-cat-item:focus-visible, .da-btn:focus-visible, .da-btn-sm:focus-visible { outline:3px solid #93c5fd; outline-offset:2px; }
.da-dash-head { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
.da-dash-head strong { font-size:17px; color:#123b70; }
.da-dash-content { font-size:13.5px; margin-top:13px; }
.da-dash-row { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; flex-wrap:wrap; padding:11px 12px; margin-bottom:7px; border:1px solid #dbeafe; border-radius:9px; background:#fff; }
.da-dash-row a { color:#1d4ed8; font-weight:700; text-decoration:none; }
.da-dash-row small { display:block; color:#64748b; margin-top:4px; }
.da-status { display:inline-flex; padding:3px 8px; border-radius:999px; font-size:11px; font-weight:800; white-space:nowrap; }
.da-status.published { background:#dcfce7; color:#166534; }
.da-status.pending { background:#fef3c7; color:#92400e; }
.da-message-row { padding:12px; margin-bottom:8px; background:#fff; border:1px solid #dbeafe; border-radius:10px; }
.da-message-row p { margin-top:6px; overflow-wrap:anywhere; }
.da-message-meta { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.da-message-meta span { color:#64748b; font-size:12px; }
.da-modal-title-row { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:14px; font-size:16px; }
.da-modal-title-row .da-close-modal { background:transparent; border:0; font-size:24px; cursor:pointer; color:#64748b; }
.da-post-modal-card { max-width:760px; }
.da-post-modal-card form { display:flex; flex-direction:column; gap:12px; }
.da-full-btn { width:100%; justify-content:center; margin-top:10px; }
.da-terms-label { display:flex; gap:9px; align-items:flex-start; margin:14px 0; font-size:13px; cursor:pointer; }
.da-hide-phone-label { background:#f8fbff; border:1px solid #dbeafe; border-radius:9px; padding:11px; }
.da-filter-actions { display:flex; align-items:end; }
.da-single-layout { align-items:start; }
.da-single-main h1 { font-size:25px; line-height:1.25; margin:8px 0; color:#102f59; }
.da-single-main h2, .da-single-side h2 { margin:20px 0 9px; font-size:17px; color:#123b70; }
.da-single-image { display:block; width:100%; aspect-ratio:4/3; object-fit:contain; background:#f1f7ff; border-radius:10px; margin:16px 0; }
.da-single-image-placeholder { border-radius:10px; margin:16px 0; }
.da-ad-category-label { text-transform:uppercase; letter-spacing:.06em; color:#2563eb; font-size:12px; font-weight:800; }
.da-single-price { color:#075dcc; font-size:28px; font-weight:800; margin:4px 0 10px; }
.da-single-location { display:flex; gap:8px; flex-wrap:wrap; align-items:center; color:#526781; margin-bottom:12px; }
.da-ad-description { white-space:pre-wrap; overflow-wrap:anywhere; color:#334155; line-height:1.8; }
.da-seller-name { font-weight:800; font-size:16px; }
.da-hidden-phone { color:#64748b; font-size:13px; }
.da-footer-wrap { max-width:1280px; margin:0 auto; display:grid; grid-template-columns:1fr auto; gap:14px 25px; align-items:center; }
.da-footer-brand { color:#fff; font-size:21px; font-weight:800; }
.da-footer-wrap p { margin-top:5px; font-size:12px; }
.da-footer-links { display:flex; flex-wrap:wrap; gap:17px; }
.da-footer-links a { color:#dbeafe; text-decoration:none; font-size:13px; }
.da-footer-links a:hover { color:#fff; text-decoration:underline; }
.da-footer-note { grid-column:1/-1; color:#93c5fd; border-top:1px solid rgba(219,234,254,.2); padding-top:12px; }
@media (max-width: 960px) {
  .da-header-wrap > nav { margin-left:0; }
  .da-header-wrap { justify-content:flex-start; }
  .da-search-row { grid-template-columns:1fr 2fr; }
  .da-search-row > button { justify-content:center; }
  .da-footer-wrap { grid-template-columns:1fr; }
}
@media (max-width: 560px) {
  .da-search-row { grid-template-columns:1fr; }
  .da-search-heading h1 { font-size:22px; }
  .da-cats-bar { justify-content:flex-start; }
  .da-account-tools .da-btn-sm { flex:1 1 auto; justify-content:center; }
  .da-single-layout { padding:0 12px; }
  .da-single-card { padding:15px; }
  .da-single-main h1 { font-size:21px; }
  .da-footer-links { gap:12px; }
}
.da-custom-logo { display:block; max-width:150px; max-height:44px; width:auto; height:auto; }
.da-message-actions { display:flex; justify-content:flex-end; margin-top:10px; }


/* DealsAgent v5.0.0 launch mode: OLX-like search, auth modals, sample tags */
.da-olx-search-row { grid-template-columns: minmax(150px,1.15fr) minmax(155px,1fr) minmax(120px,.8fr) minmax(200px,1.7fr) auto auto; }
.da-search-row .da-input-wrap { min-width:0; }
.da-search-row select, .da-search-row input { min-width:0; width:100%; }
.da-promo-link { max-width:1280px; margin:16px auto; padding:0 20px; }
.da-promo-link a { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:15px 18px; border:1px solid #bfdbfe; border-radius:13px; background:#eef6ff; color:#174a86; font-weight:700; text-decoration:none; }
.da-promo-link a:hover { background:#dbeafe; }
.da-sample-badge { position:absolute; z-index:2; top:10px; left:10px; border-radius:5px; padding:4px 7px; font-size:10px; letter-spacing:.5px; font-weight:800; color:#fff; background:#64748b; }
.da-ad-sample { border-style:dashed; }
.da-auth-card { max-width:500px; }
.da-auth-form { display:grid; gap:13px; margin-top:15px; }
.da-auth-switch { text-align:center; color:#64748b; font-size:13px; }
.da-auth-switch a { color:#1d4ed8; }
.da-link-button { border:0; background:transparent; color:#1d4ed8; text-decoration:underline; cursor:pointer; font:inherit; font-weight:700; }
.da-honeypot { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important; }
.da-auth-accept { align-items:flex-start; line-height:1.65; }
.da-auth-accept a { color:#1d4ed8; font-weight:700; }
.da-footer-note { line-height:1.7; max-width:880px; }
@media (max-width:1100px) { .da-olx-search-row { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:720px) { .da-olx-search-row { grid-template-columns:1fr; } .da-search-row > button { width:100%; justify-content:center; } }

.da-footer-links button { border:0; background:transparent; color:#dbeafe; text-decoration:none; font:inherit; font-size:13px; cursor:pointer; padding:0; }
.da-footer-links button:hover { color:#fff; text-decoration:underline; }

.da-content-page { max-width:1000px; padding-top:24px; padding-bottom:24px; }
.da-policy-page { padding:clamp(20px,4vw,42px); }
.da-policy-page h1 { margin-bottom:20px; color:#123b70; }
.da-page-content { line-height:1.8; overflow-wrap:anywhere; }
.da-page-content h2 { margin:22px 0 8px; }
.da-page-content p { margin:0 0 12px; }
.da-policy-back { margin-top:24px; }
.da-single-page-wrap { padding-top:20px; padding-bottom:20px; }
.da-sample-badge-inline { position:static; display:inline-block; margin-top:12px; }
.da-sample-disclaimer { background:#f1f5f9; padding:10px; border-radius:8px; margin-top:14px; font-size:12px; color:#475569; }

/* DealsAgent logo and OLX-style primary search */
.da-default-logo { display:block; width:clamp(175px, 19vw, 240px); height:auto; max-height:68px; object-fit:contain; }
.da-custom-logo { max-width:240px; max-height:68px; width:auto; height:auto; object-fit:contain; }
.da-olx-search-row { grid-template-columns:minmax(145px,1.05fr) minmax(140px,.95fr) minmax(145px,1fr) minmax(200px,1.5fr) auto auto; }
.da-olx-search-row select, .da-olx-search-row input { min-width:0; width:100%; }
@media(max-width:1050px){ .da-olx-search-row { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:720px){ .da-olx-search-row { grid-template-columns:1fr; } .da-default-logo { max-width:190px; max-height:54px; } }

/* DealsAgent v5.0.5 share and notification refinements */
.da-header { background:var(--da-header-bg, #064e3b) !important; color:#fff; border-bottom:1px solid rgba(255,255,255,.15); }
.da-header-wrap > nav a, .da-wp-nav a { color:#fff !important; }
.da-brand { background:transparent; border-radius:8px; padding:2px 4px; }
.da-nav-actions .da-btn-light { color:#064e3b; background:#fff; border-color:#d1fae5; }
.da-icon-nav { display:inline-flex; align-items:center; gap:4px; justify-content:center; color:#fff; text-decoration:none; padding:7px 8px; border:1px solid rgba(255,255,255,.25); border-radius:9px; min-width:36px; }

.da-cat-item { border-radius:12px; padding:7px 4px; transition:background .18s ease, box-shadow .18s ease; }
.da-cat-item:hover, .da-cat-item:focus-visible, .da-cat-item.active { background:#e8f2ff; box-shadow:0 4px 13px rgba(37,99,235,.13); }
.da-cat-circle { width:50px; height:50px; border-radius:13px; background:#e6f1ff; border:1px solid #bfdcff; font-size:23px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.65); }
.da-cat-item:hover .da-cat-circle, .da-cat-item.active .da-cat-circle { background:#2563eb; color:#fff; transform:translateY(-2px) scale(1.04); }
.da-password-wrap { display:flex; align-items:stretch; gap:6px; }
.da-password-wrap input { flex:1; min-width:0; }
.da-password-toggle { border:1px solid #cbd5e1; border-radius:8px; background:#eff6ff; color:#1d4ed8; padding:0 12px; cursor:pointer; font-weight:700; }
.da-social-links { display:flex; gap:9px; margin-top:10px; }
.da-social-links a { width:32px; height:32px; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; background:rgba(255,255,255,.12); color:#fff; text-decoration:none; }
.da-social-links a:hover { background:#2563eb; }
.da-photo-gallery { display:flex; gap:8px; overflow-x:auto; margin:10px 0 16px; }
.da-photo-gallery img { width:100px; height:80px; object-fit:cover; border:1px solid #dbeafe; border-radius:8px; }
.da-single-share-wrap { margin-top:26px; padding:18px; border:1px solid #dbe5f0; border-radius:14px; background:#f8fbff; }
.da-single-share-wrap > strong { display:block; margin-bottom:12px; color:#173b69; font-size:16px; }
.da-single-share { display:flex; align-items:stretch; flex-wrap:wrap; gap:10px; margin-top:0; }
.da-single-share a, .da-single-share button { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 12px; border:1px solid #d7e2ef; border-radius:10px; background:#fff; color:#173b69; font:inherit; font-size:14px; text-decoration:none; cursor:pointer; }
.da-single-share a i, .da-single-share button i { font-size:19px; }
.da-single-share a:hover, .da-single-share button:hover { border-color:#60a5fa; background:#eaf3ff; color:#1d4ed8; }
.da-single-share .da-share-whatsapp:hover { color:#16803d; }
@media print { .da-header, .da-footer, .da-single-side, .da-single-share-wrap, .da-btn-sm { display:none !important; } .da-single-layout { display:block; } .da-single-card { box-shadow:none; border:0; } }
@media(max-width:760px) { .da-icon-nav { padding:6px; min-width:31px; } .da-header-wrap > nav { color:#fff; } }


/* DealsAgent v5.0.6: compact cards, branded footer, contact form, detail highlights */
.da-grid { gap: 10px; }
.da-ad-card { border-radius: 9px; }
.da-ad-img, .da-ad-image-placeholder { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
.da-ad-body { min-height:0; padding:9px 10px; gap:7px; }
.da-ad-title { min-height:0; line-height:1.35; font-size:14px; -webkit-line-clamp:2; }
.da-ad-price { font-size:16px; line-height:1.25; margin-bottom:3px; }
.da-ad-meta { min-height:0; line-height:1.35; font-size:11px; }
.da-ad-foot { gap:6px; margin-top:8px; }
.da-ad-foot .da-btn-sm { padding:6px 8px; font-size:11px; }
.da-container { margin-top:14px; }
.da-footer { margin-top:24px; padding-top:26px; padding-bottom:26px; }
.da-footer-brand-link { display:inline-flex; align-items:center; text-decoration:none; background:#fff; padding:5px 8px; border-radius:10px; max-width:100%; }
.da-footer-logo { display:block; width:min(100%,270px); height:auto; max-height:82px; object-fit:contain; object-position:left center; }
.da-footer-tagline { color:#dbeafe; font-size:13px !important; line-height:1.5; max-width:330px; }
.da-single-title-price { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin:8px 0 12px; }
.da-single-title-price h1 { flex:1; min-width:0; margin:0; overflow-wrap:anywhere; font-size:clamp(20px,2.3vw,30px); line-height:1.25; }
.da-single-title-price .da-single-price { flex:0 0 auto; text-align:right; white-space:nowrap; margin:0; font-size:clamp(20px,2vw,28px); }
.da-single-image { width:100%; aspect-ratio:4/3; height:auto; max-height:560px; object-fit:cover; background:#eef5ff; }
.da-photo-gallery { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; overflow:visible; }
.da-photo-gallery img { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
.da-spec-table td { padding:10px 12px; }
.da-spec-value { display:inline-block; padding:4px 9px; border-radius:6px; background:#e8f2ff; color:#124c9c; border:1px solid #c6ddff; font-weight:750; }
.da-related-section { margin:20px 0 8px; padding:16px; background:#fff; border:1px solid #dbeafe; border-radius:14px; }
.da-related-heading { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:12px; }
.da-related-heading h2 { color:#123b70; font-size:18px; margin:0; }
.da-related-heading span { color:#64748b; font-size:12px; }
.da-related-track { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; padding:2px 2px 10px; }
.da-related-card { flex:0 0 190px; width:190px; min-width:0; overflow:hidden; border:1px solid #dbe5f0; border-radius:10px; background:#fff; scroll-snap-align:start; }
.da-related-image-link { display:block; }
.da-related-image-link img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; background:#eff6ff; }
.da-related-card-body { display:grid; gap:5px; padding:9px; }
.da-related-title { color:#102f59; font-size:13px; font-weight:750; line-height:1.35; text-decoration:none; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.da-related-card-body strong { color:#075dcc; font-size:15px; }
.da-related-card-body small { color:#64748b; font-size:11px; }
.da-contact-card { max-width:560px; }
.da-contact-intro { color:#526781; font-size:13px; margin:10px 0 14px; }
.da-contact-form { display:grid; gap:12px; }
.da-contact-form label { display:grid; gap:6px; color:#173b69; font-size:13px; font-weight:700; }
.da-contact-form input, .da-contact-form select, .da-contact-form textarea { width:100%; min-width:0; padding:11px 12px; border:1px solid #cbd5e1; border-radius:9px; color:#0f172a; background:#fff; font:inherit; font-weight:400; }
.da-contact-form input:focus, .da-contact-form select:focus, .da-contact-form textarea:focus { outline:2px solid #93c5fd; outline-offset:1px; border-color:#60a5fa; }
.da-contact-privacy { color:#64748b; font-size:11px; text-align:center; }
.da-contact-success { margin:10px 0; padding:10px 12px; border-radius:8px; background:#ecfdf5; color:#166534; border:1px solid #bbf7d0; }
.da-contact-error { margin:10px 0; padding:10px 12px; border-radius:8px; background:#fff1f2; color:#9f1239; border:1px solid #fecdd3; }
@media(max-width:760px) {
  .da-grid { gap:8px; }
  .da-ad-body { padding:8px; }
  .da-ad-foot .da-btn-sm { font-size:10px; padding:6px; }
  .da-single-title-price { gap:8px; }
  .da-single-title-price h1 { font-size:20px; }
  .da-single-title-price .da-single-price { font-size:20px; }
  .da-photo-gallery { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .da-related-section { padding:12px; }
  .da-related-card { flex-basis:155px; width:155px; }
}
@media(max-width:420px) {
  .da-single-title-price { flex-wrap:wrap; }
  .da-single-title-price .da-single-price { margin-left:auto; }
  .da-photo-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
}


/* DealsAgent v5.0.7: selectable homepage layouts and dark-green brand defaults */
:root { --da-header-bg:#064e3b; --da-green:#047857; --da-green-dark:#065f46; }
.da-header-wrap > nav a, .da-wp-nav a { color:#fff !important; }
.da-footer { background:#064e3b !important; }
.da-btn-blue { background:#047857; border-color:#047857; }
.da-btn-blue:hover { background:#065f46; border-color:#065f46; }
.da-ad-price, .da-single-price { color:#047857; }
.da-home-model-a .da-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.da-home-model-a .da-search-box { margin-bottom:14px; }
.da-home-model-b .da-container { max-width:1480px; margin-top:12px; }
.da-home-model-b .da-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:9px; }
.da-home-model-b .da-ad-body { min-height:0; padding:9px; gap:5px; }
.da-home-model-b .da-ad-title { min-height:0; font-size:13px; line-height:1.3; }
.da-home-model-b .da-ad-meta { min-height:0; font-size:11px; line-height:1.3; }
.da-home-model-b .da-search-box { padding:12px; margin-bottom:10px; }
.da-home-model-b .da-cats-section { margin-bottom:8px; }
.da-home-model-c .da-search-box { border:1px solid #a7f3d0; background:linear-gradient(135deg,#f0fdf4,#fff 72%); padding:22px; box-shadow:0 8px 25px rgba(6,78,59,.08); }
.da-home-model-c .da-search-heading { text-align:center; }
.da-home-model-c .da-search-heading h1 { color:#064e3b; font-size:clamp(24px,3vw,36px); }
.da-home-model-c .da-search-row { gap:10px; }
.da-home-model-c .da-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.da-home-model-c .da-cats-section { margin-top:16px; }
@media(max-width:1150px) { .da-home-model-a .da-grid,.da-home-model-c .da-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .da-home-model-b .da-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:760px) { .da-home-model-a .da-grid,.da-home-model-b .da-grid,.da-home-model-c .da-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .da-home-model-c .da-search-box { padding:12px; } }
@media(max-width:420px) { .da-home-model-a .da-grid,.da-home-model-b .da-grid,.da-home-model-c .da-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; } }
