/* ============================
   Glyphora — Buyer Web CSS
   Figma-accurate: copper/rose-gold accent, dark theme
   ============================ */

/* ── CSS Variables ─────────────────────────────────────────────────── */
:root {
    --buyer-bg: #111827;
    --buyer-bg-darker: #0d1520;
    --buyer-bg-card: transparent;
    --buyer-accent: #d7b29d;
    --buyer-accent-hover: #c9a08a;
    --buyer-accent-dark: #b8937c;
    --buyer-text: #ffffff;
    --buyer-text-muted: #8a95a7;
    --buyer-text-nav: #97a3b4;
    --buyer-border: rgba(255,255,255,0.06);
    --buyer-border-teal: linear-gradient(90deg, #1a3a4a, #1b5e5e);
    --buyer-card-hover: #1b2740;
    --buyer-radius: 16px;
    --buyer-radius-sm: 10px;
    --buyer-radius-xs: 6px;
    --buyer-shadow: 0 4px 24px rgba(0,0,0,0.35);
    --buyer-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --buyer-stats-bg: #f5f5f0;
    --buyer-stats-text: #2d3340;
    --buyer-container: 1400px;
}

/* ── Reset & Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.buyer-body {
    font-family: var(--buyer-font);
    background: linear-gradient(78.02deg, #111827 17.51%, #03495E 100%);
    background-attachment: fixed;
    color: var(--buyer-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; display: block; }

/* ── Container ─────────────────────────────────────────────────────── */
.buyer-container {
    max-width: var(--buyer-container);
    width: 100%;
    margin: 0 auto;
    padding: 0 28px;
}

/* ====================================================================
   NAVBAR — 82px, transparent glassmorphism
   ==================================================================== */
/* ── Navbar ──────────────────────────────────────────────────────────── */
.buyer-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 82px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 0 16px 16px;
    transition: background 0.3s;
}
.buyer-navbar.scrolled {
    background: rgba(18, 24, 33, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.buyer-navbar-inner {
    max-width: var(--buyer-container);
    width: 100%;
    margin: 0 auto;
    padding: 0 51px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Logo */
.buyer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #D7B29D;
    letter-spacing: -0.3px;
    flex-shrink: 0;
}
.buyer-logo img {
    height: 34px;
    width: auto;
}

/* Nav Links */
.buyer-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.buyer-nav-links a {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #97A3B4;
    border-radius: 12px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.buyer-nav-links a:hover {
    color: #D7B29D;
    background: rgba(255, 255, 255, 0.08);
}
.buyer-nav-links a.active {
    color: #D7B29D;
    background: rgba(255, 255, 255, 0.1);
}

/* Auth buttons */
.buyer-nav-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* I am seller */
.btn-nav-seller {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--buyer-font);
    color: #D7B29D;
    background: linear-gradient(135deg, rgba(200,166,141,0.1) 0%, rgba(217,187,166,0.1) 100%);
    border: 1px solid #D7B29D;
    border-radius: 10px;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.btn-nav-seller:hover {
    opacity: 0.8;
}

/* Sign In */
.btn-nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--buyer-font);
    color: #97A3B4;
    border-radius: 10px;
    transition: color 0.2s;
    white-space: nowrap;
}
.btn-nav-login:hover {
    color: #D7B29D;
}

/* Sign Up */
.btn-nav-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--buyer-font);
    color: #121821;
    background: linear-gradient(135deg, #C8A68D 0%, #D9BBA6 100%);
    border-radius: 10px;
    transition: opacity 0.2s, transform 0.15s;
    white-space: nowrap;
}
.btn-nav-register:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* Hamburger — mobile */
.buyer-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1010;
}
.buyer-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--buyer-text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.buyer-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.buyer-hamburger.open span:nth-child(2) {
    opacity: 0;
}
.buyer-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu drawer */
.buyer-mobile-menu {
    display: none;
    position: fixed;
    top: 82px;
    left: 0; right: 0;
    background: rgba(18, 24, 33, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 28px 32px;
    border-bottom: 1px solid var(--buyer-border);
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 999;
}
.buyer-mobile-menu.open {
    display: block;
    transform: translateY(0);
    opacity: 1;
}
.buyer-mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.buyer-mobile-menu ul li a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--buyer-text-nav);
    border-bottom: 1px solid var(--buyer-border);
    transition: color 0.2s;
}
.buyer-mobile-menu ul li a:hover {
    color: var(--buyer-accent);
}
.buyer-mobile-auth {
    margin-top: 20px;
}

/* ====================================================================
   HERO — Full-width background, 700px
   ==================================================================== */
.buyer-hero {
    position: relative;
    width: 100%;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 33%;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(18,24,33,0.15) 0%,
        rgba(18,24,33,0.25) 40%,
        rgba(18,24,33,0.50) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 24px 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(215,178,157,0.12);
    border: 1px solid rgba(215,178,157,0.2);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--buyer-accent);
    margin-bottom: 28px;
}
.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--buyer-accent);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.12;
    color: var(--buyer-text);
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}
.hero-title-accent {
    color: var(--buyer-accent);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 36px;
}

/* ── Hero Search Box — frosted glass ──────────────────────────────── */
/* Single unified glass container — grid layout */
/* ── Hero Search Box ─────────────────────────────────────────────────── */
.hero-search-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2.65px);
    -webkit-backdrop-filter: blur(2.65px);
    border-radius: 16px;
    padding: 16px 24px 24px;
    max-width: 864px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 10;
}

/* Row 1 — Location + Search button */
.search-location-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}
.search-location-input {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    height: 48px;
}
.search-location-input i {
    position: absolute;
    left: 14px;
    color: #000000;
    font-size: 20px;
    pointer-events: none;
}
.search-location-input input {
    border: none;
    background: transparent;
    font-size: 16px;
    font-family: var(--buyer-font);
    color: #000000;
    outline: none;
    width: 100%;
    padding: 13px 16px 13px 44px;
}
.search-location-input input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/* Search button — beige gradient per Figma */
.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(108.53deg, #C8A68D 0%, #D9BBA6 100%);
    color: #121821;
    border: none;
    padding: 0 28px;
    height: 48px;
    min-width: 143px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--buyer-font);
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.15s;
    white-space: nowrap;
}
.btn-search:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}
.btn-search i {
    font-size: 16px;
}

/* Row 2 — Filter row */
.search-filter-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 12px;
}

