/*
Theme Name: Bennett Pros BB Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: Beaver Builder child theme that has RealtyPress and other overrides
Author: J Greco
Author URI: http://jeffpgreco.com
template: bb-theme
*/

/* Add your custom styles here... */ 

/* ==========================================================================
   RealtyPress Luxury / Minimal Skin (scoped)
   - Calm borders, low shadow, editorial type hierarchy
   - Uses your accent #A78B43 sparingly
   ========================================================================== */

.bootstrap-realtypress {
  /* Brand */
  --rps-accent: #A78B43;

  /* Surfaces */
  --rps-bg: #ffffff;
  --rps-card: #ffffff;

  /* Ink (slightly warm charcoal reads “luxury”) */
  --rps-ink: #111827;
  --rps-ink-soft: #374151;
  --rps-muted: #6b7280;

  /* Lines (very subtle) */
  --rps-line: rgba(17, 24, 39, 0.10);
  --rps-line-strong: rgba(17, 24, 39, 0.16);

  /* Geometry */
  --rps-radius: 18px;
  --rps-radius-sm: 12px;

  /* Shadow (barely there) */
  --rps-shadow-sm: 0 10px 26px rgba(17, 24, 39, 0.06);
  --rps-shadow: 0 18px 46px rgba(17, 24, 39, 0.09);

  /* Spacing rhythm */
  --rps-pad: 16px;

  color: var(--rps-ink);
}

/* Optional: set a more “editorial” font if your theme loads it
.bootstrap-realtypress { font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.bootstrap-realtypress h1, .bootstrap-realtypress h3 { font-family: "Playfair Display", Georgia, serif; }
*/

.bootstrap-realtypress a { color: inherit; }
.bootstrap-realtypress a:hover { color: var(--rps-accent); text-decoration: none; }

.bootstrap-realtypress .text-muted,
.bootstrap-realtypress small,
.bootstrap-realtypress .help-block { color: var(--rps-muted) !important; }

/* Kill “bootstrapy” boxes */
.bootstrap-realtypress .panel,
.bootstrap-realtypress .well {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Inputs: clean, minimal */
.bootstrap-realtypress .form-control {
  border-radius: 14px;
  border: 1px solid var(--rps-line);
  box-shadow: none !important;
  height: 44px;
  background: #fff;
}
.bootstrap-realtypress .form-control:focus {
  border-color: rgba(167, 139, 67, 0.45);
  box-shadow: 0 0 0 4px rgba(167, 139, 67, 0.14) !important;
}

/* Buttons: minimal + premium (accent used sparingly) */
.bootstrap-realtypress .btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 10px 14px;
  border: 1px solid var(--rps-line);
  background: transparent;
}
.bootstrap-realtypress .btn:hover {
  border-color: var(--rps-line-strong);
  background: rgba(17, 24, 39, 0.02);
}
.bootstrap-realtypress .btn-primary {
  background: var(--rps-accent) !important;
  border-color: var(--rps-accent) !important;
  color: #fff !important;
}
.bootstrap-realtypress .btn-primary:hover { filter: brightness(0.97); }

/* ==========================================================================
   RESULTS TOOLBAR (archive)
   ========================================================================== */

.bootstrap-realtypress .result-header {
  background: var(--rps-card) !important;
  border: 1px solid var(--rps-line) !important;
  border-radius: var(--rps-radius) !important;
  padding: 14px var(--rps-pad) !important;
  margin-bottom: 18px !important;
  box-shadow: var(--rps-shadow-sm);
}

.bootstrap-realtypress .rps-result-count {
  font-weight: 700 !important;
  color: var(--rps-muted) !important;
}

/* View toggles: understated pills */
.bootstrap-realtypress .rps-toolbar-btn-lg,
.bootstrap-realtypress .rps-toolbar-btn-sm {
  border-radius: 999px !important;
  border: 1px solid var(--rps-line) !important;
  background: transparent !important;
  transition: transform .14s ease, background .14s ease, border-color .14s ease;
}
.bootstrap-realtypress .rps-toolbar-btn-lg:hover,
.bootstrap-realtypress .rps-toolbar-btn-sm:hover {
  transform: translateY(-1px);
  border-color: var(--rps-line-strong) !important;
  background: rgba(17, 24, 39, 0.02) !important;
}
.bootstrap-realtypress .rps-toolbar-btn-lg.active,
.bootstrap-realtypress .rps-toolbar-btn-sm.active {
  background: rgba(167, 139, 67, 0.10) !important;
  border-color: rgba(167, 139, 67, 0.30) !important;
  color: var(--rps-accent) !important;
}

/* ==========================================================================
   RESULT CARDS (grid + list)
   ========================================================================== */

