/* ===== PROPERTY DETAIL PAGE ===== */
.pd-breadcrumb { padding: 14px 0; font-size: 13px; color: #888; margin-top: 80px; }
.pd-breadcrumb a { color: var(--primary); text-decoration: none; }
.pd-breadcrumb i { font-size: 10px; margin: 0 6px; color: #ccc; }
.pd-breadcrumb span { color: #333; }

/* Gallery */
.pd-gallery { padding: 0 0 20px; }
.pd-gallery-grid { display: grid; grid-template-columns: 1fr 200px; gap: 8px; border-radius: 16px; overflow: hidden; max-height: 440px; }
.pd-gallery-main { position: relative; background: #f0f0f0; overflow: hidden; }
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform 0.3s; }
.pd-gallery-main img:hover { transform: scale(1.03); }
.pd-gallery-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: #ccc; font-size: 48px; gap: 10px; }
.pd-gallery-placeholder span { font-size: 14px; }
.pd-badge { position: absolute; top: 16px; left: 16px; padding: 6px 16px; border-radius: 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; color: #fff; z-index: 3; }
.pd-badge-sale { background: var(--primary); }
.pd-badge-rent { background: #3498db; }
.pd-gallery-count { position: absolute; bottom: 16px; right: 16px; background: rgba(0,0,0,0.7); color: #fff; border: none; padding: 8px 16px; border-radius: 8px; font-size: 13px; cursor: pointer; z-index: 3; backdrop-filter: blur(4px); }
.pd-gallery-count:hover { background: rgba(0,0,0,0.85); }
.pd-gallery-thumbs { display: flex; flex-direction: column; gap: 8px; }
.pd-thumb { border-radius: 8px; overflow: hidden; cursor: pointer; flex: 1; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.pd-thumb:hover img { opacity: 0.8; }
.pd-thumb-more { background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 15px; }

/* Layout */
.pd-content { padding: 0 0 60px; }
.pd-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; }

/* Price & Stats */
.pd-header-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 8px; }
.pd-price { font-size: 36px; font-weight: 700; color: #1a1a2e; font-family: 'Playfair Display', serif; }
.pd-est-payment { font-size: 13px; color: #888; }
.pd-quick-stats { display: flex; align-items: center; gap: 0; }
.pd-stat { text-align: center; padding: 0 20px; }
.pd-stat-val { display: block; font-size: 24px; font-weight: 700; color: #1a1a2e; }
.pd-stat-lbl { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.pd-stat-sep { width: 1px; height: 40px; background: #e0e0e0; }
.pd-address { font-size: 15px; color: #555; margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
.pd-address i { color: var(--primary); }

/* Facts Grid */
.pd-facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; padding: 20px; background: #f8fafb; border-radius: 12px; border: 1px solid #eef2f5; }
.pd-fact { display: flex; align-items: center; gap: 12px; padding: 10px; }
.pd-fact i { width: 36px; height: 36px; background: rgba(10,126,140,0.1); color: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.pd-fact-label { display: block; font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.3px; }
.pd-fact-val { font-size: 14px; font-weight: 600; color: #333; }

/* Sections */
.pd-section { margin-bottom: 30px; }
.pd-section h2 { font-size: 20px; font-weight: 600; color: #1a1a2e; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #eee; }
.pd-section h2 i { color: var(--primary); margin-right: 8px; font-size: 18px; }
.pd-description { max-height: 160px; overflow: hidden; transition: max-height 0.4s; line-height: 1.7; color: #555; font-size: 15px; }
.pd-description.expanded { max-height: 2000px; }
.pd-read-more { background: none; border: none; color: var(--primary); font-weight: 600; cursor: pointer; font-size: 14px; padding: 4px 0; }

/* Features */
.pd-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pd-feature { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f8fafb; border-radius: 8px; font-size: 14px; color: #444; }
.pd-feature i { color: var(--primary); font-size: 12px; }

/* Sidebar Cards */
.pd-showing-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 14px; padding: 24px; margin-bottom: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.pd-showing-card h3 { font-size: 20px; font-weight: 600; color: #1a1a2e; margin-bottom: 4px; }
.pd-showing-subtitle { font-size: 13px; color: #888; margin-bottom: 16px; }

/* Date chips */
.pd-dates-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.pd-date-chip { min-width: 72px; padding: 10px 8px; text-align: center; border: 2px solid #e0e0e0; border-radius: 10px; cursor: pointer; transition: all 0.2s; flex-shrink: 0; }
.pd-date-chip:hover { border-color: var(--primary); }
.pd-date-chip.active { border-color: var(--primary); background: rgba(10,126,140,0.04); }
.pd-date-day { display: block; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #888; }
.pd-date-chip.active .pd-date-day { color: var(--primary); }
.pd-date-num { display: block; font-size: 24px; font-weight: 700; color: #1a1a2e; line-height: 1.2; }
.pd-date-month { display: block; font-size: 11px; color: #888; text-transform: uppercase; }
.pd-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: #bbb; font-size: 12px; }
.pd-divider::before, .pd-divider::after { content: ''; flex: 1; height: 1px; background: #e0e0e0; }
.pd-checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #555; cursor: pointer; margin-bottom: 16px; }
.pd-checkbox-row input { width: 18px; height: 18px; accent-color: var(--primary); }

/* Tour type buttons */
.pd-tour-type { display: flex; gap: 8px; margin-bottom: 18px; }
.pd-tour-btn { flex: 1; padding: 10px; border: 2px solid #e0e0e0; border-radius: 10px; background: #fff; cursor: pointer; font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; color: #555; font-family: inherit; }
.pd-tour-btn:hover { border-color: var(--primary); }
.pd-tour-btn.active { border-color: var(--primary); color: var(--primary); background: rgba(10,126,140,0.04); }
.pd-tour-btn i { font-size: 16px; }
.pd-next-btn { padding: 14px; font-size: 15px; font-weight: 600; border-radius: 10px; }

/* Agent Card */
.pd-agent-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 14px; padding: 24px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.pd-agent-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; margin: 0 auto 12px; }
.pd-agent-card h4 { font-size: 17px; color: #1a1a2e; margin-bottom: 2px; }
.pd-agent-role { font-size: 13px; color: #888; margin-bottom: 14px; }
.pd-agent-contact { display: block; font-size: 13px; color: var(--primary); text-decoration: none; margin-bottom: 6px; }
.pd-agent-contact:hover { text-decoration: underline; }

/* Showing Modal */
.pd-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; align-items: center; justify-content: center; backdrop-filter: blur(3px); }
.pd-modal-overlay.show { display: flex; }
.pd-modal { background: #fff; border-radius: 16px; width: 560px; max-width: 94vw; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 80px rgba(0,0,0,0.25); animation: modalSlide 0.3s ease; }
.pd-modal-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 2px solid var(--primary); }
.pd-modal-top h3 { font-size: 18px; font-weight: 700; flex: 1; text-align: center; }
.pd-modal-back, .pd-modal-close { background: none; border: none; font-size: 20px; cursor: pointer; color: #333; padding: 4px; }
.pd-modal-note { padding: 16px 24px 0; font-size: 14px; color: #555; }
#showingForm { padding: 16px 24px 28px; }
.pd-form-group { margin-bottom: 16px; }
.pd-form-group label { display: block; font-size: 13px; font-weight: 500; color: #333; margin-bottom: 6px; }
.pd-form-group input, .pd-form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid #d0d0d0; border-radius: 8px; font-size: 14px; font-family: inherit; }
.pd-form-group input:focus, .pd-form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,126,140,0.1); }
.pd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pd-form-q { font-size: 14px; font-weight: 500; color: #333; margin-bottom: 10px; }
.pd-radio-row, .pd-check-row { display: flex; gap: 20px; }
.pd-radio-row label, .pd-check-row label { display: flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.pd-radio-row input, .pd-check-row input { accent-color: var(--primary); }
.pd-form-terms { font-size: 12px; color: #888; margin-bottom: 16px; }
.pd-form-terms a { color: var(--primary); }
.pd-submit-showing { padding: 14px; font-size: 16px; font-weight: 600; border-radius: 10px; background: #e74c3c; }
.pd-submit-showing:hover { background: #c0392b; }
.pd-form-status { text-align: center; margin-top: 12px; font-size: 14px; padding: 10px; border-radius: 8px; display: none; }
.pd-form-status.show { display: block; }
.pd-form-status.success { background: #d4edda; color: #155724; }
.pd-form-status.error { background: #f8d7da; color: #721c24; }

/* Responsive */
@media (max-width: 900px) {
    .pd-layout { grid-template-columns: 1fr; }
    .pd-gallery-grid { grid-template-columns: 1fr; max-height: 300px; }
    .pd-gallery-thumbs { display: none; }
    .pd-facts-grid { grid-template-columns: repeat(2, 1fr); }
    .pd-quick-stats { gap: 0; }
    .pd-stat { padding: 0 12px; }
}
@media (max-width: 600px) {
    .pd-price { font-size: 28px; }
    .pd-facts-grid { grid-template-columns: 1fr; }
    .pd-features-grid { grid-template-columns: 1fr; }
    .pd-form-row { grid-template-columns: 1fr; }
}