/* All / Ready / Off-Plan tab group wrapper */
.search-tabs-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 2px;
    gap: 4px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    height: 36px;
}
.search-tab {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 14px;
    height: 28px;
    font-size: 12px;
    font-weight: 500;
    border: none;
    background: transparent;
    color: #000000;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.2s;
    white-space: nowrap;
    font-family: var(--buyer-font);
    line-height: 1;
}
.search-tab.active {
    background: linear-gradient(122.92deg, #C8A68D 0%, #D9BBA6 100%);
    font-weight: 600;
    color: #121821;
}
.search-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

/* ── Custom dropdown buttons (replaces native <select>) ─────────────── */
.search-dd-wrap {
    position: relative;
    flex-shrink: 0;
}
.search-dd-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    font-family: var(--buyer-font);
    background-color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
    outline: none;
    transition: background-color 0.2s, border-color 0.2s;
    user-select: none;
}
.search-dd-btn:hover {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: rgba(200, 166, 141, 0.4);
}
.search-dd-wrap.open .search-dd-btn {
    background-color: #fff;
    border-color: rgba(200, 166, 141, 0.6);
}
.search-dd-label {
    flex: 1;
    white-space: nowrap;
}
.search-dd-chevron {
    flex-shrink: 0;
    color: #555;
    transition: transform 0.2s ease;
}
.search-dd-wrap.open .search-dd-chevron {
    transform: rotate(180deg);
}
.search-dd-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    overflow: hidden;
    z-index: 9999;
}
.search-dd-wrap.open .search-dd-panel {
    display: block;
}
.search-dd-item {
    padding: 10px 16px;
    font-size: 14px;
    font-family: var(--buyer-font);
    color: #1a1a1a;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
.search-dd-item:hover {
    background: rgba(200, 166, 141, 0.12);
}
.search-dd-item.selected {
    background: rgba(200, 166, 141, 0.2);
    font-weight: 600;
    color: #8B5E3C;
}

/* legacy .search-field */
.search-field {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    cursor: pointer;
}
.search-field span {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    white-space: nowrap;
}
.search-field i {
    color: #000000;
    font-size: 14px;
    flex-shrink: 0;
}

.search-divider {
    width: 1px;
    height: 32px;
    background: #e5e7eb;
    flex-shrink: 0;
}

/* ── Hero Stats Strip ─────────────────────────────────────────────── */
.hero-stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 10px;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 36px;
}
.hero-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--buyer-text);
}
.hero-stat-label {
    font-size: 13px;
    color: var(--buyer-text-muted);
    margin-top: 2px;
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
}

/* ====================================================================
   SECTIONS — General
   ==================================================================== */
.buyer-section {
    padding: 100px 0px 25px 0px;
    background: transparent;
}
.buyer-section-dark {
    background: transparent;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
}
.section-header-centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--buyer-accent);
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--buyer-text);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 16px;
    color: var(--buyer-text-muted);
    max-width: 560px;
    margin-top: 12px;
    line-height: 1.7;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--buyer-accent);
    padding: 10px 0;
    transition: gap 0.2s;
    flex-shrink: 0;
}
.btn-view-all:hover {
    gap: 10px;
    color: var(--buyer-accent-hover);
}

/* ====================================================================
   PROPERTY CARDS
   ==================================================================== */
.property-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.property-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ── Property Card ───────────────────────────────────────────────────── */
.property-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,0.2);
}

.property-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.property-card:hover .property-card-image img {
    transform: scale(1.05);
}

/* Wishlist — top right */
.property-wishlist {
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: none;
    border-radius: 9999px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 3;
}
.property-wishlist:hover,
.property-wishlist.active {
    background: rgba(229, 115, 115, 0.75);
}

/* Card body */
.property-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 4px;
    flex: 1;
    box-sizing: border-box;
    width: 100%;
}

/* Title */
.property-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #F8FAFC;
    line-height: 20px;
    margin: 0;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Location */
.property-card-location {
    font-size: 12px;
    font-weight: 400;
    color: #97A3B4;
    line-height: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    width: 100%;
}
.property-card-location i {
    font-size: 11px;
    color: #97A3B4;
    flex-shrink: 0;
}

/* Footer */
.property-card-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 12px;
    width: 100%;
}
.property-price-block {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.property-price {
    display: flex;
    align-items: center;
    gap: 3px;
}
.price-currency {
    font-size: 18px;
    font-weight: 700;
    color: #C8A68D;
}
.price-amount {
    font-size: 18px;
    font-weight: 700;
    color: #C8A68D;
    letter-spacing: -0.3px;
}
.property-card-arrow {
    width: 32px; height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F8FAFC;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.2s;
}
.property-card:hover .property-card-arrow {
    background: rgba(255, 255, 255, 0.12);
}

/* ====================================================================
   STATS — Light off-white background
   ==================================================================== */
.buyer-stats {
    padding: 80px 0;
    background: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(215,178,157,0.12);
    border-radius: 50%;
    margin-bottom: 18px;
}
.stat-icon i {
    font-size: 26px;
    color: var(--buyer-accent);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--buyer-text);
    letter-spacing: -1px;
    line-height: 1.1;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--buyer-text-muted);
    margin-top: 6px;
}

/* ====================================================================
   WHY CHOOSE — Features grid (3x2)
   ==================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: linear-gradient(180deg, #152030 0%, #1a3040 60%, #1b3a4a 100%);
    border: 1px solid rgba(26,58,74,0.4);
    border-radius: var(--buyer-radius);
    padding: 32px 28px;
    text-align: center;
    transition: border-color 0.3s, transform 0.25s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1b5e5e, transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover::before {
    opacity: 1;
}
.feature-card:hover {
    border-color: rgba(27,94,94,0.5);
    transform: translateY(-3px);
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(215,178,157,0.1);
    border-radius: 14px;
    margin: 0 auto 20px;
}
.feature-icon-wrap i {
    font-size: 24px;
    color: var(--buyer-accent);
}

.feature-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--buyer-text);
    margin-bottom: 10px;
}

.feature-text {
    font-size: 14px;
    color: var(--buyer-text-muted);
    line-height: 1.65;
}

/* ====================================================================
   POPULAR AREAS — Image grid
   ==================================================================== */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.area-card {
    position: relative;
    border-radius: var(--buyer-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.area-card-large {
    grid-column: span 2;
    aspect-ratio: 16/9;
}
.area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.area-card:hover img {
    transform: scale(1.08);
}

.area-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, transparent 60%);
    z-index: 1;
}

.area-card-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    z-index: 2;
}
.area-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.area-card-count {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}

/* ====================================================================
   HOW IT WORKS — Steps
   ==================================================================== */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.step-card {
    flex: 1;
    text-align: center;
    padding: 0 24px;
    max-width: 280px;
}
.step-number {
    font-size: 13px;
    font-weight: 700;
    color: var(--buyer-accent);
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.step-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(215,178,157,0.1);
    border: 1px solid rgba(215,178,157,0.15);
    border-radius: 50%;
    margin: 0 auto 18px;
}
.step-icon i {
    font-size: 24px;
    color: var(--buyer-accent);
}
.step-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--buyer-text);
    margin-bottom: 10px;
}
.step-text {
    font-size: 14px;
    color: var(--buyer-text-muted);
    line-height: 1.65;
}
.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    padding-top: 48px;
    color: rgba(215,178,157,0.3);
    font-size: 18px;
}

/* ====================================================================
   PROPERTY TYPES
   ==================================================================== */
.property-types-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.property-type-card {
    background: var(--buyer-bg-card);
    border: 1px solid var(--buyer-border);
    border-radius: var(--buyer-radius);
    padding: 28px 16px;
    text-align: center;
    transition: transform 0.25s, border-color 0.25s;
}
.property-type-card:hover {
    transform: translateY(-4px);
    border-color: rgba(215,178,157,0.25);
}
.property-type-card-accent {
    border-color: rgba(215,178,157,0.3);
    background: rgba(215,178,157,0.05);
}
.property-type-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(215,178,157,0.1);
    border-radius: 14px;
    margin: 0 auto 14px;
}
.property-type-icon i {
    font-size: 22px;
    color: var(--buyer-accent);
}
.property-type-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--buyer-text);
    margin-bottom: 4px;
}
.property-type-count {
    font-size: 12px;
    color: var(--buyer-text-muted);
}

/* ====================================================================
   TESTIMONIALS
   ==================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: linear-gradient(180deg, #152030 0%, #1a3040 60%, #1b3a4a 100%);
    border: 1px solid rgba(26,58,74,0.4);
    border-radius: var(--buyer-radius);
    padding: 32px 28px;
    transition: transform 0.25s, border-color 0.25s;
}
.testimonial-card:hover {
    transform: translateY(-3px);
    border-color: rgba(215,178,157,0.15);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
}
.testimonial-stars i {
    color: var(--buyer-accent);
    font-size: 15px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--buyer-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(215,178,157,0.2);
}
.testimonial-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--buyer-text);
}
.testimonial-role {
    font-size: 13px;
    color: var(--buyer-text-muted);
}

/* ====================================================================
   MORTGAGE CALCULATOR TEASER
   ==================================================================== */