.bootstrap-realtypress .rps-result .rps-property-result {
  background: var(--rps-card) !important;
  border: 1px solid var(--rps-line) !important;
  border-radius: var(--rps-radius) !important;
  overflow: hidden;
  box-shadow: var(--rps-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bootstrap-realtypress .rps-result .rps-property-result:hover {
  transform: translateY(-2px);
  box-shadow: var(--rps-shadow);
  border-color: var(--rps-line-strong) !important;
}

/* Images: cinematic crop */
.bootstrap-realtypress .image-holder { position: relative; overflow: hidden; }
.bootstrap-realtypress .image-holder figure { margin: 0; }
.bootstrap-realtypress .image-holder figure > a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.bootstrap-realtypress .image-holder img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  transform: scale(1.01);
}

/* Price: minimal plaque (not loud) */
.bootstrap-realtypress .image-holder .rps-price,
.bootstrap-realtypress .image-holder .rps-price-default {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 4;
  background: rgba(17, 24, 39, 0.70);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}

/* Ribbons: keep meaning, reduce “sticker” feel */
.bootstrap-realtypress .rps-ribbon {
  border-radius: 999px !important;
  padding: 7px 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase;
  font-size: 11px !important;
  opacity: 0.95;
}

/* Content spacing + type */
.bootstrap-realtypress .rps-grid-result .rps-property-result .rps-property-info,
.bootstrap-realtypress .rps-list-result .rps-property-result .rps-property-info {
  background: transparent !important;
  border: 0 !important;
  padding: 14px var(--rps-pad) 16px var(--rps-pad) !important;
}

.bootstrap-realtypress .rps-property-info h4 {
  color: var(--rps-ink) !important;
  font-weight: 850 !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  margin: 0 0 6px 0 !important;
}
.bootstrap-realtypress .city-province-postalcode {
  margin: 0 0 10px 0 !important;
  color: var(--rps-muted) !important;
  font-size: 13px !important;
}

/* Features: subtle chips */
.bootstrap-realtypress .rps-result-feature-label-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--rps-line);
  background: rgba(17, 24, 39, 0.02);
  color: var(--rps-ink-soft);
  font-weight: 750;
  font-size: 12px;
  margin: 0 6px 6px 0;
}

/* List view cleanup */
.bootstrap-realtypress .rps-property-description {
  color: var(--rps-muted) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

/* ==========================================================================
   PAGINATION (clean pills)
   ========================================================================== */

.bootstrap-realtypress .pagination > li > a,
.bootstrap-realtypress .pagination > li > span {
  border: 1px solid var(--rps-line) !important;
  border-radius: 999px !important;
  margin: 0 6px !important;
  padding: 9px 13px !important;
  color: var(--rps-ink) !important;
  background: var(--rps-card) !important;
  font-weight: 800;
}
.bootstrap-realtypress .pagination > li.active > span,
.bootstrap-realtypress .pagination > li.active > a {
  background: rgba(167, 139, 67, 0.10) !important;
  border-color: rgba(167, 139, 67, 0.34) !important;
  color: var(--rps-accent) !important;
}

/* ==========================================================================
   SINGLE LISTING
   ========================================================================== */

.bootstrap-realtypress .rps-single-listing { margin: 18px 0 !important; }

/* Breadcrumb minimal */
.bootstrap-realtypress .breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 0 14px 0 !important;
}
.bootstrap-realtypress .breadcrumb a {
  font-weight: 800;
  color: var(--rps-muted);
}
.bootstrap-realtypress .breadcrumb a:hover { color: var(--rps-accent); }

/* Title: editorial hierarchy */
.bootstrap-realtypress .rps-single-listing h1 {
  font-weight: 950;
  letter-spacing: -0.03em;
  margin-top: 4px;
}
.bootstrap-realtypress .rps-single-listing h1 small {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--rps-muted) !important;
  margin-top: 8px;
}

/* Photo slider container: remove dated frames */
.bootstrap-realtypress .rps-property-photo-row .bx-wrapper,
.bootstrap-realtypress .rps-property-photo-row .bx-viewport {
  border: 0 !important;
  box-shadow: none !important;
}
.bootstrap-realtypress .rps-property-photo-row .bx-viewport {
  border-radius: var(--rps-radius) !important;
  overflow: hidden !important;
  border: 1px solid var(--rps-line) !important;
}

/* Price: confident, not shouty */
.bootstrap-realtypress .rps-pricing {
  font-weight: 950;
  letter-spacing: -0.02em;
  margin: 12px 0 10px 0;
}

/* Section titles */
.bootstrap-realtypress .rps-single-listing h3 {
  margin-top: 26px;
  margin-bottom: 12px;
  font-weight: 900;
  letter-spacing: -0.015em;
}

/* Tables become “linen cards” */
.bootstrap-realtypress .rps-single-listing table.table {
  background: var(--rps-card) !important;
  border: 1px solid var(--rps-line) !important;
  border-radius: var(--rps-radius) !important;
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  box-shadow: var(--rps-shadow-sm);
}
.bootstrap-realtypress .rps-single-listing .table > tbody > tr > td {
  border-top: 1px solid var(--rps-line) !important;
  padding: 12px 14px !important;
  vertical-align: middle !important;
}
.bootstrap-realtypress .rps-single-listing .table > tbody > tr:first-child > td { border-top: 0 !important; }
.bootstrap-realtypress .rps-single-listing .table-hover > tbody > tr:hover {
  background: rgba(17, 24, 39, 0.02) !important;
}

/* Feature chips on single */
.bootstrap-realtypress .rps-single-feature-label,
.bootstrap-realtypress .rps-single-feature-label-sm {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--rps-line);
  background: rgba(17, 24, 39, 0.02);
  font-weight: 850;
  font-size: 12px;
  color: var(--rps-ink-soft);
  margin: 0 8px 8px 0;
}

/* Contact + agent blocks: minimal cards */
.bootstrap-realtypress .rps-contact-form-wrap-h,
.bootstrap-realtypress .rps-contact-form-wrap-v,
.bootstrap-realtypress .rps-agent-details {
  background: var(--rps-card) !important;
  border: 1px solid var(--rps-line) !important;
  border-radius: var(--rps-radius) !important;
  padding: 14px var(--rps-pad) !important;
  box-shadow: var(--rps-shadow-sm);
}

/* Mobile */
@media (max-width: 767px) {
  .bootstrap-realtypress .result-header { padding: 12px !important; }
  .bootstrap-realtypress .image-holder figure > a { aspect-ratio: 16 / 10; }
  .bootstrap-realtypress .rps-property-info { padding: 12px 12px 14px 12px !important; }
}