/* ce-property-detail.css
 * Property Detail Page styles ONLY
 * Does NOT touch search results
 */

/* ============================================================
   PROPERTY DETAIL PANEL — Zameen.pk style 2-column grid
   Tested on live page: panel width 948px desktop, responsive mobile
   ============================================================ */

/* Panel wrapper */
.ce-detail-panel {
    margin-top: 0 !important;
}

/* Section block */
.ce-detail-section {
    margin-bottom: 32px;
    padding-bottom: 0;
    border-bottom: none !important;
}

/* Section title — match Houzez h2 style */
.ce-detail-section .block-title-wrap h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2942;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

/* ── 2-column grid — matches Zameen.pk layout ── */
.ce-detail-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-top: 0 !important;
}

/* Each info card */
.ce-detail-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 12px 16px !important;
    background: #f8fafc !important;
    border: 1px solid #e8edf3 !important;
    border-radius: 10px !important;
    transition: background 0.15s !important;
}

.ce-detail-item:hover {
    background: #f0f7ff !important;
    border-color: #bfdbfe !important;
}

/* Label — small, uppercase, muted */
.ce-detail-label {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.7px !important;
    line-height: 1 !important;
}

/* Value — prominent */
.ce-detail-value {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a2942 !important;
    line-height: 1.3 !important;
}

/* Badges */
.ce-badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    width: fit-content !important;
    margin-top: 2px !important;
}
.ce-badge--green  { background: #dcfce7 !important; color: #166534 !important; }
.ce-badge--blue   { background: #dbeafe !important; color: #1e40af !important; }
.ce-badge--orange { background: #fed7aa !important; color: #9a3412 !important; }

/* Amenities grid */
.ce-amenities-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 4px !important;
}
.ce-amenity-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 14px !important;
    background: #f0f7ff !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #1e40af !important;
}

/* WhatsApp button */
.ce-whatsapp-section { margin-top: 8px !important; }
.ce-whatsapp-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 13px 24px !important;
    background: #25D366 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    transition: all 0.15s !important;
    box-shadow: 0 4px 12px rgba(37,211,102,0.3) !important;
}
.ce-whatsapp-btn:hover {
    background: #1da851 !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
}
.ce-wa-number { font-size: 13px !important; opacity: 0.85 !important; }

/* ── MOBILE: Single column below 576px ── */
@media (max-width: 576px) {
    .ce-detail-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .ce-detail-item {
        padding: 10px 12px !important;
    }
    .ce-detail-value {
        font-size: 14px !important;
    }
    .ce-detail-label {
        font-size: 9px !important;
    }
    .ce-detail-section .block-title-wrap h2 {
        font-size: 17px !important;
    }
    .ce-amenity-badge {
        font-size: 12px !important;
        padding: 6px 10px !important;
    }
    .ce-whatsapp-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px 16px !important;
    }
}