.buyer-mortgage-teaser {
    background: transparent;
}
.mortgage-teaser-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.mortgage-teaser-text .section-label,
.mortgage-teaser-text .section-title {
    text-align: left;
}
.mortgage-teaser-text .section-subtitle {
    margin-top: 12px;
    max-width: none;
}
.mortgage-teaser-features {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px;
}
.mortgage-teaser-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--buyer-text-muted);
    padding: 8px 0;
}
.mortgage-teaser-features li i {
    color: var(--buyer-accent);
    font-size: 16px;
}

.btn-buyer-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--buyer-accent);
    color: var(--buyer-bg);
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--buyer-font);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.btn-buyer-primary:hover {
    background: var(--buyer-accent-hover);
    transform: translateY(-1px);
    color: var(--buyer-bg);
}

.btn-buyer-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--buyer-text);
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--buyer-font);
    border: 1.5px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.btn-buyer-outline:hover {
    border-color: var(--buyer-accent);
    background: rgba(215,178,157,0.06);
    color: var(--buyer-text);
}

.btn-buyer-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--buyer-text-muted);
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--buyer-font);
    border: 1px solid var(--buyer-border);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.btn-buyer-ghost:hover {
    color: var(--buyer-accent);
    border-color: rgba(215,178,157,0.2);
}

/* Mortgage widget card */
.mortgage-teaser-card {
    background: var(--buyer-bg-card);
    border: 1px solid var(--buyer-border);
    border-radius: var(--buyer-radius);
    padding: 0;
    overflow: hidden;
}
.mortgage-calc-widget {
    padding: 28px;
}
.mortgage-widget-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--buyer-text);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--buyer-border);
}
.mortgage-widget-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--buyer-text-muted);
    border-bottom: 1px solid var(--buyer-border);
}
.mortgage-widget-val {
    font-weight: 600;
    color: var(--buyer-text);
}
.mortgage-widget-result {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--buyer-text);
    margin-top: 4px;
}
.mortgage-widget-monthly {
    color: var(--buyer-accent);
    font-size: 20px;
    font-weight: 700;
}

/* ====================================================================
   CTA BANNER
   ==================================================================== */
.buyer-cta {
    padding: 60px 0 80px;
    position: relative;
    overflow: visible;
    background: transparent;
    margin-bottom: 0;
}
.buyer-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.buyer-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(18,24,33,0.93) 0%,
        rgba(15,21,32,0.88) 100%
    );
}

.buyer-cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 60px 48px;
    background: linear-gradient(to right, #121821 0%, #162a38 30%, #1b4a55 70%, #18515175 100%);
    border-radius: 20px;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--buyer-text);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.cta-subtitle {
    font-size: 16px;
    color: var(--buyer-text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--buyer-accent);
    color: var(--buyer-bg);
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
}
.btn-cta-primary:hover {
    background: var(--buyer-accent-hover);
    transform: translateY(-1px);
    color: var(--buyer-bg);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--buyer-text);
    padding: 13px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,0.2);
    transition: border-color 0.2s, background 0.2s;
}
.btn-cta-outline:hover {
    border-color: var(--buyer-accent);
    background: rgba(215,178,157,0.06);
    color: var(--buyer-text);
}

/* ====================================================================
   FOOTER
   ==================================================================== */
.buyer-footer {
    background: var(--buyer-bg-darker);
    border-top: none;
    padding: 64px 0 0;
}

.buyer-footer-inner {
    max-width: var(--buyer-container);
    margin: 0 auto;
    padding: 0 28px;
}

.buyer-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.buyer-footer-brand {}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--buyer-accent);
    margin-bottom: 16px;
}
.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-tagline {
    font-size: 14px;
    color: var(--buyer-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}
.footer-socials a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--buyer-border);
    border-radius: 10px;
    color: var(--buyer-text-muted);
    font-size: 16px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-socials a:hover {
    background: rgba(215,178,157,0.1);
    color: var(--buyer-accent);
    border-color: rgba(215,178,157,0.2);
}

.buyer-footer-col {}
.footer-col-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--buyer-text);
    margin-bottom: 20px;
}
.buyer-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.buyer-footer-col ul li {
    margin-bottom: 12px;
}
.buyer-footer-col ul li a,
.buyer-footer-col ul li {
    font-size: 14px;
    color: var(--buyer-text-muted);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.buyer-footer-col ul li a:hover {
    color: var(--buyer-accent);
}
.footer-contact-list li i {
    color: var(--buyer-accent);
    font-size: 14px;
}

.buyer-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    border-top: 1px solid var(--buyer-border);
    font-size: 13px;
    color: var(--buyer-text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}
.footer-bottom-links a {
    font-size: 13px;
    color: var(--buyer-text-muted);
    transition: color 0.2s;
}
.footer-bottom-links a:hover {
    color: var(--buyer-accent);
}

/* ====================================================================
   EXPLORE BY LOCATION — Map section
   ==================================================================== */
.explore-map-placeholder {
    background: var(--buyer-bg-card);
    border: 1px solid rgba(26,58,74,0.3);
    border-radius: var(--buyer-radius);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(135deg, #1a3a4a 0%, #1b5e5e 50%, #162032 100%);
    position: relative;
    overflow: hidden;
}
.explore-map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(27,94,94,0.15) 0%, transparent 60%);
}
.explore-map-inner {
    position: relative;
    z-index: 1;
}
.explore-map-inner i {
    font-size: 48px;
    color: var(--buyer-accent);
    margin-bottom: 16px;
    display: block;
}
.explore-map-inner p {
    font-size: 16px;
    color: var(--buyer-text);
    font-weight: 600;
    margin-bottom: 8px;
}
.explore-map-inner span {
    font-size: 14px;
    color: var(--buyer-text-muted);
}

/* ====================================================================
   PROPERTY DETAIL PAGE — Figma-accurate single-column layout
   ==================================================================== */

/* ── Breadcrumb ──────────────────────────────────────────────────────── */
.pd-breadcrumb-bar {
    padding-top: 96px;
    padding-bottom: 12px;
}
.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--buyer-text-muted);
}
.pd-breadcrumb a {
    color: var(--buyer-text-muted);
    transition: color 0.2s;
}
.pd-breadcrumb a:hover {
    color: var(--buyer-accent);
}
.pd-breadcrumb i {
    font-size: 10px;
    color: rgba(255,255,255,0.25);
}
.pd-breadcrumb span {
    color: var(--buyer-text);
    font-weight: 500;
}

/* ── Image Gallery ───────────────────────────────────────────────────── */
.pd-gallery {
    padding-bottom: 0;
}
.pd-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    grid-template-rows: 500px;
    gap: 6px;
    border-radius: 16px;
    overflow: hidden;
}
.pd-gallery-main {
    position: relative;
    overflow: hidden;
}
.pd-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    display: block;
}
.pd-gallery-counter {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--buyer-font);
    letter-spacing: 0.5px;
    pointer-events: none;
}
/* "View all photos" button on main image */
.pd-gallery-expand {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--buyer-font);
    cursor: pointer;
    transition: background 0.2s;
}
.pd-gallery-expand:hover { background: rgba(0,0,0,0.75); }
.pd-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    height: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.pd-gallery-thumbs::-webkit-scrollbar { width: 4px; }
.pd-gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
.pd-gallery-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 4px; }
.pd-gallery-thumb {
    flex-shrink: 0;
    height: 118px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
}
.pd-gallery-thumb.active { border-color: var(--buyer-accent); }
.pd-gallery-thumb:not(.active) { opacity: 0.72; }
.pd-gallery-thumb:hover:not(.active) { opacity: 1; }
.pd-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.pd-gallery-thumb:hover img {
    transform: scale(1.05);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    z-index: 2;
}

