/* =====================================================================
   POCLANE — "Find Dealers Nearby" page styles
   Scoped under #poc to match the modern theme and reuse its CSS variables.
   ===================================================================== */

/* ---- Hero ---- */
#poc .poc-dealer-hero {
  background: linear-gradient(180deg, #d8eef0 0%, #f0f7f8 60%, var(--bg) 100%);
  padding: 120px 24px 56px; text-align: center; margin-top: 64px;
}
#poc .poc-dealer-hero .poc-eyebrow { justify-content: center; }
#poc .poc-dealer-title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(36px, 5.4vw, 68px); letter-spacing: -0.03em;
  line-height: 1.04; color: var(--ink);
}
#poc .poc-dealer-lead {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(16px, 1.6vw, 21px); color: var(--ink-dim);
  margin: 14px auto 0; max-width: 620px; line-height: 1.5;
}

/* ---- Search / filter tools ---- */
#poc .poc-dealer-tools {
  max-width: 860px; margin: -28px auto 0; padding: 0 20px; position: relative; z-index: 2;
}
#poc .poc-dealer-toolcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(0,0,0,0.10);
  padding: 22px; display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 14px;
}
#poc .poc-dealer-field { display: flex; flex-direction: column; gap: 7px; }
#poc .poc-dealer-field label {
  font-family: var(--f-display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink-mute);
}
#poc .poc-dealer-field select,
#poc .poc-dealer-field input {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-strong);
  border-radius: 12px; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; transition: border-color .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
#poc .poc-dealer-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e6e73' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
#poc .poc-dealer-field select:focus,
#poc .poc-dealer-field input:focus { outline: none; border-color: var(--teal); background: #fff; }

/* ---- Results header ---- */
#poc .poc-dealer-results { max-width: 1180px; margin: 0 auto; padding: 40px 24px 90px; }
#poc .poc-dealer-count {
  font-family: var(--f-display); font-size: 15px; font-weight: 600;
  color: var(--ink-mute); margin-bottom: 22px; text-align: center;
}
#poc .poc-dealer-count strong { color: var(--teal-deep); }

/* ---- Grid + cards ---- */
#poc .poc-dealer-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px;
}
#poc .poc-dealer-card {
  background: var(--tile-bg); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 22px; display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s;
}
#poc .poc-dealer-card:hover {
  transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.10);
  border-color: rgba(26,166,171,0.45);
}
#poc .poc-dealer-card.is-hidden { display: none; }

#poc .poc-dealer-cardtop {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
#poc .poc-dealer-name {
  font-family: var(--f-display); font-weight: 700; font-size: 20px;
  letter-spacing: -0.01em; color: var(--ink); line-height: 1.2;
}
#poc .poc-dealer-person { font-size: 14px; color: var(--ink-mute); margin-top: 3px; }
#poc .poc-dealer-statebadge {
  flex-shrink: 0; font-family: var(--f-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--teal-deep);
  background: rgba(26,166,171,0.12); border: 1px solid rgba(26,166,171,0.25);
  padding: 5px 10px; border-radius: 999px; line-height: 1.3; max-width: 48%; text-align: right;
}

#poc .poc-dealer-sectlbl {
  font-family: var(--f-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink-mute);
  margin: 18px 0 8px;
}
#poc .poc-dealer-areas { display: flex; flex-wrap: wrap; gap: 6px; }
#poc .poc-dealer-chip {
  font-size: 12.5px; font-weight: 500; color: var(--ink-dim);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 11px;
}
#poc .poc-dealer-addr {
  display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-dim);
  line-height: 1.5; margin-top: 14px;
}
#poc .poc-dealer-addr svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--teal); margin-top: 2px; }

/* ---- Contact action buttons ---- */
#poc .poc-dealer-actions {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px;
}
#poc .poc-dealer-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-display); font-size: 13.5px; font-weight: 600;
  padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--ink); background: #fff; transition: background .2s, color .2s, border-color .2s, transform .15s;
}
#poc .poc-dealer-btn svg { width: 15px; height: 15px; }
#poc .poc-dealer-btn:hover { transform: translateY(-1px); }
#poc .poc-dealer-btn.call { background: var(--blue); color: #fff; border-color: var(--blue); }
#poc .poc-dealer-btn.call:hover { background: var(--blue-hover); }
#poc .poc-dealer-btn.wa { background: #25d366; color: #fff; border-color: #25d366; }
#poc .poc-dealer-btn.wa:hover { background: #1fb959; }
#poc .poc-dealer-btn.map:hover, #poc .poc-dealer-btn.mail:hover { border-color: var(--teal); color: var(--teal-deep); }

/* ---- Empty state ---- */
#poc .poc-dealer-empty { display: none; text-align: center; padding: 60px 24px; }
#poc .poc-dealer-empty.show { display: block; }
#poc .poc-dealer-empty-emoji { font-size: 46px; }
#poc .poc-dealer-empty h3 {
  font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--ink); margin-top: 14px;
}
#poc .poc-dealer-empty p { color: var(--ink-mute); margin-top: 8px; font-size: 15px; }
#poc .poc-dealer-empty a { color: var(--blue); font-weight: 600; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
  #poc .poc-dealer-hero { padding: 104px 20px 52px; }
  #poc .poc-dealer-toolcard { grid-template-columns: 1fr; padding: 18px; }
  #poc .poc-dealer-grid { grid-template-columns: 1fr; }
}
