
:root {
  --ab-dark: #000000;
  --ab-black: #111815;
  --ab-slate: #16201a;
  --ab-gold: #c59b27;
  --ab-gold-bright: #d4af37;
  --ab-gold-bg: rgba(197, 155, 39, 0.08);
  --ab-white: #ffffff;
  --ab-text-dark: #000000;
  --ab-text-muted: #8c9b91;
  --ab-border: rgba(197, 155, 39, 0.3);
  --ab-border-gold: #c59b27;
  --ab-radius-sm: 6px;
  --ab-radius-md: 10px;
  --ab-radius-lg: 14px;
  --ab-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.2);
  --ab-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.3);
  --ab-shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.45);
}

/* STRICT RESPONSIVE HEADER NAVIGATION RULES */
@media (max-width: 1023px) {
  header nav,
  nav.ab-desktop-nav,
  header .ab-desktop-nav {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  header nav,
  .ab-desktop-nav {
    display: flex !important;
  }
  header div.lg\:hidden {
    display: none !important;
  }
}

/* React Mobile Dropdown Container */
header div.lg\:hidden {
  background: #000000 !important;
  border-top: 1.5px solid #c59b27 !important;
  border-bottom: 1.5px solid #c59b27 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7) !important;
  padding: 12px 16px !important;
}

header div.lg\:hidden a {
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  display: block !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

header div.lg\:hidden a:hover,
header div.lg\:hidden a[class*="text-primary"] {
  background: rgba(197, 155, 39, 0.15) !important;
  color: #c59b27 !important;
}

.ab-svg-icon {
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

/* Primary Luxury Solid Black & Gold Buttons */
.ab-btn-primary {
  background: #111815 !important;
  color: #d4af37 !important;
  border: 1.5px solid #c59b27 !important;
  padding: 10px 18px;
  border-radius: var(--ab-radius-sm);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--ab-shadow-sm);
}
.ab-btn-primary:hover {
  background: #c59b27 !important;
  color: #000000 !important;
  border-color: #c59b27 !important;
}

.ab-btn-gold {
  background: var(--ab-gold) !important;
  color: var(--ab-dark) !important;
  border: 1px solid var(--ab-gold) !important;
  padding: 10px 18px;
  border-radius: var(--ab-radius-sm);
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ab-btn-gold:hover {
  background: #b3891f !important;
  color: #ffffff !important;
}

.ab-btn-whatsapp {
  background: #16201a !important;
  color: #ffffff !important;
  border: 1px solid #c59b27 !important;
  padding: 9px 14px;
  border-radius: var(--ab-radius-sm);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ab-btn-whatsapp:hover {
  background: #111815 !important;
  border-color: #d4af37 !important;
}

.ab-btn-outline {
  background: transparent !important;
  color: var(--ab-olive) !important;
  border: 1.5px solid var(--ab-border) !important;
  padding: 9px 16px;
  border-radius: var(--ab-radius-sm);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ab-btn-outline:hover {
  border-color: var(--ab-gold) !important;
  color: var(--ab-gold) !important;
}

/* Property Cards */
.ab-property-card {
  background: var(--ab-white);
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--ab-shadow-sm);
  transition: all 0.25s ease;
}
.ab-property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ab-shadow-lg);
  border-color: var(--ab-gold);
}
.ab-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f1712;
}
.ab-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ab-property-card:hover .ab-card-image-wrap img {
  transform: scale(1.05);
}
.ab-card-overlay-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.ab-badge-verified {
  background: var(--ab-olive);
  color: var(--ab-gold-bright);
  border: 1px solid var(--ab-gold);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ab-badge-score {
  background: var(--ab-gold);
  color: var(--ab-dark);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 4px;
}
.ab-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ab-card-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--ab-olive);
  margin-bottom: 4px;
}
.ab-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ab-text-dark);
  margin: 0 0 6px;
  line-height: 1.35;
}
.ab-card-location {
  font-size: 12px;
  color: var(--ab-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}
.ab-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.ab-badge-attribute {
  background: var(--ab-gold-bg);
  border: 1px solid var(--ab-border);
  color: var(--ab-olive);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}
.ab-card-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--ab-border);
  display: flex;
  gap: 8px;
  background: var(--ab-sand);
}

/* Quick Action Cards */
.ab-quick-action-card {
  background: var(--ab-white);
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ab-olive);
  transition: all 0.2s ease;
  box-shadow: var(--ab-shadow-sm);
}
.ab-quick-action-card:hover {
  transform: translateY(-2px);
  border-color: var(--ab-gold);
  box-shadow: var(--ab-shadow-md);
}
.ab-quick-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--ab-gold-bg);
  border: 1px solid var(--ab-border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ab-gold);
  flex-shrink: 0;
}

/* Sticky Mobile Bar */
.ab-mobile-bar {
  display: none;
}
@media (max-width: 768px) {
  .ab-mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--ab-dark);
    border-top: 1px solid var(--ab-border-gold);
    z-index: 99999;
    align-items: center;
    justify-content: space-around;
    padding: 0 4px;
  }
  .ab-mob-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #e2e8e4;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    flex: 1;
    height: 100%;
  }
  .ab-mob-item.highlight {
    color: var(--ab-gold-bright);
    font-weight: 700;
  }
}