/* ── 2-Column Body Layout ────────────────────────────────────────── */
.pd-body {
    padding: 32px 0 0;
}
.pd-body-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: flex-start;
}
/* ── Main Column ──────────────────────────────────────────────────── */
.pd-main-col {}

/* ── Title Block ─────────────────────────────────────────────────── */
.pd-title-block {
    margin-bottom: 24px;
}
.pd-badges-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.pd-badges-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}
.pd-action-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--buyer-text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.pd-action-icon:hover {
    color: var(--buyer-accent);
    border-color: rgba(215,178,157,0.25);
    background: rgba(215,178,157,0.06);
}
.pd-badge-sale {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    background: #1C403A;
    color: #FFFF;
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.pd-badge-days {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--buyer-text-muted);
}
.pd-badge-days i { font-size: 12px; }

.pd-badges-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}
.pd-action-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--buyer-text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.pd-action-icon:hover {
    color: var(--buyer-accent);
    border-color: rgba(215,178,157,0.25);
    background: rgba(215,178,157,0.06);
}

.pd-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--buyer-text);
    line-height: 1.2;
    margin-bottom: 6px;
}
.pd-location {
    font-size: 14px;
    color: var(--buyer-text-muted);
    margin-bottom: 10px;
}
.pd-specs-inline {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    color: var(--buyer-text-muted);
}
.pd-specs-inline span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.pd-specs-inline i {
    color: var(--buyer-text-nav);
    font-size: 14px;
}

/* ── Spec Cards Row ──────────────────────────────────────────────── */
.pd-spec-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 32px;
}
.pd-spec-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 16px 8px;
    gap: 6px;
}
.pd-spec-card i {
    font-size: 20px;
    color: var(--buyer-accent);
}
.pd-spec-label {
    font-size: 11px;
    color: var(--buyer-text-muted);
    font-weight: 500;
}
.pd-spec-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--buyer-text);
}

/* ── Remarks Box ─────────────────────────────────────────────────── */
.pd-remarks-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.pd-remarks-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--buyer-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.pd-highlights {
    margin-top: 4px;
}
.pd-highlights-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--buyer-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.pd-highlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pd-highlight-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #D7B29D33;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 25px;
    font-size: 13px;
    color: #D7B29D;
}
.pd-highlight-tag i {
    color: var(--buyer-accent);
    font-size: 13px;
}

/* ── Sidebar ─────────────────────────────────────────────────────── */
.pd-sidebar {
    position: sticky;   /* sticks while scrolling through main content */
    top: 100px;         /* stops naturally when .pd-body-grid ends (before Similar Properties) */
    align-self: flex-start; /* prevents grid from stretching it to full row height */
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pd-sidebar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 24px;
}

/* Bid Card */
.pd-bid-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--buyer-text-muted);
    margin-bottom: 4px;
}
.pd-bid-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 16px;
}
.pd-bid-currency {
    font-size: 28px;
    font-weight: 600;
    color: var(--buyer-accent);
}
.pd-bid-amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--buyer-accent);
    letter-spacing: -0.5px;
}

/* Countdown */
.pd-countdown {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}
.pd-countdown-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 10px 4px;
}
.pd-countdown-val {
    font-size: 20px;
    font-weight: 700;
    color: var(--buyer-text);
    line-height: 1;
}
.pd-countdown-lbl {
    font-size: 9px;
    font-weight: 600;
    color: var(--buyer-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Sidebar buttons */
.pd-sidebar .btn-pd-offer {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
}
.pd-sidebar .btn-pd-tour {
    width: 100%;
    justify-content: center;
}
.btn-pd-offer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--buyer-accent);
    color: var(--buyer-bg);
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--buyer-font);
    cursor: pointer;
    transition: background 0.2s;
}
.btn-pd-offer:hover {
    background: var(--buyer-accent-hover);
}
.btn-pd-tour {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--buyer-text);
    border: 1.5px solid rgba(255,255,255,0.15);
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--buyer-font);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.btn-pd-tour:hover {
    border-color: var(--buyer-accent);
    background: rgba(215,178,157,0.06);
}
/* Already-offered / already-toured states */
.btn-pd-offer--active {
    background: rgba(215,178,157,0.15);
    color: var(--buyer-accent);
    border: 1.5px solid rgba(215,178,157,0.45);
    flex-wrap: wrap;
    gap: 6px;
    pointer-events: auto;
}
.btn-pd-offer--active:hover {
    background: rgba(215,178,157,0.22);
}
.btn-pd-tour--active {
    border-color: rgba(215,178,157,0.45);
    background: rgba(215,178,157,0.08);
    color: var(--buyer-accent);
    flex-wrap: wrap;
    gap: 6px;
}
.btn-pd-tour--active:hover {
    background: rgba(215,178,157,0.14);
}
/* Status badge inside the active-state buttons */
.btn-pd-status-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255,255,255,0.08);
    color: var(--buyer-text-muted, #97a3b4);
}
.btn-pd-status-badge--submitted,
.btn-pd-status-badge--under_review   { background: rgba(245,158,11,.15); color: #f59e0b; }
.btn-pd-status-badge--counter_offer  { background: rgba(99,102,241,.15); color: #818cf8; }
.btn-pd-status-badge--accepted       { background: rgba(34,197,94,.15);  color: #22c55e; }
.btn-pd-status-badge--in_closing     { background: rgba(3,73,94,.25);    color: #7ecfea; }
.btn-pd-status-badge--pending        { background: rgba(245,158,11,.15); color: #f59e0b; }
.btn-pd-status-badge--confirmed      { background: rgba(34,197,94,.15);  color: #22c55e; }
/* Virtual 3D Tour button — teal accent, sits below Schedule a Tour */
.btn-pd-3d {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(3,73,94,0.25);
    color: #7ecfea;
    border: 1.5px solid rgba(3,73,94,0.6);
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--buyer-font);
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.btn-pd-3d:hover {
    background: rgba(3,73,94,0.45);
    border-color: #7ecfea;
    color: #a8e4f5;
}
.pd-sidebar .btn-pd-3d {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

/* Listed Price Card */
.pd-listed-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--buyer-text-muted);
    margin-bottom: 4px;
}
.pd-listed-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}
.pd-listed-currency {
    font-size: 24px;
    font-weight: 600;
    color: #FFFF;
}
.pd-listed-amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--buyer-text);
    letter-spacing: -0.5px;
}
.pd-listed-monthly {
    font-size: 13px;
    color: var(--buyer-text-muted);
}

/* ── Content Sections ────────────────────────────────────────────────── */
.pd-block {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--buyer-border);
}
.pd-block:last-child {
    border-bottom: none;
}
.pd-block-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--buyer-text);
    margin-bottom: 16px;
}
.pd-description {
    font-size: 14px;
    color: var(--buyer-text-muted);
    line-height: 1.8;
}
.pd-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--buyer-accent);
    cursor: pointer;
    font-family: var(--buyer-font);
    padding: 0;
}
.pd-read-more:hover {
    text-decoration: underline;
}

