/* ==========================================================================
   CITYSCAPE REAL ESTATE — BUY PAGE STYLES
   Hero listing slider, filter pills, architectural property cards, buyer guidance.
   ========================================================================== */

/* Hero buttons */
[data-screen-label="Buy · Hero"] button {
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out) !important;
}
[data-screen-label="Buy · Hero"] button:hover {
  opacity: 1 !important;
  transform: translateY(-2px);
}

/* Filter pills */
[role="group"][aria-label="Filter listings"] button {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-eyebrow) !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  padding: 10px 22px !important;
  border-radius: 100px !important;
  border: 1px solid var(--ink) !important;
  transition: all var(--dur-fast) ease !important;
}
[role="group"][aria-label="Filter listings"] button:hover:not([aria-pressed="true"]) {
  background: rgba(10, 10, 10, 0.08) !important;
  color: var(--ink) !important;
}
[role="group"][aria-label="Filter listings"] button[aria-pressed="true"] {
  background: var(--ink) !important;
  color: var(--paper) !important;
  box-shadow: 0 4px 16px rgba(10, 10, 10, 0.15) !important;
}

/* Property Cards */
[data-screen-label="Buy · Listings"] article {
  border: 1px solid var(--line) !important;
  border-radius: 4px !important;
  padding: clamp(16px, 2vw, 24px) !important;
  background: var(--paper) !important;
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.03) !important;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur-fast) ease !important;
}
[data-screen-label="Buy · Listings"] article:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 48px rgba(10, 10, 10, 0.08) !important;
  border-color: rgba(197, 160, 89, 0.45) !important;
}

/* Card images */
[data-screen-label="Buy · Listings"] article > div:first-child {
  border-radius: 2px !important;
  overflow: hidden !important;
}
[data-screen-label="Buy · Listings"] article:hover img {
  transform: scale(1.045) !important;
}

/* Card typography & specs */
[data-screen-label="Buy · Listings"] article h2 {
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  font-size: clamp(24px, 2.2vw, 36px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  transition: color var(--dur-fast) ease !important;
}
[data-screen-label="Buy · Listings"] article:hover h2 {
  color: var(--gold-deep) !important;
}

/* Buyer guidance items */
[data-screen-label="Buy · Guidance"] ol li {
  transition: transform var(--dur-fast) ease, color var(--dur-fast) ease !important;
}
[data-screen-label="Buy · Guidance"] ol li:hover {
  transform: translateX(6px) !important;
}
[data-screen-label="Buy · Guidance"] ol li:hover h3 {
  color: var(--gold-deep) !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  [data-screen-label="Buy · Hero"] div[data-reveal="420"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5vh 3vw !important;
    bottom: 3vh !important;
  }
  [data-screen-label="Buy · Hero"] button span:nth-child(3) {
    font-size: 15px !important;
  }
}
