﻿/* ============================================================
   PROPERTY DETAIL PAGE  –  pd- namespaced styles
   ============================================================ */

/* ---- Font ---- */
.pd-container, .pd-container * {
    font-family: 'Manrope', sans-serif;
}

/* ---- Base / layout ---- */
.pd-container {
    margin: 0 auto;
    padding: 0 20px;
}

.pd-main-wrap {
    padding-bottom: 60px;
}

/* ---- Background ---- */
body {
    background-color: #f8fafc;
}

/* ---- Remove any stray reveal/animation classes ---- */
.reveal, .reveal-delay-1, .reveal-delay-2 {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    visibility: visible !important;
}

/* ---- Breadcrumb ---- */
.pd-breadcrumb-wrap {
    padding: 14px 0;
}
.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    flex-wrap: wrap;
}
.pd-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}
.pd-breadcrumb a:hover { color: #1563df; }
.pd-breadcrumb span { color: #1e293b; font-weight: 500; }
.pd-breadcrumb .fas { font-size: 9px; }

/* ---- Glass Card ---- */
.pd-card {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s;
}
.pd-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.07);
}

/* ---- TOP GRID: gallery left, info right ---- */
.pd-top-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}
@media (max-width: 1024px) {
    .pd-top-grid { grid-template-columns: 1fr; }
}

/* ---- Gallery ---- */
.pd-gallery-main {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.pd-gallery-main img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
    cursor: pointer;
}
.pd-gallery-main:hover img { transform: scale(1.04); }
.pd-image-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: #3b82f6;
    z-index: 5;
    display: none;
}
.pd-image-loader.active {
    display: block;
}