/* ── Collapsible Feature Groups ──────────────────────────────────────── */
.pd-feature-group {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}
.pd-feature-group-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(255,255,255,0.02);
    border: none;
    color: var(--buyer-text);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--buyer-font);
    cursor: pointer;
    transition: background 0.2s;
}
.pd-feature-group-toggle:hover {
    background: rgba(255,255,255,0.04);
}
.pd-feature-group-toggle span {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pd-feature-group-toggle > span > i {
    color: var(--buyer-accent);
    font-size: 16px;
}
.pd-feature-count {
    font-size: 12px;
    font-weight: 400;
    color: var(--buyer-text-muted);
}
.pd-feature-group-toggle .toggle-icon {
    color: var(--buyer-text-muted);
    font-size: 14px;
    transition: transform 0.2s;
}
.pd-feature-group-content {
    display: none;
    padding: 0 18px 18px;
}
.pd-feature-group-content.show {
    display: block;
}
.pd-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding-top: 10px;
}
.pd-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #b4b7bc;
    padding: 6px 0;
}
.pd-feature-item i {
    color: var(--buyer-accent);
    font-size: 14px;
    flex-shrink: 0;
}

/* ── Amenities Chips ─────────────────────────────────────────────────── */
.pd-amenities-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.pd-amenity-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #b4b7bc;
    transition: border-color 0.2s;
}
.pd-amenity-chip i {
    color: var(--buyer-accent);
    font-size: 16px;
}
.pd-amenity-chip:hover {
    border-color: rgba(215,178,157,0.2);
}

/* ── Price History Timeline ──────────────────────────────────────────── */
.pd-price-history {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
}
.pd-history-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    position: relative;
}
/* Vertical timeline line connecting dots */
.pd-history-item:not(:last-of-type) .pd-history-dot::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 12px;
    width: 2px;
    height: 60px;
    background: rgba(255,255,255,0.1);
}
.pd-history-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}
.pd-history-dot.listed {
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
}
.pd-history-dot.reduced {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}
.pd-history-content {
    flex: 1;
    min-width: 0;
}
.pd-history-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--buyer-text);
}
.pd-history-date {
    font-size: 12px;
    color: var(--buyer-text-muted);
    margin-top: 2px;
}
.pd-history-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--buyer-text);
    white-space: nowrap;
}
.pd-history-amount-block {
    text-align: right;
}
.pd-history-change {
    font-size: 12px;
    color: #ef4444;
    margin-top: 2px;
}
.pd-history-disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    margin-top: 10px;
    padding-top: 10px;
    border-top: none;
    font-style: italic;
}

/* ── Map Placeholder ─────────────────────────────────────────────────── */
.pd-map-placeholder {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--buyer-border);
    border-radius: var(--buyer-radius);
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-map-inner {
    text-align: center;
    color: rgba(255,255,255,0.3);
}
.pd-map-inner i {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}
.pd-map-inner p {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
}

/* ── Mortgage Calculator (Full) ──────────────────────────────────────── */
.pd-mortgage-section {
    padding: 0 0 80px;
}
.pd-mortgage-card {
    background: var(--buyer-bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 32px;
}
.pd-mortgage-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--buyer-text);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}
.pd-mortgage-title i {
    color: var(--buyer-accent);
}
.pd-mortgage-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}
.pd-mortgage-field label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--buyer-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pd-mortgage-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: var(--buyer-text);
    font-size: 15px;
    font-family: var(--buyer-font);
    outline: none;
    transition: border-color 0.2s;
}
.pd-mortgage-input:focus {
    border-color: var(--buyer-accent);
}
.pd-mortgage-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pd-mortgage-pct {
    font-size: 14px;
    font-weight: 600;
    color: var(--buyer-accent);
    flex-shrink: 0;
}

/* Tenure tabs */
.pd-tenure-tabs {
    display: flex;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}
.pd-tenure-tab {
    flex: 1;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--buyer-font);
    color: var(--buyer-text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.pd-tenure-tab.active {
    background: var(--buyer-accent);
    color: var(--buyer-bg);
}
.pd-tenure-tab:hover:not(.active) {
    background: rgba(255,255,255,0.06);
    color: var(--buyer-text);
}

/* Result */
.pd-mortgage-result {
    margin-bottom: 20px;
}
.pd-mortgage-result-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--buyer-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.pd-mortgage-result-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--buyer-accent);
    letter-spacing: -0.5px;
}

/* Progress bar */
.pd-mortgage-bar-wrapper {
    margin-bottom: 24px;
}
.pd-mortgage-bar {
    display: flex;
    height: 10px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}
.pd-mortgage-bar-principal {
    background: var(--buyer-accent);
    transition: width 0.4s;
}
.pd-mortgage-bar-interest {
    background: rgba(215,178,157,0.25);
    transition: width 0.4s;
}
.pd-mortgage-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--buyer-text-muted);
}
.pd-bar-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}
.pd-bar-dot.principal {
    background: var(--buyer-accent);
}
.pd-bar-dot.interest {
    background: rgba(215,178,157,0.25);
}
.pd-bar-label-principal strong,
.pd-bar-label-interest strong {
    color: var(--buyer-text);
    font-weight: 600;
}

/* Pre-qualify button */
.btn-pd-prequalify {
    width: 100%;
    padding: 14px 0;
    background: var(--buyer-accent);
    color: var(--buyer-bg);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--buyer-font);
    cursor: pointer;
    transition: background 0.2s;
}
.btn-pd-prequalify:hover {
    background: var(--buyer-accent-hover);
}
.map-placeholder-inner {
    text-align: center;
}
.map-placeholder-inner i {
    font-size: 40px;
    color: var(--buyer-accent);
    margin-bottom: 12px;
    display: block;
}
.map-placeholder-inner p {
    font-size: 15px;
    color: var(--buyer-text);
    font-weight: 600;
    margin-bottom: 6px;
}
.map-note {
    font-size: 13px;
    color: var(--buyer-text-muted);
}

/* ====================================================================
   START AN OFFER PAGE — Figma-accurate
   ==================================================================== */

.offer-page {
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 100vh;
}

/* ── Header ──────────────────────────────────────────────────────────── */
.offer-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}
.offer-back {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: var(--buyer-text);
    font-size: 18px;
    transition: background 0.2s, border-color 0.2s;
}
.offer-back:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--buyer-accent);
    color: var(--buyer-accent);
}
.offer-page-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--buyer-text);
    line-height: 1.2;
}
.offer-property-name {
    font-size: 12px;
    font-weight: 600;
    color: #FFFF;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ── Form wrapper ────────────────────────────────────────────────────── */
.offer-form-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* ── Sections (glass cards) ──────────────────────────────────────────── */
.offer-section {
    margin-bottom: 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 24px 28px;
}
.offer-section-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--buyer-text);
    margin-bottom: 20px;
    margin-top: 20px;
}
.offer-section-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.offer-section-num-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(215,178,157,0.1);
    border-radius: 8px;
    color: var(--buyer-accent);
    font-size: 16px;
    flex-shrink: 0;
}
.offer-section-title-inline {
    font-size: 17px;
    font-weight: 700;
    color: var(--buyer-text);
    margin: 0;
}

/* ── Labels & inputs ─────────────────────────────────────────────────── */
.offer-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--buyer-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}
.offer-input-group {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.offer-input-group:focus-within {
    border-color: var(--buyer-accent);
}
.offer-input-prefix {
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--buyer-text-muted);
    flex-shrink: 0;
}
.offer-input {
    flex: 1;
    padding: 13px 14px 13px 0;
    background: transparent;
    border: none;
    color: var(--buyer-text);
    font-size: 15px;
    font-family: var(--buyer-font);
    outline: none;
    min-width: 0;
}
.offer-input::placeholder {
    color: rgba(255,255,255,0.2);
}
.offer-hint {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin-top: 8px;
    line-height: 1.5;
}

