/* ===== Property Details Page - Redesigned UI ===== */
.pd-page { background: #F5F0EB; padding-bottom: 60px; }

/* Hero Section */
.pd-hero { position: relative; width: 100%; height: 420px; border-radius: 14px 14px 0 0; overflow: hidden; }
.pd-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hero Swiper */
.pd-hero-swiper { width: 100%; height: 100%; }
.pd-hero-swiper .swiper-slide { height: 100%; }
.pd-hero-prev,
.pd-hero-next {
    width: 38px; height: 38px;
    background: rgba(0,0,0,0.45); border-radius: 50%;
    color: #fff; transition: background 0.2s;
}
.pd-hero-prev:after,
.pd-hero-next:after { font-size: 14px; font-weight: 700; }
.pd-hero-prev:hover,
.pd-hero-next:hover { background: rgba(0,0,0,0.7); }
.pd-hero-pagination { bottom: 60px !important; }
.pd-hero-pagination .swiper-pagination-bullet { background: #fff; opacity: 0.6; }
.pd-hero-pagination .swiper-pagination-bullet-active { opacity: 1; background: #fff; }

/* Thumbnail Strip */
.pd-thumb-strip {
    margin-top: -2px;
    margin-bottom: 30px;
}
.pd-thumb-strip .pd-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 0;
}
.pd-thumb-strip .pd-thumb-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-right: 2px solid #1a1a1a;
    transition: opacity 0.25s;
    opacity: 0.7;
}
.pd-thumb-strip .pd-thumb-item:last-child { border-right: none; }
.pd-thumb-strip .pd-thumb-item:hover { opacity: 1; }
.pd-thumb-strip .pd-thumb-item.active {
    opacity: 1;
}
.pd-thumb-strip .pd-thumb-item.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--color-primary, #B8903C);
}
.pd-thumb-strip .pd-thumb-item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}
.pd-thumb-strip .pd-thumb-item:first-child { border-radius: 0 0 0 14px; }
.pd-thumb-strip .pd-thumb-item:last-child { border-radius: 0 0 14px 0; }
.pd-hero-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    padding: 40px 30px 28px;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 55%, transparent 100%);
    color: #fff;
    pointer-events: none;
}
.pd-hero-overlay a,
.pd-hero-overlay button,
.pd-hero-overlay .pd-type-toggle {
    pointer-events: auto;
}
.pd-hero-overlay h1 { font-size: 28px; font-weight: 700; margin: 0 0 4px; color: #fff; line-height: 1.2; }
.pd-hero-overlay .pd-subtitle { font-size: 15px; opacity: 0.9; margin-bottom: 5px; }
.pd-hero-overlay .pd-price-hero { font-size: 20px; font-weight: 700; color: #fff; margin-top: 2px; }
.pd-hero-overlay .pd-price-hero .pd-currency { font-size: 18px; }

/* Builder Card on Hero */
.pd-builder-card {
    position: absolute; top: 20px; right: 20px;
    background: #fff; border-radius: 12px; padding: 20px;
    width: 260px; box-shadow: 0 4px 24px rgba(0,0,0,0.18); z-index: 2;
}
.pd-builder-card .builder-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.pd-builder-card .builder-logo { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #eee; }
.pd-builder-card .builder-name { font-size: 15px; font-weight: 700; color: #1a1a1a; margin: 0; line-height: 1.2; }
.pd-builder-card .verified-badge { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #555; margin-bottom: 2px; }
.pd-builder-card .verified-badge i { color: #22c55e; font-size: 13px; }
.pd-builder-card .rera-text { font-size: 11px; color: #888; margin-bottom: 14px; display: block; word-break: break-word; overflow-wrap: break-word; }
.pd-builder-card .btn-builder {
    display: block; width: 100%; padding: 9px 10px; text-align: center;
    border-radius: 8px; font-size: 13px; font-weight: 600; margin-bottom: 8px;
    text-decoration: none; cursor: pointer; border: none; transition: all 0.2s;
}
.pd-builder-card .btn-builder:last-child { margin-bottom: 0; }
.pd-builder-card .btn-call { background: var(--color-primary); color: #fff; }
.pd-builder-card .btn-call:hover { background: var(--color-primary); color: #fff; opacity: 0.9; }
.pd-builder-card .btn-wa { background: #25D366; color: #fff; }
.pd-builder-card .btn-wa:hover { background: #1da851; color: #fff; }
.pd-builder-card .btn-brochure { background: #fff; color: #333; border: 1px solid #ddd !important; }
.pd-builder-card .btn-brochure:hover { background: #f7f7f7; color: #333; }

/* Price Action Bar */
.pd-price-bar {
    background: var(--color-primary, #B8903C);
    padding: 13px 24px; border-radius: 0 0 14px 14px;
    display: flex; align-items: center; justify-content: center; gap: 18px;
    margin-bottom: 30px; flex-wrap: wrap;
}
.pd-price-bar .price-text { color: #fff; font-size: 15px; font-weight: 700; }
.pd-price-bar .divider { color: rgba(255,255,255,0.35); font-size: 14px; }
.pd-price-bar a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 500; opacity: 0.92; transition: opacity 0.2s; }
.pd-price-bar a:hover { opacity: 1; color: #fff; }
.pd-price-bar a i { margin-right: 4px; }

/* Section Styles */
.pd-section { margin-bottom: 35px; }
.pd-section-title {
    font-size: 20px; font-weight: 700; color: #1a1a1a;
    padding-bottom: 12px; border-bottom: 2px solid #e0d5c7;
    margin-bottom: 20px;
}

/* Property Highlights */
.pd-highlights { display: flex; gap: 14px; flex-wrap: wrap; }
.pd-highlight-card {
    background: #fff; border: 1px solid #e0d5c7;
    border-left: 3px solid var(--color-primary, #B8903C);
    border-radius: 8px; padding: 14px 18px; min-width: 140px; flex: 1;
}
.pd-highlight-card .hl-value { font-size: 20px; font-weight: 700; color: #1a1a1a; line-height: 1.2; }
.pd-highlight-card .hl-value .hl-unit { font-size: 13px; font-weight: 500; color: #666; margin-left: 3px; }
.pd-highlight-card .hl-label { font-size: 12px; color: #999; margin-top: 3px; }

/* Amenities */
.pd-amenities-list { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-amenity-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid #e0d5c7; border-radius: 8px;
    padding: 10px 18px; font-size: 14px; color: #333;
}
.pd-amenity-pill i { font-size: 18px; color: var(--color-primary, #B8903C); }

/* Location & Connectivity */
.pd-location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.pd-location-map { border-radius: 12px; overflow: hidden; height: 260px; }
.pd-location-map iframe { width: 100%; height: 100%; border: 0; }
.pd-connectivity-list { list-style: none; padding: 0; margin: 0; }
.pd-connectivity-list li { padding: 12px 0; font-size: 15px; color: #333; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #f0ebe4; }
.pd-connectivity-list li:last-child { border-bottom: none; }
.pd-connectivity-list li .dot { width: 8px; height: 8px; border-radius: 50%; background: #1a1a1a; display: inline-block; flex-shrink: 0; }
.pd-connectivity-list li strong { color: #1a1a1a; font-weight: 700; }

/* Floor Plans & Brochure Cards */
.pd-floorplans { display: flex; gap: 20px; flex-wrap: wrap; }
.pd-floorplan-card {
    background: #fff; border: 1px solid #e0d5c7; border-radius: 12px;
    overflow: hidden; width: 220px; transition: box-shadow 0.2s; text-decoration: none;
}
.pd-floorplan-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.pd-floorplan-card img { width: 100%; height: 140px; object-fit: cover; }
.pd-floorplan-card .card-label {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; font-size: 13px; color: #555; border-top: 1px solid #f0ebe4;
}
.pd-floorplan-card .card-label i { color: var(--color-primary, #B8903C); }

/* About the Project */
.pd-about-text { font-size: 15px; line-height: 1.8; color: #555; }

/* About the Builder */
.pd-builder-section {
    background: #fff; border: 1px solid #e0d5c7; border-radius: 12px;
    padding: 22px 28px;
}
.pd-builder-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
.pd-builder-info { display: flex; align-items: center; gap: 14px; }
.pd-builder-info .builder-avatar { width: 45px; height: 45px; border-radius: 10px; object-fit: cover; background: #eee; }
.pd-builder-info h4 { font-size: 18px; font-weight: 700; margin: 0; color: #1a1a1a; }
.btn-get-in-touch {
    background: var(--color-primary, #B8903C); color: #fff; padding: 10px 22px; border-radius: 8px;
    font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex;
    align-items: center; gap: 6px; border: none; transition: background 0.2s;
}
.btn-get-in-touch:hover { background: var(--color-primary, #B8903C); filter: brightness(0.9); color: #fff; }
.pd-builder-meta { display: flex; gap: 20px; font-size: 14px; color: #666; margin-top: 14px; padding-top: 12px; border-top: 1px solid #f0ebe4; flex-wrap: wrap; }
.pd-builder-meta span strong { color: #1a1a1a; }
.btn-view-projects {
    background: #fff; color: #333; padding: 8px 18px; border: 1px solid #ddd;
    border-radius: 8px; font-size: 13px; text-decoration: none; display: inline-flex;
    align-items: center; gap: 6px; margin-top: 14px; transition: background 0.2s;
}
.btn-view-projects:hover { background: #f7f7f7; color: #333; }

/* Property Overview Grid */
.pd-overview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.pd-overview-item { padding: 10px 0; }
.pd-overview-item strong { display: block; font-size: 12px; color: #999; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.3px; }
.pd-overview-item span { font-size: 15px; color: #1a1a1a; font-weight: 500; }

/* BHK Tabs */
.pd-bhk-tabs .nav-tabs { border-bottom: 2px solid #e0d5c7; margin-bottom: 20px; }
.pd-bhk-tabs .nav-tabs .nav-link { color: #888; font-weight: 600; border: none; padding: 10px 20px; font-size: 14px; background: none; }
.pd-bhk-tabs .nav-tabs .nav-link:hover { color: #555; }
.pd-bhk-tabs .nav-tabs .nav-link.active { color: var(--color-primary, #B8903C); border-bottom: 3px solid var(--color-primary, #B8903C); }

/* Contact Form Section */
.pd-contact-section {
    background: #fff; border: 1px solid #e0d5c7; border-radius: 12px;
    padding: 25px 28px;
}
.pd-contact-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; color: #1a1a1a; }
.pd-contact-section .form-control {
    border: 1px solid #e0d5c7; border-radius: 8px; padding: 10px 14px;
    font-size: 14px; background: #faf8f5;
}
.pd-contact-section .form-control:focus { border-color: var(--color-primary, #B8903C); box-shadow: 0 0 0 2px rgba(184,144,60,0.12); }
.pd-contact-section .btn-submit {
    background: var(--color-primary, #B8903C); color: #fff; border: none;
    border-radius: 8px; padding: 11px 20px; font-size: 14px; font-weight: 600;
    width: 100%; transition: background 0.2s;
}
.pd-contact-section .btn-submit:hover { background: #a07a30; }

/* Share & Actions */
.pd-share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pd-share-row .action-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e0d5c7;
    color: #555; font-size: 15px; text-decoration: none; transition: all 0.2s; background: #fff;
}
.pd-share-row .action-btn:hover { background: var(--color-primary, #B8903C); color: #fff; border-color: var(--color-primary, #B8903C); }
.pd-share-row .action-btn.btn-phone { background: var(--color-primary, #B8903C); color: #fff; border-color: var(--color-primary, #B8903C); }
.pd-share-row .action-btn.btn-phone:hover { background: var(--color-primary, #B8903C); border-color: var(--color-primary, #B8903C); filter: brightness(0.9); }
.pd-share-row .action-btn.btn-whatsapp { background: #25d366; color: #fff; border-color: #25d366; }
.pd-share-row .action-btn.btn-whatsapp:hover { background: #1da851; border-color: #1da851; }
.pd-share-row .action-btn.wish-active { background: #e74c3c; color: #fff; border-color: #e74c3c; }

/* Related Properties */
.pd-section .row .product-img .ratio.ratio-1-1::before { padding-bottom: 58% !important; }
.pd-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.pd-related-card {
    background: #fff; border: 1px solid #e0d5c7; border-radius: 12px; overflow: hidden;
    transition: box-shadow 0.2s; text-decoration: none; color: inherit;
}
.pd-related-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.pd-related-card .card-img { width: 100%; height: 180px; object-fit: cover; }
.pd-related-card .card-body { padding: 14px 16px; }
.pd-related-card .card-body h4 { font-size: 16px; font-weight: 600; margin: 0 0 6px; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-related-card .card-body .loc { font-size: 13px; color: #888; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-related-card .card-body .price { font-size: 15px; font-weight: 700; color: var(--color-primary, #B8903C); }

/* Type Toggle */
.pd-type-toggle { display: inline-flex; gap: 8px; margin-bottom: 15px; }

/* RERA Badge */
.rera-badge {
    background: #B8903C; color: #fff; font-size: 11px; padding: 2px 8px;
    border-radius: 4px; display: inline-flex; align-items: center; gap: 4px;
}

/* Responsive */
@media (max-width: 991px) {
    .pd-builder-card { display: none !important; }
    .pd-builder-card-mobile { display: block !important; }
}
@media (min-width: 992px) {
    .pd-builder-card-mobile { display: none !important; }
}
@media (max-width: 768px) {
    .pd-hero { height: 280px; }
    .pd-hero-overlay { padding: 25px 20px 20px; }
    .pd-hero-overlay h1 { font-size: 22px; }
    .pd-hero-overlay .pd-price-hero { font-size: 17px; }
    .pd-location-grid { grid-template-columns: 1fr; }
    .pd-highlights { gap: 10px; }
    .pd-highlight-card { min-width: calc(50% - 8px); flex: unset; }
    .pd-builder-section .pd-builder-top { flex-direction: column; align-items: flex-start; }
    .pd-price-bar { gap: 10px; padding: 10px 16px; }
    .pd-floorplan-card { width: calc(50% - 10px); }
    .pd-overview-grid { grid-template-columns: repeat(2, 1fr); }
    .pd-hero-pagination { bottom: 40px !important; }
    .pd-thumb-strip .pd-thumb-item img { height: 70px; }
}
@media (max-width: 480px) {
    .pd-highlight-card { min-width: 100%; }
    .pd-floorplan-card { width: 100%; }
    .pd-thumb-strip .pd-thumb-item img { height: 55px; }
}

/* Around this property */
.pd-around-box {
    background: #fff;
    border: 1px solid #e0d5c7;
    border-radius: 10px;
    padding: 20px 24px;
}
.pd-around-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 32px;
}
.pd-around-item {}
.pd-around-category {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}
.pd-around-category i {
    color: var(--color-primary);
    font-size: 16px;
    width: 20px;
    text-align: center;
}
.pd-around-name {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    padding-left: 28px;
}
.pd-around-km {
    display: inline-block;
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
    margin-left: 4px;
}
@media (max-width: 768px) {
    .pd-around-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .pd-around-grid { grid-template-columns: 1fr; gap: 16px; }
    .pd-around-box { padding: 16px; }
}