.pd-gallery-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
}
.pd-badge-featured {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
    z-index: 10;
}
.pd-badge-recent {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
    z-index: 10;
}
.pd-badge-sale {
    background: #10b981;
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16,185,129,0.35);
}
.pd-badge-verified {
    background: #0ea5e9;
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(14,165,233,0.35);
}
.pd-view-all-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255,255,255,0.92);
    border: none;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    color: #1e293b;
}
.pd-view-all-btn:hover { background: #fff; transform: scale(1.04); }
.pd-fav-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 17px;
    color: #64748b;
    transition: all 0.2s;
}
.pd-fav-btn:hover { transform: scale(1.1); background: #fff; }
.pd-fav-btn.active i, .pd-fav-btn i.fas { color: #ef4444; }

.pd-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}
.pd-thumb {
    width: 90px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.65;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.pd-thumb:hover, .pd-thumb.active {
    opacity: 1;
    border-color: #1563df;
    outline-offset: 2px;
}
.pd-thumb-more { position: relative; }
.pd-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

/* ---- Info Column ---- */
.pd-info-col { display: flex; flex-direction: column; gap: 20px; }

.pd-info-card, .pd-contact-card { padding: 28px; }

.pd-property-title {
    font-size: 21px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 8px;
}
.pd-address {
    color: #64748b;
    font-size: 15px;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pd-address .fas { color: #1563df; }

.pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 22px;
}
.pd-price {
    font-size: 35px;
    font-weight: 800;
    color: #1563df;
}
.pd-price-sub { font-size: 13px; color: #64748b; }

.pd-stats-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.pd-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 8px;
    background: #f8fafc;
    border-radius: 16px;
    text-align: center;
}
.pd-stat i { color: #1563df; font-size: 17px; }
.pd-stat strong { font-size: 15px; font-weight: 700; color: #0f172a; }
.pd-stat span { font-size: 11px; color: #64748b; }

.pd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.pd-tag {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}
.pd-tag-green { background: #ecfdf5; color: #059669; }
.pd-tag-blue  { background: #eff6ff; color: #2563eb; }
.pd-tag-amber { background: #fffbeb; color: #d97706; }

/* ---- Buttons ---- */
.pd-btn-primary {
    background: #1563df;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s;
}
.pd-btn-primary:hover { background: #4f46e5; box-shadow: 0 8px 24px rgba(99,102,241,0.3); }

.pd-btn-outline {
    background: #fff;
    color: #334155;
    border: 2px solid #e2e8f0;
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s;
}
.pd-btn-outline:hover { border-color: #1563df; color: #1563df; }

.pd-btn-green {
    background: #10b981;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
}
.pd-btn-green:hover { background: #059669; }

.pd-btn-whatsapp {
    background: #25d366;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s;
}
.pd-btn-whatsapp:hover { background: #1ebe5d; }

.pd-btn-block { width: 100%; justify-content: center; }

.pd-top-action-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.pd-top-action-row .pd-btn-primary,
.pd-top-action-row .pd-btn-outline {
    flex: 1;
    min-width: 140px;
}

.pd-action-row {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}
.pd-action-btn {
    flex: 1;
    padding: 12px;
    background: #f8fafc;
    border: none;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
}
.pd-action-btn:hover { background: #f1f5f9; }

/* ---- Contact form ---- */
.pd-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 18px;
}
.pd-agent-mini {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    border-radius: 16px;
    margin-bottom: 20px;
}
.pd-agent-mini img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.pd-agent-mini .pd-avatar-fallback {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    background: #e2e8f0;
    color: #64748b;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.pd-agent-name { font-weight: 700; font-size: 14px; color: #0f172a; }
.pd-agent-role { font-size: 12px; color: #64748b; }
.pd-agent-stars { display: flex; align-items: center; gap: 3px; color: #f59e0b; font-size: 12px; margin-top: 4px; }
.pd-agent-stars span { color: #64748b; margin-left: 4px; }

.pd-form { display: flex; flex-direction: column; gap: 14px; }
.pd-form input,
.pd-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}
.pd-form input:focus,
.pd-form textarea:focus {
    border-color: #1563df;
    box-shadow: 0 0 0 3px rgba(21,99,223,0.12);
}
.pd-form textarea { resize: none; }
.pd-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}
.pd-checkbox-label input[type="checkbox"] { margin-top: 2px; }

.pd-contact-btns {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}
.pd-contact-btn-secondary {
    flex: 1;
    padding: 12px;
    background: #f1f5f9;
    border: none;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
}
.pd-contact-btn-secondary:hover { background: #e2e8f0; }

.pd-contact-btn-whatsapp {
    width: 100%;
    padding: 12px;
    background: #25d366;
    border: none;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
}
.pd-contact-btn-whatsapp:hover { background: #1da851; }
.pd-body-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}
@media (max-width: 1024px) {
    .pd-body-grid { grid-template-columns: 1fr; }
}

.pd-main-content { display: flex; flex-direction: column; gap: 24px; }

/* ---- Section Titles ---- */
.pd-section-title {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pd-section-title i { color: #1563df; }

/* ---- Key Highlights ---- */
.pd-highlights { display: flex; flex-direction: column; gap: 12px; }
.pd-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 16px;
}
.pd-highlight-item i { color: #1563df; margin-top: 3px; flex-shrink: 0; }
.pd-highlight-item p { margin: 0; font-size: 13px; color: #334155; line-height: 1.6; }
.pd-highlight-green { background: rgba(236,253,245,0.6); border: 1px solid #d1fae5; }
.pd-highlight-green i { color: #10b981; }

/* ---- Property Info Grid ---- */
.pd-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 32px;
}
@media (max-width: 640px) { .pd-info-grid { grid-template-columns: repeat(2,1fr); } }
.pd-info-item { display: flex; flex-direction: column; gap: 4px; }
.pd-info-label { font-size: 12px; color: #94a3b8; }
.pd-info-val { font-size: 14px; font-weight: 600; color: #0f172a; }

/* ---- Amenity List ---- */
.pd-amenity-list-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
}
@media (max-width: 640px) { .pd-amenity-list-grid { grid-template-columns: repeat(2,1fr); } }
.pd-amenity-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}
.pd-amenity-list-item i { color: #10b981; }

/* ================================================================
   Agent Card
   ================================================================ */
.pd-agent-section {
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
}

/* -- Banner -- */
.pd-agc-banner {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center 40%;
}
.pd-agc-banner-fallback {
    background: linear-gradient(135deg, #0284c7 0%, #7c3aed 100%);
}
.pd-agc-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.7) 0%, rgba(15,23,42,.1) 100%);
}

/* Banner badges */
.pd-agc-banner-badges {
    position: absolute;
    bottom: 20px;
    left: 150px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}
.pd-agc-badge-profile {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,.8);
}
.pd-agc-pill {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.pd-agc-pill-premium { background: #f59e0b; color: #fff; box-shadow: 0 2px 4px rgba(245,158,11,.4); }
.pd-agc-pill-type    { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; text-transform: uppercase; }

/* Avatar */
.pd-agc-avatar-wrap {
    position: absolute;
    bottom: -45px;
    left: 24px;
    z-index: 20;
}
.pd-agc-avatar-img,
.pd-agc-avatar-wrap img.pd-agc-avatar-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
    background: #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.1);
    display: block;
}
.pd-agc-avatar-wrap .pd-avatar-fallback.pd-agc-avatar-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: #4f46e5;
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-agc-status-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    background: #10b981;
    border: 3px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-agc-status-dot i { color: #fff; font-size: 10px; }

/* Card body */
.pd-agc-body {
    padding: 24px;
    padding-top: 58px;
}

/* Header: primary info + rating box */
.pd-agc-header-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}
.pd-agc-primary { flex: 1; min-width: 240px; }
.pd-agc-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.2;
}
.pd-agc-company-row {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0284c7;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}
.pd-agc-company-row i { font-size: 13px; }
.pd-agc-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}
.pd-agc-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.83rem;
    color: #64748b;
    font-weight: 500;
}
.pd-agc-info-row i { color: #94a3b8; font-size: 13px; flex-shrink: 0; }

/* Rating box */
.pd-agc-rating-box {
    text-align: right;
    background: #f0f4f8;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.pd-agc-rating-score {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}
.pd-agc-rating-score i { color: #f59e0b; font-size: 18px; }
.pd-agc-rating-reviews { font-size: 0.78rem; color: #64748b; font-weight: 500; }
.pd-agc-member-since {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}
.pd-agc-member-since i { font-size: 11px; }

/* Bio */
.pd-agc-bio-block {
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid #0284c7;
    margin-bottom: 24px;
}
.pd-agc-bio-block p {
    font-size: 0.875rem;
    color: #334155;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

/* Stats grid */
.pd-agc-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
.pd-agc-stat-box {
    padding: 14px 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.pd-agc-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 15px;
}
.pd-agc-si-blue   { background: #e0f2fe; color: #0284c7; }
.pd-agc-si-purple { background: #ede9fe; color: #8b5cf6; }
.pd-agc-si-green  { background: #d1fae5; color: #059669; }
.pd-agc-si-orange { background: #fef3c7; color: #d97706; }
.pd-agc-stat-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2px;
}
.pd-agc-stat-lbl {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Specializations + Working Areas */
.pd-agc-tags-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}
.pd-agc-tags-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.pd-agc-tags-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    width: 130px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}
.pd-agc-tags-label i { color: #64748b; font-size: 13px; }
.pd-agc-chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-agc-chip {
    font-size: 0.73rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
}
.pd-agc-chip-spec { background: #e0f2fe; color: #0284c7; border: 1px solid #bae6fd; }
.pd-agc-chip-area { background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; }

/* Client Reviews */
.pd-agc-reviews-block {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}
.pd-agc-reviews-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pd-agc-reviews-title i { color: #64748b; }
.pd-agc-review-item { padding: 12px 0; border-bottom: 1px solid #f8fafc; }
.pd-agc-review-item:last-child { border-bottom: none; }
.pd-agc-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
}
.pd-agc-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    color: #fff;
}
.pd-avatar-indigo { background: #4f46e5; }
.pd-avatar-green  { background: #16a34a; }
.pd-avatar-rose   { background: #e11d48; }
.pd-avatar-amber  { background: #d97706; }
.pd-avatar-blue   { background: #0284c7; }
.pd-agc-review-meta { flex: 1; min-width: 0; }
.pd-agc-review-name { font-size: 13px; color: #0f172a; display: block; font-weight: 600; }
.pd-agc-review-stars { display: flex; gap: 2px; margin-top: 2px; }
.pd-agc-review-stars i { font-size: 11px; color: #f59e0b; }
.pd-agc-review-stars i.pd-star-empty { color: #e2e8f0; }
.pd-agc-review-date { font-size: 11px; color: #94a3b8; white-space: nowrap; flex-shrink: 0; }
.pd-agc-review-text { font-size: 12.5px; color: #475569; line-height: 1.55; margin: 0; }

/* Action buttons */
.pd-agc-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 12px;
}
.pd-agc-btn {
    padding: 13px 14px;
    border: none;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.pd-agc-btn:hover { transform: translateY(-1px); }
.pd-agc-btn-outline { background: #fff; color: #0284c7; border: 1px solid #0284c7; }
.pd-agc-btn-outline:hover { background: #e0f2fe; }
.pd-agc-btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 4px 6px rgba(37,211,102,.2); }
.pd-agc-btn-whatsapp:hover { background: #128C7E; }
.pd-agc-btn-primary { background: #0284c7; color: #fff; box-shadow: 0 4px 6px rgba(2,132,199,.25); }
.pd-agc-btn-primary:hover { background: #0369a1; }

/* ---- Locality ---- */
.pd-locality-image {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 240px;
    margin-bottom: 20px;
}
.pd-locality-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-locality-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
}
.pd-locality-desc { font-size: 13px; color: #475569; line-height: 1.7; margin-bottom: 24px; }

.pd-nearby-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
}
@media (max-width: 640px) { .pd-nearby-grid { grid-template-columns: 1fr; } }
.pd-nearby-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s;
}
.pd-nearby-item:hover { background: rgba(99,102,241,0.05); transform: translateX(6px); }
.pd-nearby-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}
.pd-nearby-indigo { background: #eef2ff; color: #1563df; }
.pd-nearby-green  { background: #ecfdf5; color: #059669; }
.pd-nearby-rose   { background: #fff1f2; color: #f43f5e; }
.pd-nearby-amber  { background: #fffbeb; color: #d97706; }
.pd-nearby-item h4 { font-size: 13px; font-weight: 700; color: #0f172a; margin: 0 0 10px; }
.pd-nearby-item ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pd-nearby-item ul li { display: flex; justify-content: space-between; font-size: 12px; color: #475569; }
.pd-nearby-item ul li span:last-child { font-weight: 600; }

/* ---- Reviews ---- */
.pd-reviews-summary { display: flex; gap: 40px; align-items: flex-start; margin-bottom: 28px; }
@media (max-width: 640px) { .pd-reviews-summary { flex-direction: column; } }
.pd-rating-big { text-align: center; flex-shrink: 0; }
.pd-rating-score { font-size: 52px; font-weight: 800; color: #0f172a; line-height: 1; margin-bottom: 8px; }
.pd-rating-stars { display: flex; justify-content: center; gap: 3px; color: #f59e0b; font-size: 18px; margin-bottom: 6px; }
.pd-rating-big p { font-size: 13px; color: #64748b; margin: 0; }
.pd-rating-bars { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pd-bar-row { display: flex; align-items: center; gap: 12px; }
.pd-bar-row > span:first-child { font-size: 13px; color: #475569; width: 52px; flex-shrink: 0; }
.pd-bar-row > span:last-child { font-size: 13px; color: #475569; width: 28px; text-align: right; flex-shrink: 0; }
.pd-bar { flex: 1; height: 8px; background: #f1f5f9; border-radius: 999px; overflow: hidden; }
.pd-bar-fill { height: 100%; background: #f59e0b; border-radius: 999px; }
.pd-divider { height: 1px; background: linear-gradient(90deg,transparent,#e2e8f0,transparent); margin-bottom: 28px; }
.pd-reviews-list { display: flex; flex-direction: column; gap: 20px; }
.pd-review-card { padding: 22px; background: #f8fafc; border-radius: 18px; }
.pd-review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.pd-reviewer { display: flex; align-items: center; gap: 12px; }
.pd-reviewer-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
}
.pd-avatar-indigo { background: #eef2ff; color: #1563df; }
.pd-avatar-green  { background: #ecfdf5; color: #059669; }
.pd-reviewer strong { font-size: 15px; color: #0f172a; display: block; }
.pd-reviewer span { font-size: 13px; color: #94a3b8; }
.pd-review-stars { display: flex; gap: 3px; color: #f59e0b; font-size: 14px; }
.pd-review-card > p { font-size: 14px; color: #475569; line-height: 1.65; margin: 0; }

/* ---- Property Overview ---- */
.pd-overview-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}
@media (max-width: 768px) { .pd-overview-grid { grid-template-columns: repeat(2,1fr); } }
.pd-overview-item {
    padding: 16px;
    background: #f8fafc;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pd-overview-item span { font-size: 13px; color: #94a3b8; }
.pd-overview-item strong { font-size: 15px; font-weight: 700; color: #0f172a; }

/* ---- Description ---- */
.pd-description { display: flex; flex-direction: column; gap: 14px; }
.pd-description p { font-size: 14px; color: #475569; line-height: 1.75; margin: 0; }

/* ---- Amenity Icon Grid ---- */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 14px;
}
@media (max-width: 768px) { .amenities-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 480px) { .amenities-grid { grid-template-columns: repeat(3,1fr); } }
.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}
.amenity-item .material-icons-outlined { font-size: 22px; color: #1563df; }
.amenity-item span { font-size: 22px; font-weight: 500; color: #334155; }
.amenity-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(21,99,223,0.15);
    border-color: rgba(21,99,223,0.3);
}

/* Legacy */
.pd-amenity-icon-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 14px;
}
@media (max-width: 768px) { .pd-amenity-icon-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 480px) { .pd-amenity-icon-grid { grid-template-columns: repeat(3,1fr); } }
.pd-amenity-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}
.pd-amenity-box i { font-size: 22px; color: #1563df; }
.pd-amenity-box span { font-size: 12px; font-weight: 500; color: #334155; }
.pd-amenity-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(21,99,223,0.15);
    border-color: rgba(21,99,223,0.3);
}

/* ---- Map ---- */
.pd-map-wrap { border-radius: 18px; overflow: hidden; height: 320px; margin-bottom: 20px; }
.pd-location-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media (max-width: 640px) { .pd-location-stats { grid-template-columns: repeat(2,1fr); } }
.pd-location-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 8px;
    background: #f8fafc;
    border-radius: 16px;
    text-align: center;
}
.pd-location-stat i { font-size: 22px; color: #1563df; }
.pd-location-stat strong { font-size: 15px; font-weight: 700; color: #0f172a; }
.pd-location-stat span { font-size: 12px; color: #64748b; }

/* ---- Sidebar ---- */
.pd-sidebar { display: flex; flex-direction: column; gap: 22px; }
.pd-contact-card { margin-top: 16px; }

/* ---- EMI ---- */
.pd-emi-form { display: flex; flex-direction: column; gap: 16px; }
.pd-emi-field { display: flex; flex-direction: column; gap: 6px; }
.pd-emi-field label { font-size: 13px; color: #64748b; }
.pd-emi-field input {
    padding: 11px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}
.pd-emi-field input:focus {
    border-color: #1563df;
    box-shadow: 0 0 0 3px rgba(21,99,223,0.12);
}
.pd-emi-result { padding-top: 16px; border-top: 1px solid #f1f5f9; }
.pd-emi-label { display: block; font-size: 13px; color: #64748b; margin-bottom: 4px; }
.pd-emi-value { font-size: 26px; font-weight: 800; color: #1563df; }
.pd-emi-value em { font-style: normal; font-size: 14px; color: #94a3b8; font-weight: 400; }

/* ---- Similar Properties ---- */
.pd-similar-list { display: flex; flex-direction: column; gap: 14px; }
.pd-similar-item {
    display: flex;
    gap: 14px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.2s;
    align-items: center;
}
.pd-similar-item:hover { background: #f1f5f9; }
.pd-similar-item img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.pd-similar-item > div { display: flex; flex-direction: column; gap: 4px; }
.pd-similar-item strong { font-size: 14px; font-weight: 700; color: #0f172a; }
.pd-similar-item span { font-size: 13px; color: #64748b; }
.pd-similar-price { color: #1563df !important; font-weight: 700 !important; font-size: 15px !important; }

/* ---- Agent Properties ---- */
.pd-agent-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.pd-agent-property-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pd-agent-property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(21, 99, 223, 0.15);
    border-color: #1563df;
}
.pd-agp-image-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.pd-agp-image-wrap > img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.pd-agp-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.38) 0%, transparent 55%);
    pointer-events: none;
}
.pd-agp-img-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #e0f2fe 0%, #ede9fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #94a3b8;
}
.pd-agp-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 7px;
}
.pd-agp-badge-sale { background: #dbeafe; color: #1d4ed8; }
.pd-agp-badge-rent { background: #dcfce7; color: #15803d; }
.pd-agp-badge-pg   { background: #fef3c7; color: #b45309; }
.pd-agp-badge-pro {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(202,138,4,0.92);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
}
.pd-agent-property-info {
    padding: 14px 16px 16px;
}
.pd-agent-property-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pd-agp-location {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pd-agp-location i { color: #0284c7; flex-shrink: 0; }
.pd-agent-property-details {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.pd-agent-property-details span {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 3px;
}
.pd-agent-property-details i { color: #94a3b8; }
.pd-agp-price-row { display: flex; align-items: baseline; gap: 4px; }
.pd-agent-property-price {
    font-size: 17px;
    font-weight: 800;
    color: #1563df;
}
.pd-agp-per-month { font-size: 11px; color: #64748b; font-weight: 500; }

/* ---- Safety Tips ---- */
.pd-safety-card { background: linear-gradient(135deg, #fffbeb, #fff7ed); border-color: #fde68a; }
.pd-safety-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pd-safety-icon {
    width: 40px; height: 40px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #d97706;
}
.pd-safety-header h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0; }
.pd-safety-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pd-safety-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #475569; line-height: 1.5; }
.pd-safety-list i { color: #d97706; margin-top: 2px; flex-shrink: 0; }

/* ---- Services Section ---- */
.pd-services-section { margin-top: 60px; }
.pd-services-header { text-align: center; margin-bottom: 32px; }
.pd-services-header h2 { font-size: 28px; font-weight: 800; color: #0f172a; margin: 0 0 10px; }
.pd-services-header p { font-size: 15px; color: #64748b; margin: 0; }
.pd-service-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.pd-service-tab {
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: #fff;
    color: #475569;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.pd-service-tab:hover { background: #f8fafc; }
.pd-service-tab.active { background: #0f172a; color: #fff; }
.pd-services-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 16px;
}
@media (max-width: 768px) { .pd-services-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 480px) { .pd-services-grid { grid-template-columns: repeat(2,1fr); } }
.pd-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 12px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    text-align: center;
}
.pd-service-card span { font-size: 13px; font-weight: 600; color: #0f172a; }
.pd-service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.pd-service-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.pd-si-indigo { background: #eef2ff; color: #1563df; }
.pd-si-green  { background: #ecfdf5; color: #059669; }
.pd-si-amber  { background: #fffbeb; color: #d97706; }
.pd-si-rose   { background: #fff1f2; color: #f43f5e; }
.pd-si-blue   { background: #eff6ff; color: #2563eb; }
.pd-si-purple { background: #faf5ff; color: #9333ea; }
.pd-lightbox-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    display: none;
    flex-direction: column;
    z-index: 10000;
}
.pd-lightbox-overlay.active {
    display: flex;
}

/* Top Bar */
.pd-lb-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 56px;
    flex-shrink: 0;
    background: #111;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pd-lb-back {
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.pd-lb-back:hover { background: rgba(255,255,255,0.22); }
.pd-lb-counter {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.pd-lb-topbar-actions {
    display: flex;
    gap: 10px;
}
.pd-lb-action-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}
.pd-lb-action-btn:hover { background: rgba(255,255,255,0.18); }

/* Stage */
.pd-lb-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.pd-lb-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 70vw;
    max-height: 100%;
}
#pd-lb-image {
    max-width: 100%;
    max-height: calc(100vh - 200px);
    object-fit: contain;
    border-radius: 4px;
    user-select: none;
}
.pd-lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
}
.pd-lb-arrow:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-50%) scale(1.08);
}
.pd-lb-prev { left: 20px; }
.pd-lb-next { right: 20px; }

/* Bottom */
.pd-lb-bottom {
    flex-shrink: 0;
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 12px 20px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.pd-lb-property-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.pd-lb-property-info strong {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.pd-lb-property-info span {
    font-size: 12px;
    color: #94a3b8;
}

/* Thumb Strip */
.pd-lb-thumbstrip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    max-width: 80vw;
    padding-bottom: 2px;
    scrollbar-width: none;
}
.pd-lb-thumbstrip::-webkit-scrollbar { display: none; }
.pd-lb-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
}
.pd-lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pd-lb-thumb.active,
.pd-lb-thumb:hover {
    opacity: 1;
    border-color: #1563df;
}

@media (max-width: 768px) {
    .pd-lb-img-wrap { max-width: 100vw; }
    .pd-lb-prev { left: 8px; }
    .pd-lb-next { right: 8px; }
    .pd-lb-arrow { width: 40px; height: 40px; font-size: 14px; }
    .pd-lb-action-btn span { display: none; }
    .pd-lb-counter { font-size: 13px; }
}

/* ---- Schedule Visit Modal ---- */
.pd-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
}

.pd-modal-overlay.show {
    display: block;
}

.pd-modal-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    font-family: Arial, sans-serif;
}

.pd-modal-popup.show {
    display: block;
}

.pd-popup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    position: relative;
}

.pd-popup-header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.pd-popup-header p {
    font-size: 14px;
    opacity: 0.9;
}

.pd-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #ff4757;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    line-height: 40px;
    transition: background 0.2s, transform 0.2s;
}

.pd-close-btn:hover {
    background: #ff3838;
    transform: rotate(90deg);
}

.popup-body {
    display: grid;
    grid-template-columns: 1fr;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
}



.property-section {
    padding: 30px;
}

.property-section h2 {
    color: #764ba2;
    margin-bottom: 20px;
    font-size: 22px;
}

.property-img {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
}

.property-img img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9fa;
    margin-bottom: 10px;
    border-radius: 8px;
}

.detail-item:hover {
    background: #e9ecef;
}

.detail-label {
    font-weight: bold;
    color: #333;
}

.detail-value {
    color: #666;
}

.price-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

.price {
    font-size: 32px;
    font-weight: bold;
}

.status {
    display: inline-block;
    background: #00b894;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

.schedule-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #2563eb;
}

.btn-secondary {
    background: #f9fafb;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #f3f4f6;
}

.pd-modal {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.pd-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.pd-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.pd-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.pd-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.pd-modal-body {
    padding: 20px;
}

.pd-form-group {
    margin-bottom: 16px;
}

.pd-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
}

.pd-form-group input,
.pd-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.pd-form-group input:focus,
.pd-form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pd-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.pd-btn-primary {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.pd-btn-primary:hover {
    background: #2563eb;
}

.pd-btn-secondary {
    background: #f9fafb;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.pd-btn-secondary:hover {
    background: #f3f4f6;
}

/* ---- Toast Notifications ---- */
.pd-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 500px;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.pd-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.pd-toast-success {
    background: #10b981;
    color: white;
}

.pd-toast-error {
    background: #ef4444;
    color: white;
}

.pd-toast-info {
    background: #3b82f6;
    color: white;
}

.pd-toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.pd-toast-content i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .pd-modal-popup {
        width: 95%;
        margin: 20px;
    }
    .pd-toast {
        left: 20px;
        right: 20px;
        min-width: auto;
    }
}

/* ══════════════════════════════════════════════════════════════════
   Schedule Visit Modal  (sv-*)
   ══════════════════════════════════════════════════════════════════ */

/* Backdrop */
.sv-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.65);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.sv-overlay.sv-visible {
    display: flex;
    opacity: 1;
}

/* Dialog */
.sv-box {
    position: relative;
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    max-height: calc(100vh - 32px);
    display: grid;
    grid-template-columns: 290px 1fr;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
    animation: sv-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes sv-pop {
    from { opacity: 0; transform: scale(0.90) translateY(20px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}

/* Close button */
.sv-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: background 0.2s, transform 0.2s;
}
.sv-close:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

/* ── Left: Property Preview ── */
.sv-preview {
    background: linear-gradient(165deg, #0f172a 0%, #1e3a5f 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #fff;
}

.sv-preview-img {
    position: relative;
    height: 190px;
    flex-shrink: 0;
}
.sv-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.82;
}
.sv-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    font-size: 52px;
    color: rgba(255, 255, 255, 0.25);
}
.sv-price-chip {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #1563df;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.2px;
}

.sv-preview-body {
    padding: 18px 18px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}
.sv-prop-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}
.sv-prop-address {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.60);
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    line-height: 1.45;
}
.sv-prop-address i { margin-top: 2px; flex-shrink: 0; color: #60a5fa; }

.sv-prop-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.sv-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.82);
}
.sv-stat i { font-size: 11px; color: #93c5fd; }

/* Agent */
.sv-agent-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}
.sv-agent-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}
.pd-avatar-fallback.sv-agent-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}
.sv-agent-info { display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.sv-agent-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sv-agent-role { font-size: 11px; color: rgba(255,255,255,0.50); }
.sv-agent-role i { color: #34d399; font-size: 10px; }

/* Trust badges */
.sv-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
}
.sv-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.07);
    padding: 4px 10px;
    border-radius: 20px;
}
.sv-trust-badges span i { color: #4ade80; font-size: 10px; }

/* ── Right: Form Column ── */
.sv-form-col {
    padding: 26px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
    max-height: calc(100vh - 32px);
}

.sv-form-header {
    display: flex;
    align-items: center;
    gap: 14px;
}
.sv-form-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: #1563df;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sv-form-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px;
    line-height: 1.3;
}
.sv-form-header p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* Form */
.sv-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.sv-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.sv-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sv-field label {
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sv-field label i { color: #1563df; font-size: 11px; width: 13px; }
.sv-req { color: #ef4444; }
.sv-optional { color: #94a3b8; font-weight: 400; font-size: 11.5px; }

.sv-field input,
.sv-field textarea {
    padding: 9px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}
.sv-field input:focus,
.sv-field textarea:focus {
    border-color: #1563df;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(21, 99, 223, 0.12);
}
.sv-field textarea {
    resize: vertical;
    min-height: 68px;
}

/* Consent */
.sv-consent {
    padding: 11px 13px;
    background: #f0fdf4;
    border-radius: 10px;
    border: 1px solid #bbf7d0;
}
.sv-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    color: #374151;
    line-height: 1.5;
    user-select: none;
}
.sv-checkbox-wrap input[type="checkbox"] { display: none; }
.sv-checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #16a34a;
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: 1px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.sv-checkbox-wrap input[type="checkbox"]:checked ~ .sv-checkmark {
    background: #16a34a;
    border-color: #16a34a;
}
.sv-checkbox-wrap input[type="checkbox"]:checked ~ .sv-checkmark::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}

/* Actions */
.sv-form-actions {
    display: flex;
    gap: 10px;
    padding-top: 2px;
}
.sv-btn-cancel {
    flex-shrink: 0;
    padding: 10px 20px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    font-family: inherit;
}
.sv-btn-cancel:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fff5f5;
}
.sv-btn-submit {
    flex: 1;
    padding: 10px 20px;
    background: #1563df;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    font-family: inherit;
}
.sv-btn-submit:hover {
    background: #1251c4;
    box-shadow: 0 4px 16px rgba(21, 99, 223, 0.35);
}
.sv-btn-submit:active  { transform: scale(0.98); }
.sv-btn-submit:disabled {
    background: #93c5fd;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ── Responsive ── */
@media (max-width: 700px) {
    .sv-box {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }
    .sv-preview { display: none; }
    .sv-close { color: #374151; background: rgba(0,0,0,0.08); }
    .sv-form-col { padding: 22px 18px 24px; max-height: none; }
    .sv-field-row { grid-template-columns: 1fr; }
    .sv-form-actions { flex-direction: column-reverse; }
    .sv-btn-cancel { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    .pd-agc-actions-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   VIEW NUMBER MODAL (#vnModal)
═══════════════════════════════════════════════ */
.vn-overlay {
  position: fixed; inset: 0; z-index: 9900;
  background: rgba(15,23,42,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.vn-box {
  position: relative; background: #fff; border-radius: 20px;
  width: 100%; max-width: 420px;
  box-shadow: 0 24px 60px rgba(15,23,42,.18);
  overflow: hidden; animation: vnSlideUp .25s ease;
}
@keyframes vnSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.vn-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: #f1f5f9; color: #64748b; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, color .2s;
}
.vn-close:hover { background: #ef4444; color: #fff; }

.vn-loading {
  padding: 48px 24px; text-align: center; color: #64748b; font-size: .9rem;
}
.vn-loading i { font-size: 2rem; color: #2563eb; margin-bottom: 12px; display: block; }

.vn-header {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  padding: 28px 24px 22px; display: flex; gap: 16px; align-items: center;
}
.vn-avatar {
  width: 64px; height: 64px; border-radius: 14px; object-fit: cover;
  border: 3px solid rgba(255,255,255,.3); flex-shrink: 0;
}
.vn-avatar-fallback {
  width: 64px; height: 64px; border-radius: 14px; flex-shrink: 0;
  background: rgba(255,255,255,.2); color: #fff; font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid rgba(255,255,255,.3);
}
.vn-agent-name { font-size: 1.1rem; font-weight: 800; color: #fff; margin: 0 0 3px; }
.vn-agent-company { font-size: .8rem; color: rgba(255,255,255,.75); margin: 0 0 6px; }
.vn-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.vn-badge {
  font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,.18); color: #fff;
}
.vn-badge.green { background: #22c55e; }

.vn-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.vn-number-row {
  display: flex; align-items: center; gap: 12px;
  background: #f0f9ff; border: 1.5px solid #bae6fd; border-radius: 14px; padding: 14px 16px;
}
.vn-number-row.whatsapp { background: #f0fdf4; border-color: #bbf7d0; }
.vn-num-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.vn-number-row .vn-num-icon { background: #dbeafe; color: #2563eb; }
.vn-number-row.whatsapp .vn-num-icon { background: #dcfce7; color: #16a34a; }
.vn-num-label { font-size: .72rem; font-weight: 600; color: #64748b; margin-bottom: 2px; }
.vn-num-value { font-size: 1.15rem; font-weight: 800; color: #0f172a; letter-spacing: .5px; }
.vn-num-cta {
  margin-left: auto; padding: 8px 16px; border-radius: 10px; border: none;
  font-family: inherit; font-size: .82rem; font-weight: 700; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: opacity .2s, transform .15s;
}
.vn-num-cta:hover { opacity: .88; transform: translateY(-1px); }
.vn-number-row .vn-num-cta { background: #2563eb; color: #fff; }
.vn-number-row.whatsapp .vn-num-cta { background: #16a34a; color: #fff; }

.vn-quota { text-align: center; font-size: .78rem; color: #94a3b8; padding-top: 4px; }
.vn-quota span { font-weight: 700; color: #475569; }

.vn-error { padding: 32px 24px; text-align: center; }
.vn-error-icon { font-size: 2.5rem; color: #ef4444; margin-bottom: 12px; }
.vn-error h3 { font-size: 1rem; font-weight: 800; color: #0f172a; margin: 0 0 6px; }
.vn-error p { font-size: .85rem; color: #64748b; margin: 0 0 16px; }
.vn-error a { display: inline-block; padding: 10px 24px; background: #2563eb; color: #fff; border-radius: 10px; font-weight: 700; font-size: .85rem; text-decoration: none; }

@media (max-width: 480px) {
  .vn-box { border-radius: 16px; }
  .vn-num-value { font-size: 1rem; }
}