/* ── Price & Financing — 2-column layout ─────────────────────────────── */
.offer-pf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.offer-pf-left,
.offer-pf-right {
    display: flex;
    flex-direction: column;
}

/* Financing type toggle buttons (left column) */
.offer-financing-btns {
    display: flex;
    gap: 10px;
}
.offer-fin-btn {
    flex: 1;
    padding: 12px 20px;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--buyer-text-muted);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--buyer-font);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.offer-fin-btn:hover {
    border-color: rgba(255,255,255,0.2);
    color: var(--buyer-text);
}
.offer-fin-btn.active {
    background: var(--buyer-accent);
    border-color: var(--buyer-accent);
    color: var(--buyer-bg);
}

/* Financing info card (right column) */
.offer-financing-info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 53px 20px;
    background: rgba(255,255,255,0.02);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    height: 100%;
}
.offer-financing-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(215,178,157,0.1);
    border-radius: 12px;
    color: var(--buyer-accent);
    font-size: 20px;
    margin-bottom: 14px;
}
.offer-financing-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--buyer-text);
    margin-bottom: 6px;
}
.offer-financing-subtitle {
    font-size: 12px;
    color: var(--buyer-text-muted);
}

/* ── Quick-select pills (45 days / 60 days) ──────────────────────────── */
.offer-pills {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.offer-pill {
    padding: 8px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--buyer-text-muted);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--buyer-font);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.offer-pill:hover {
    border-color: var(--buyer-accent);
    color: var(--buyer-text);
}
.offer-pill.active {
    background: var(--buyer-accent);
    border-color: var(--buyer-accent);
    color: var(--buyer-bg);
}

/* ── Upload area ─────────────────────────────────────────────────────── */
.offer-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 32px;
    background: rgba(255,255,255,0.02);
    border: 2px dashed rgba(255,255,255,0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-align: center;
}
.offer-upload-area:hover {
    border-color: var(--buyer-accent);
    background: rgba(215,178,157,0.03);
}
.offer-upload-area i {
    font-size: 28px;
    color: var(--buyer-text-muted);
    margin-bottom: 4px;
}
.offer-upload-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--buyer-text);
    letter-spacing: 0.5px;
}
.offer-upload-sub {
    font-size: 11px;
    color: var(--buyer-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.offer-upload-input {
    display: none;
}

/* ── Textarea ────────────────────────────────────────────────────────── */
.offer-textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: var(--buyer-text);
    font-size: 14px;
    font-family: var(--buyer-font);
    outline: none;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s;
}
.offer-textarea:focus {
    border-color: var(--buyer-accent);
}
.offer-textarea::placeholder {
    color: rgba(255,255,255,0.2);
}

/* ── Review & Submit ─────────────────────────────────────────────────── */
.offer-summary-wrapper {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden; /* important */
    margin-bottom: 20px;
}
.offer-review-section {
    margin-top: 0;
}
.offer-summary-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06); /* separator line */
}
.offer-summary-cell {
    text-align: center;
}
.offer-summary-cell + .offer-summary-cell {
    border-left: 1px solid rgba(255,255,255,0.06);
}
.offer-summary-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--buyer-text-muted);
    text-transform: capitalize;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}
.offer-summary-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--buyer-text);
}
.offer-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgb(66 70 75 / 24%);
}
.offer-total-label {
    font-size: 12px;
    font-weight: 500;
    color: #FFFF;
}
.offer-total-amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--buyer-text);
    letter-spacing: -0.5px;
}

.btn-submit-offer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 0;
    background: var(--buyer-accent);
    color: var(--buyer-bg);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--buyer-font);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.btn-submit-offer:hover {
    background: var(--buyer-accent-hover);
    transform: translateY(-1px);
}
.btn-submit-offer i {
    font-size: 18px;
}

/* ── Success Modal ───────────────────────────────────────────────────── */
.offer-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.offer-modal {
    background: #6b6866e6;
    border: 1px solid rgb(170 170 170 / 44%);
    border-radius: 20px;
    padding: 40px 36px;
    text-align: center;
    max-width: 420px;
    width: 90%;
}
.offer-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(203 171 153 / 15%);
    border-radius: 50%;
}

.offer-modal-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.offer-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--buyer-text);
    margin-bottom: 12px;
}
.offer-modal-text {
    font-size: 14px;
    color: #aeb2b9;
    line-height: 1.7;
    margin-bottom: 28px;
}
.offer-modal-text strong {
    color: #FFFF;
}
.btn-modal-primary {
    display: block;
    width: 100%;
    padding: 14px 0;
    background: var(--buyer-accent);
    color: var(--buyer-bg);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    transition: background 0.2s;
}
.btn-modal-primary:hover {
    background: var(--buyer-accent-hover);
    color: var(--buyer-bg);
}
.btn-modal-ghost {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: transparent;
    color: var(--buyer-text-muted);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: border-color 0.2s, color 0.2s;
}
.btn-modal-ghost:hover {
    border-color: var(--buyer-accent);
    color: var(--buyer-text);
}

/* ── Offer page responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .offer-pf-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .offer-section {
        padding: 20px 18px;
    }
}

/* ====================================================================
   UTILITY CLASSES
   ==================================================================== */
.w-100 { width: 100% !important; }
.mb-2 { margin-bottom: 8px !important; }
.ms-2 { margin-left: 8px !important; }
.me-2 { margin-right: 8px !important; }
.text-center { text-align: center !important; }
.d-block { display: block !important; }

/* ====================================================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ==================================================================== */
@media (max-width: 1024px) {
    .buyer-container {
        padding: 0 32px;
    }
    .buyer-navbar-inner {
        padding: 0 32px;
    }
    .buyer-footer-inner {
        padding: 0 32px;
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .property-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .area-card-large {
        grid-column: span 2;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mortgage-teaser-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .property-body-inner {
        grid-template-columns: 1fr;
    }
    .property-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .sidebar-price-card {
        grid-column: span 2;
    }

    .steps-grid {
        flex-wrap: wrap;
        gap: 24px;
    }
    .step-connector {
        display: none;
    }
    .step-card {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }

    .buyer-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

/* ====================================================================
   RESPONSIVE — Mobile (max-width: 768px)
   ==================================================================== */
@media (max-width: 768px) {
    .buyer-container {
        padding: 0 20px;
    }
    .buyer-navbar-inner {
        padding: 0 20px;
    }
    .buyer-footer-inner {
        padding: 0 20px;
    }

    .buyer-navbar {
        height: 68px;
    }
    .buyer-nav-links {
        display: none;
    }
    .buyer-nav-auth {
        display: none;
    }
    .buyer-hamburger {
        display: flex;
    }
    .buyer-mobile-menu {
        top: 68px;
    }

    /* Hero */
    .buyer-hero {
        min-height: 560px;
    }
    .hero-content {
        padding: 100px 16px 40px;
    }
    .hero-title {
        font-size: 36px;
        letter-spacing: -1px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .hero-search-box {
        max-width: 100%;
        padding: 12px 14px 18px;
        gap: 12px;
    }
    .search-filter-row {
        gap: 6px 8px;
    }
    .search-tabs-group {
        flex-shrink: 0;
    }

    .hero-stats-strip {
        flex-wrap: wrap;
        gap: 16px;
    }
    .hero-stat {
        padding: 0 20px;
    }
    .hero-stat-divider {
        display: none;
    }

    /* Sections */
    .buyer-section {
        padding: 64px 0;
    }
    .section-title {
        font-size: 28px;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* Grids */
    .property-grid,
    .property-grid-3 {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .stat-number {
        font-size: 28px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .areas-grid {
        grid-template-columns: 1fr 1fr;
    }
    .area-card-large {
        grid-column: span 2;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .property-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }
    .step-card {
        flex: 0 0 100%;
        max-width: 320px;
    }

    /* Property detail */
    .property-hero {
        grid-template-columns: 1fr;
        max-height: none;
        margin-top: 68px;
    }
    .property-hero-thumbs {
        display: none;
    }
    .property-body {
        padding: 28px 20px 60px;
    }
    .property-body-inner {
        grid-template-columns: 1fr;
    }
    .property-sidebar {
        display: flex;
        flex-direction: column;
    }
    .sidebar-price-card {
        grid-column: auto;
    }
    .property-detail-title {
        font-size: 22px;
    }
    .property-features-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .buyer-cta-inner {
        padding: 40px 24px;
    }
    .cta-title {
        font-size: 24px;
    }
    .cta-actions {
        flex-direction: column;
    }
    .btn-cta-primary,
    .btn-cta-outline {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .buyer-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .buyer-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
    }
}

/* ====================================================================
   RESPONSIVE — Small mobile (max-width: 480px)
   ==================================================================== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .areas-grid {
        grid-template-columns: 1fr;
    }
    .area-card-large {
        grid-column: auto;
    }
    .property-types-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .agent-contact-buttons {
        flex-direction: column;
    }
}

/* ====================================================================
   TOAST NOTIFICATIONS (shared admin style)
   ==================================================================== */
#admin-toast-wrap {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.admin-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #0e7490;
    border-radius: 10px;
    padding: 14px 16px;
    min-width: 280px;
    max-width: 360px;
    pointer-events: all;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.admin-toast.show { opacity: 1; transform: translateX(0); }
.admin-toast.hide { opacity: 0; transform: translateX(30px); }
.admin-toast-icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(14,116,144,0.1);
    display: flex; align-items: center; justify-content: center;
}
.admin-toast-body { flex: 1; }
.admin-toast-title { font-size: 13px; font-weight: 600; color: #111827; margin: 0 0 2px; }
.admin-toast-msg   { font-size: 12px; color: #6b7280; margin: 0; }
.admin-toast-close {
    background: none; border: none; padding: 0;
    cursor: pointer; color: #9ca3af; line-height: 1;
    flex-shrink: 0; transition: color 0.15s;
}
.admin-toast-close:hover { color: #111827; }
.admin-toast-error .admin-toast-icon {
    background: rgba(239,68,68,0.1);
    border-left-color: #ef4444;
}
.admin-toast-error { border-left-color: #ef4444; }

/* ====================================================================
   ANIMATIONS & SCROLLBAR
   ==================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ── Missing classes — Figma-specific ────────────────────────────── */

/* Notification bell */
.btn-nav-notification {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 12px;
    color: #97A3B4;
    font-size: 20px;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}
.btn-nav-notification:hover {
    color: #D7B29D;
    background: rgba(255, 255, 255, 0.08);
}
.notification-dot {
    position: absolute;
    top: 6px; right: 6px;
    width: 8px; height: 8px;
    background: #D7B29D;
    border-radius: 50%;
    border: 1.5px solid transparent;
}

/* Hero bottom text */
.hero-bottom-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46.22px;
    padding: 12.11px 24.11px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    margin-top: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Property delivery badge */
.property-delivery-badge {
    position: absolute;
    top: 13px; left: 12px;
    background: #1C403A;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #F8FAFC;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    z-index: 2;
}

/* Property tags (on image) */
.property-tags {
    position: absolute;
    bottom: 12px; left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}
.property-tag {
    display: flex;
    align-items: center;
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 600;
    color: #ffffff;
}

/* Property card specs row */
.property-card-specs {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 4px;
    gap: 12px;
    width: 100%;
}
.property-card-specs span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 400;
    color: #97A3B4;
}
.property-card-specs i { font-size: 12px; color: #97A3B4; }

/* Property card amenities */
.property-card-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
}
.amenity-chip {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    padding: 2px 8px;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 400;
    color: #97A3B4;
    white-space: nowrap;
}
.amenity-chip i { font-size: 12px; color: rgba(200, 166, 141, 0.7); }
.amenity-chip--more {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    color: #97A3B4;
}

/* Property time */
.property-time {
    font-size: 12px;
    font-weight: 500;
    color: #C8A68D;
    white-space: nowrap;
}

/* Section title accent */
.section-title-accent {
    color: #ffffff !important;
}

/* Map placeholder */
.map-placeholder {
    background: linear-gradient(to right, #1a2e3e 0%, #1a3d4d 30%, #1d4f4f 70%, #1d4949 100%);
    border-radius: var(--buyer-radius);
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-placeholder-inner {
    text-align: center;
    color: rgba(255,255,255,0.4);
}
.map-placeholder-inner i {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}
.map-placeholder-inner h3 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
}
.map-placeholder-inner p {
    font-size: 13px;
}

/* Custom scrollbar for dark theme */
body.buyer-body::-webkit-scrollbar {
    width: 8px;
}
body.buyer-body::-webkit-scrollbar-track {
    background: var(--buyer-bg);
}
body.buyer-body::-webkit-scrollbar-thumb {
    background: rgba(215,178,157,0.25);
    border-radius: 4px;
}
body.buyer-body::-webkit-scrollbar-thumb:hover {
    background: rgba(215,178,157,0.4);
}

/* ── Profile Setup Page ─────────────────────────────────────────────── */
.profile-setup-page {
    min-height: 100vh;
    padding: 100px 20px 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.profile-setup-card {
    width: 100%;
    max-width: 650px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
}

/* ── Section header ─────────────────────────────────────────────────── */
.ps-section {
    padding: 24px 28px;
}
.ps-section + .ps-section {
    border-top: 1px solid rgba(255,255,255,0.06);
}
.ps-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.ps-section-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--buyer-accent);
    border: none;
    color: var(--buyer-bg);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ps-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--buyer-text);
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

/* ── Input rows ─────────────────────────────────────────────────────── */
.ps-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.ps-field {
    margin-bottom: 16px;
}
.ps-field:last-child { margin-bottom: 0; }
.ps-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--buyer-text);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 7px;
}
.ps-input {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--buyer-text);
    font-size: 14px;
    font-family: var(--buyer-font);
    outline: none;
    transition: border-color 0.2s;
}
.ps-input:focus { border-color: var(--buyer-accent); }
.ps-input::placeholder { color: rgba(255,255,255,0.3); }

/* Phone group */
.ps-phone-group {
    display: flex;
    gap: 8px;
}
.ps-phone-code {
    width: 120px;
    flex-shrink: 0;
    padding: 12px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: var(--buyer-text);
    font-size: 13px;
    font-family: var(--buyer-font);
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
}
.ps-phone-code:focus { border-color: var(--buyer-accent); }
.ps-phone-code option { background: #162032; }

/* ── Budget range — bordered box with inline labels ─────────────────── */
.ps-budget-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
}
.ps-budget-val {
    font-size: 13px;
    font-weight: 600;
    color: var(--buyer-text);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 38px;
}
.ps-range {
    flex: 1;
    -webkit-appearance: none;
    height: 4px;
    background: linear-gradient(to right, var(--buyer-accent) 60%, rgba(255,255,255,0.1) 60%);
    border-radius: 99px;
    outline: none;
    cursor: pointer;
}
.ps-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--buyer-accent);
    border: 2px solid var(--buyer-bg);
    cursor: pointer;
    box-shadow: 0 0 0 3px rgba(215,178,157,0.2);
}

/* ── Category box — single bordered rectangle ───────────────────────── */
.ps-cat-box {
    display: flex;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    padding: 6px;
    gap: 4px;
}
.ps-cat-btn {
    flex: 1;
    padding: 8px 10px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--buyer-text-muted);
    font-size: 13px;
    font-weight: 500;
    font-family: var(--buyer-font);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.ps-cat-btn:hover { color: var(--buyer-text); }
.ps-cat-btn.active {
    background: rgba(255,255,255,0.08);
    color: var(--buyer-text);
    font-weight: 600;
}

/* ── Sub-type chips (separate, below the category box) ──────────────── */
.ps-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}
.ps-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--buyer-text-muted);
    font-size: 13px;
    font-weight: 500;
    font-family: var(--buyer-font);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.ps-chip img {
    width: 16px; height: 16px; flex-shrink: 0;
    filter: brightness(0) invert(1); opacity: .45;
    transition: filter 0.2s, opacity 0.2s;
}
.ps-chip:hover { border-color: rgba(255,255,255,0.2); color: var(--buyer-text); }
.ps-chip:hover img { opacity: .75; }
.ps-chip.active {
    background: rgba(215,178,157,0.12);
    border-color: rgba(215,178,157,0.45);
    color: var(--buyer-accent);
    font-weight: 600;
}
.ps-chip.active img {
    filter: brightness(0) saturate(200%) invert(76%) sepia(24%) saturate(500%) hue-rotate(320deg);
    opacity: 1;
}

/* ── Timeline options ───────────────────────────────────────────────── */
.ps-timeline-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}
.ps-timeline-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.ps-timeline-option:hover { border-color: rgba(255,255,255,0.15); }
.ps-timeline-option.active {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.2);
}
.ps-timeline-info {}
.ps-timeline-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--buyer-text);
}
.ps-timeline-sub {
    display: block;
    font-size: 11px;
    color: var(--buyer-text-muted);
    margin-top: 2px;
}
.ps-timeline-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s;
}
.ps-timeline-option.active .ps-timeline-radio {
    border-color: var(--buyer-accent);
}
.ps-timeline-option.active .ps-timeline-radio::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--buyer-accent);
}

/* ── Financing method cards ─────────────────────────────────────────── */
.ps-financing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 4px;
}
.ps-fin-card {
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.ps-fin-card:hover { border-color: rgba(255,255,255,0.15); }
.ps-fin-card.active {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.2);
}
.ps-fin-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--buyer-text);
    margin-bottom: 3px;
}
.ps-fin-desc {
    display: block;
    font-size: 11px;
    color: var(--buyer-text-muted);
}

/* ── Submit area ────────────────────────────────────────────────────── */
.ps-submit-area {
    padding: 20px 28px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.ps-submit-btn {
    width: 100%;
    padding: 15px 0;
    background: var(--buyer-accent);
    color: var(--buyer-bg);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--buyer-font);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s;
}
.ps-submit-btn:hover {
    background: var(--buyer-accent-hover);
    transform: translateY(-1px);
}
.ps-submit-note {
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: #97A3B4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
}

/* ── Page Loader Overlay ─────────────────────────────────────── */
#pageLoader {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}
#pageLoader.active { display: flex; }
.page-loader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pageLoaderSpin .7s linear infinite;
}
@keyframes pageLoaderSpin { to { transform: rotate(360deg); } }

/* -- HugeIcons mask-image (colorable SVG icons) ------------------- */
.hgi {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-image: var(--hgi);
    mask-image: var(--hgi);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

/* ====================================================================
   PROPERTY DETAIL PAGE — RESPONSIVE  (.pd-*)
   ==================================================================== */

/* ── Tablet (≤ 1100px) ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .pd-gallery-grid {
        grid-template-columns: 1fr 260px;
        grid-template-rows: 420px;
    }
    .pd-body-grid {
        grid-template-columns: 1fr 300px;
        gap: 24px;
    }
    .pd-spec-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── Mobile (≤ 800px) ──────────────────────────────────────────────── */
@media (max-width: 800px) {

    /* Breadcrumb */
    .pd-breadcrumb-bar { padding-top: 82px; padding-bottom: 8px; }
    .pd-breadcrumb     { font-size: 12px; }
    .pd-breadcrumb span { max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    /* Gallery — hide thumb strip, full-width main */
    .pd-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 280px;
    }
    .pd-gallery-thumbs { display: none; }

    /* Body — stack sidebar below main */
    .pd-body { padding: 20px 0 0; }
    .pd-body-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Sidebar — normal flow on mobile, no sticky */
    .pd-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }
    .pd-sidebar-card { flex: 1 1 calc(50% - 6px); min-width: 240px; }

    /* Spec cards — 3 per row */
    .pd-spec-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .pd-spec-card { padding: 12px 8px; }
    .pd-spec-value { font-size: 14px; }

    /* Title */
    .pd-title { font-size: 20px; }

    /* Mortgage section */
    .pd-mortgage-card { padding: 20px 16px; }
    .pd-mortgage-title { font-size: 16px; }

    /* Bottom sticky action bar */
    .pd-mob-action-bar {
        display: flex !important;
    }

    /* Hide sidebar action buttons — replaced by sticky bar */
    .pd-bid-card .btn-pd-offer,
    .pd-bid-card .btn-pd-tour,
    .pd-bid-card .btn-pd-3d {
        display: none;
    }
}

/* ── Small mobile (≤ 560px) ────────────────────────────────────────── */
@media (max-width: 560px) {
    .pd-gallery-grid { grid-template-rows: 240px; }

    /* Sidebar cards stack full-width */
    .pd-sidebar { flex-direction: column; }
    .pd-sidebar-card { flex: 1 1 100%; min-width: unset; }

    /* Spec cards — 2 per row */
    .pd-spec-cards { grid-template-columns: repeat(2, 1fr); }

    /* Bid card price — smaller */
    .pd-bid-currency,
    .pd-bid-amount { font-size: 22px; }

    /* Countdown smaller */
    .pd-countdown-val { font-size: 16px; }
    .pd-countdown-lbl { font-size: 8px; }

    /* Specs inline */
    .pd-specs-inline { gap: 10px; font-size: 13px; }

    /* Block title */
    .pd-block-title { font-size: 16px; }

    /* Mortgage */
    .pd-tenure-tabs { gap: 4px; }
    .pd-tenure-tab  { padding: 7px 10px; font-size: 12px; }

    /* Bottom bar buttons full-width */
    .pd-mob-action-bar { gap: 8px; padding: 12px 16px; }
    .pd-mob-action-bar .btn-pd-offer,
    .pd-mob-action-bar .btn-pd-tour,
    .pd-mob-action-bar .btn-pd-3d { flex: 1; justify-content: center; font-size: 13px; padding: 11px 12px; }
}

/* ── Mobile sticky bottom action bar ───────────────────────────────── */
/* Hidden on desktop, shown on ≤ 800px via the rule above */
.pd-mob-action-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(10, 14, 20, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 12px 20px;
    gap: 10px;
    align-items: center;
    justify-content: stretch;
    /* Notch / home-indicator safe area */
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

/* Push page content above the bar on mobile */
@media (max-width: 800px) {
    .pd-mortgage-section { padding-bottom: 80px; }
}
