/* ============================================================
   property.css  â€“  Property Module styles
   ============================================================ */

/* ----------------------------------------------------------
   Unit listing card  (PropertyUnitListItem component)
   ---------------------------------------------------------- */
.prop-listing-card {
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.prop-listing-card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.prop-listing-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f4f8;
    flex-shrink: 0;
}

.prop-listing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.prop-listing-card:hover .prop-listing-img {
    transform: scale(1.04);
}

.prop-listing-hot {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: #dc3545;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
}

.prop-listing-draft {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: #ffc107;
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    z-index: 2;
}

.prop-listing-type {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(13, 110, 253, 0.92);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.45rem;
    border-radius: 0.25rem;
    text-transform: capitalize;
    z-index: 2;
}

.prop-listing-img-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 0.625rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.prop-listing-ref {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.7rem;
}

.prop-listing-specs {
    display: flex;
    gap: 0.6rem;
    color: #fff;
    font-size: 0.78rem;
}

.prop-listing-specs i {
    margin-right: 0.2rem;
    opacity: 0.85;
}

.prop-listing-body {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prop-listing-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prop-listing-title a {
    color: #1e293b;
    text-decoration: none;
}

.prop-listing-title a:hover {
    color: var(--bs-primary, #0d6efd);
}

.prop-listing-location {
    color: #64748b;
    font-size: 0.78rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prop-listing-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0;
    margin-top: auto;
}

.prop-listing-actions {
    display: flex;
    gap: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
}

.prop-listing-actions .btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ----------------------------------------------------------
   Gallery mosaic
   ---------------------------------------------------------- */
.property-gallery-mosaic {
    border-radius: 0.5rem;
    overflow: hidden;
}

.property-hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.property-thumb-img {
    height: 185px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 0.375rem;
    cursor: pointer;
}

.gallery-item:hover .property-hero-img,
.gallery-item:hover .property-thumb-img {
    transform: scale(1.04);
}

.gallery-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    pointer-events: none;
}

/* ----------------------------------------------------------
   Property cards (list items)
   ---------------------------------------------------------- */
.property-card {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.property-card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px);
}

.property-card-img-link {
    display: block;
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
}

.property-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: transform 0.3s ease;
}

.property-card-img-link:hover .property-card-img {
    transform: scale(1.04);
}

.property-type-badge {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
}

.property-draft-badge {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    font-size: 0.7rem;
}

.property-furnish-badge {
    position: absolute;
    top: 2rem;
    left: 0.625rem;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
}

/* ----------------------------------------------------------
   Map embed
   ---------------------------------------------------------- */
.property-map {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

/* ----------------------------------------------------------
   Public buyer listing pages â€“ hero banner
   The frontend layout uses header-transparent { position: absolute }
   so the header overlays the top of page content.
   Logo height = 80px desktop / 70px mobile â†’ padding-top must exceed those.
   ---------------------------------------------------------- */
.prop-public-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f4c81 100%);
    color: #fff;
    /* 80px header + 2rem breathing room */
    padding: calc(80px + 2rem) 0 2.5rem;
    width: 100%;
}

.prop-public-hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.prop-public-hero-subtitle {
    font-size: 1rem;
    opacity: 0.82;
    margin-bottom: 0;
}

/* Mobile â€“ header collapses to ~56-70 px */
@media (max-width: 767.98px) {
    .prop-public-hero {
        padding: calc(70px + 1.25rem) 0 2rem;
    }

    .prop-public-hero-title {
        font-size: 1.5rem;
    }
}

/* ----------------------------------------------------------
   Buyer-facing unit card  (PropertyUnitListItem/Buyer.cshtml)
   ---------------------------------------------------------- */
.prop-buyer-card {
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.prop-buyer-card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.14);
    transform: translateY(-3px);
}

.prop-buyer-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f4f8;
    flex-shrink: 0;
}

.prop-buyer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.prop-buyer-card:hover .prop-buyer-img {
    transform: scale(1.05);
}

/* HOT badge â€“ top-right red pill */
.prop-buyer-hot {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: #dc3545;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    text-transform: uppercase;
    z-index: 2;
}

/* Carousel arrows â€“ appear on hover */
.prop-buyer-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    border: none;
    color: #fff;
    width: 2rem;
    height: 2rem;
    border-radius: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.prop-buyer-card:hover .prop-buyer-arrow {
    opacity: 1;
}

.prop-buyer-arrow:hover {
    background: rgba(0, 0, 0, 0.72);
}

.prop-buyer-arrow-prev { left: 0.45rem; }
.prop-buyer-arrow-next { right: 0.45rem; }

/* Image footer: ref badge + specs bar */
.prop-buyer-img-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 0.625rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

/* Ref badge â€“ teal */
.prop-buyer-ref {
    background: #0d9488;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 0.25rem;
    white-space: nowrap;
}

/* Specs row */
.prop-buyer-specs {
    display: flex;
    gap: 0.6rem;
    color: #fff;
    font-size: 0.78rem;
}

.prop-buyer-specs i {
    margin-right: 0.2rem;
    opacity: 0.85;
}

/* Card body */
.prop-buyer-body {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Title â€“ 2-line clamp */
.prop-buyer-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: calc(0.9rem * 1.4 * 2);
}

.prop-buyer-title a {
    color: #1e293b;
    text-decoration: none;
}

.prop-buyer-title a:hover {
    color: var(--bs-primary, #0d6efd);
}

.prop-buyer-location {
    color: #64748b;
    font-size: 0.78rem;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prop-buyer-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
    margin-top: auto;
}

/* ----------------------------------------------------------
   Description (HTML content from rich editor)
   ---------------------------------------------------------- */
.property-description {
    line-height: 1.75;
    color: #444;
}

.property-description img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
}

/* ----------------------------------------------------------
   Search bar
   ---------------------------------------------------------- */
.property-search-bar .card {
    border-radius: 0.75rem;
    /* override any theme card top-border colour */
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
}

/* Uniform height & colour for every control inside the search bar */
.property-search-bar .form-control,
.property-search-bar .form-select {
    height: 46px;
    min-height: 46px;
    font-size: 0.9rem;
    border-color: #d1d9e0;
    background-color: #fff;
    color: #212529;
    box-shadow: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.property-search-bar .form-control:focus,
.property-search-bar .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.12);
    transform: translateY(-1px);
}

.property-search-bar .form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.property-search-bar .btn {
    height: 46px;
    padding: 0 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.property-search-bar .btn-primary {
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.25);
}

.property-search-bar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.35);
}

.property-search-bar .btn-outline-secondary {
    border-width: 1.5px;
}

.property-search-bar .btn-outline-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* ----------------------------------------------------------
   Responsive adjustments
   ---------------------------------------------------------- */
@media (max-width: 767.98px) {
    .property-hero-img {
        height: 220px;
    }

    .property-thumb-img {
        height: 105px;
    }

    .property-map {
        height: 240px;
    }
}

/* ----------------------------------------------------------
   Photo management tab (Edit page)
   ---------------------------------------------------------- */
.photo-upload-zone {
    border: 2px dashed #dee2e6;
    border-radius: 0.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.photo-upload-zone:hover,
.photo-upload-zone.dragover {
    border-color: var(--bs-primary, #0d6efd);
    background-color: rgba(13, 110, 253, 0.04);
}

.photo-manage-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.photo-manage-card:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}

.photo-manage-drag {
    position: absolute;
    top: 0.375rem;
    left: 0.375rem;
    z-index: 2;
    cursor: grab;
    padding: 0.2rem 0.35rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 0.25rem;
    line-height: 1;
}

.photo-manage-drag:active {
    cursor: grabbing;
}

.photo-manage-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.photo-manage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.photo-manage-card:hover .photo-manage-img {
    transform: scale(1.03);
}

.photo-manage-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0.5rem;
    background: #f8f9fa;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.photo-size-badges {
    display: flex;
    gap: 0.2rem;
}

.photo-position-num {
    font-size: 0.65rem;
}

.photo-delete-btn {
    padding: 0.15rem 0.35rem;
    font-size: 0.75rem;
}

#photoSortable .col.sortable-ghost {
    opacity: 0.35;
}

#photoSortable .col.sortable-chosen {
    cursor: grabbing;
}

#photoPreviewList .preview-item {
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

#photoPreviewList .preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================================
   Public Property Unit Details page
   ============================================================ */

/* â”€â”€ Gallery â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.prop-public-gallery {
    background: #0d1117;
    position: relative;
    user-select: none;
    overflow:hidden;
}

.prop-swiper-main {
    height: 640px;
    position: relative;
}

/* Mobile: shorter gallery height */
@media (max-width: 767.98px) {
    .prop-swiper-main {
        height: 420px;
    }
}

.prop-swiper-main .swiper-slide {
    overflow: hidden;
}

.prop-swiper-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Nav arrows */
.prop-swiper-prev,
.prop-swiper-next {
    color: #fff !important;
    background: rgba(0, 0, 0, 0.5) !important;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
    z-index: 20 !important;
    pointer-events: auto !important;
    position: absolute;
    cursor: pointer;
}

.prop-swiper-prev:hover,
.prop-swiper-next:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: scale(1.1);
}

.prop-swiper-prev::after,
.prop-swiper-next::after {
    font-size: 1rem;
    color: #fff !important;
}

/* Pagination dots */
.prop-swiper-dots {
    bottom: 1.1rem;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    z-index: 20 !important;
    pointer-events: auto !important;
    text-align: center;
}

/* ??? Gallery Overlay Info ????????????????????????????????????????????? */
/* Desktop: overlay on image with gradient | Mobile: below image with solid black */
.prop-gallery-overlay {
    /* Desktop default: position absolute over image */
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 15 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%) !important;
    padding: 2rem 0 1.5rem;
    pointer-events: none;
}

/* Mobile: move below image with solid black background */
@media (max-width: 767.98px) {
    .prop-gallery-overlay {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        background: #000 !important;
        padding: 1.5rem 0 1.25rem;
        z-index: 1 !important;
    }
}

.prop-gallery-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    pointer-events: auto;
}

/* Mobile: stack vertically */
@media (max-width: 767.98px) {
    .prop-gallery-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.prop-gallery-left-col {
    flex: 1;
    min-width: 0;
}

.prop-gallery-right-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    flex-shrink: 0;
}

/* Mobile: align right column to start */
@media (max-width: 767.98px) {
    .prop-gallery-right-col {
        width: 100%;
        align-items: flex-start;
    }

    .prop-gallery-price-section {
        text-align: left;
    }
}

.prop-gallery-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Mobile: remove text shadow */
@media (max-width: 767.98px) {
    .prop-gallery-title {
        font-size: 1.5rem;
        text-shadow: none !important;
    }
}

.prop-gallery-ref {
    display: inline-block;
    background: #6CD6A6;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 0.3rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.prop-gallery-bottom-section {
    margin-top: 0.75rem;
}

.prop-gallery-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
}

/* Mobile: smaller gap and font size */
@media (max-width: 767.98px) {
    .prop-gallery-specs {
        gap: 0.75rem;
        font-size: 0.8rem;
    }
}

.prop-gallery-spec-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.prop-gallery-spec-item i {
    color: #6CD6A6;
    opacity: 1;
    font-size: 1rem;
}

/* Gallery Price Section */
.prop-gallery-price-section {
    text-align: right;
    margin-bottom: 0.5rem;
}

.prop-gallery-price-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.prop-gallery-price {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Mobile: remove text shadow */
@media (max-width: 767.98px) {
    .prop-gallery-price {
        font-size: 1.5rem;
        text-shadow: none !important;
    }
}

/* Gallery Button (View All Photos) */
.prop-gallery-btn {
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.prop-gallery-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.prop-gallery-btn-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
}

.prop-gallery-btn-thumb-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.prop-gallery-btn-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prop-gallery-btn-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1.5rem;
}

.prop-gallery-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 0.75rem;
}

.prop-gallery-btn-count {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    opacity: 1;
}

.prop-gallery-btn-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
    opacity: 1;
}

/* Mobile gallery button */
.prop-gallery-btn-mobile {
    padding: 0.65rem 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.prop-gallery-btn-mobile:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: #fff;
    color: #fff !important;
    transform: translateY(-2px);
}

.prop-gallery-btn-mobile i {
    opacity: 1;
    color: #fff !important;
}

/* No-photo fallback */
.prop-gallery-no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f8;
    height: 380px;
}

.prop-gallery-no-photo img {
    max-height: 300px;
    width: 100%;
    object-fit: contain;
}

/* ?? Modal Gallery ??????????????????????????????????????????? */
#photoGalleryModal.modal {
    /* Prevent modal content shift */
    overflow-y: hidden !important;
}

#photoGalleryModal .modal-dialog {
    margin: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
}

#photoGalleryModal .modal-content {
    height: 100%;
    border: none;
    border-radius: 0;
}

#photoGalleryModal .modal-body {
    overflow: hidden;
}

.prop-modal-close-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.prop-modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.prop-swiper-modal {
    height: calc(100vh - 80px);
    width: 100%;
    position: relative;
}

.prop-swiper-modal .swiper-wrapper {
    align-items: center;
}

.prop-swiper-modal .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
    /* Prevent image shifting */
    width: 100% !important;
}

.prop-swiper-modal .swiper-slide > div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prop-swiper-modal img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    /* Prevent image flicker */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: auto;
}

.prop-swiper-modal .swiper-button-prev,
.prop-swiper-modal .swiper-button-next {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.prop-swiper-modal .swiper-button-prev:hover,
.prop-swiper-modal .swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prop-swiper-modal .swiper-button-prev::after,
.prop-swiper-modal .swiper-button-next::after {
    font-size: 1.25rem;
}

.prop-swiper-modal .swiper-pagination {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}

/* Swiper lazy loading spinner (for main gallery only) */
.swiper-lazy-preloader {
    width: 42px;
    height: 42px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -21px;
    margin-top: -21px;
    z-index: 10;
    transform-origin: 50%;
    animation: swiper-preloader-spin 1s infinite linear;
    box-sizing: border-box;
    border: 4px solid var(--bs-primary, #0d6efd);
    border-radius: 50%;
    border-top-color: transparent;
}

.swiper-lazy-preloader-white {
    border-color: #fff;
    border-top-color: transparent;
}

@keyframes swiper-preloader-spin {
    100% {
        transform: rotate(360deg);
    }
}

/* ?? Responsive Gallery ??????????????????????????????????????? */
/* Smooth slide transitions */
.prop-swiper-modal .swiper-slide-active,
.prop-swiper-modal .swiper-slide-next,
.prop-swiper-modal .swiper-slide-prev {
    /* Keep slides stable during transition */
    backface-visibility: hidden;
    transform: translateZ(0);
}

@media (max-width: 991.98px) {
    .prop-swiper-main {
        height: 500px;
    }

    .prop-gallery-title {
        font-size: 1.5rem;
    }

    .prop-gallery-price {
        font-size: 1.5rem;
    }

    .prop-gallery-specs {
        font-size: 0.85rem;
        gap: 1rem;
    }

    /* Hide desktop gallery button, keep mobile one */
    .prop-gallery-btn {
        display: none !important;
    }

    .prop-swiper-modal {
        height: calc(100vh - 70px);
    }
}

@media (max-width: 767.98px) {
    .prop-swiper-main {
        height: 420px;
    }

    /* Adjust overlay for mobile */
    .prop-gallery-overlay {
        padding: 1.5rem 0 1rem;
    }

    .prop-gallery-info {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .prop-gallery-right-col {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .prop-gallery-price-section {
        text-align: left;
        margin-bottom: 0;
    }

    .prop-gallery-title {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }

    .prop-gallery-price {
        font-size: 1.3rem;
    }

    .prop-gallery-price-label {
        font-size: 0.7rem;
    }

    .prop-gallery-specs {
        font-size: 0.8rem;
        gap: 0.75rem;
    }

    .prop-gallery-spec-item {
        gap: 0.3rem;
    }

    .prop-gallery-spec-item i {
        font-size: 0.9rem;
    }

    /* Hide swiper navigation arrows on mobile */
    .prop-swiper-prev,
    .prop-swiper-next {
        display: none !important;
    }

    /* Make dots more visible on mobile - keep white on dark overlay */
    .prop-swiper-dots {
        bottom: 0.75rem;
        z-index: 10 !important;
    }

    .prop-swiper-dots .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: rgba(255, 255, 255, 0.9);
        opacity: 0.6;
    }

    .prop-swiper-dots .swiper-pagination-bullet-active {
        opacity: 1;
        background: #fff;
    }

    .prop-gallery-no-photo {
        height: 280px;
    }
}

/* â”€â”€ Body layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.prop-public-body {
    padding-top: 1.75rem;
    padding-bottom: 0;
}

/* When there is no gallery/hero above, clear the absolute header */
.prop-public-body--page-start {
    padding-top: calc(80px + 1.75rem);
}

@media (max-width: 767.98px) {
    .prop-public-body--page-start {
        padding-top: calc(70px + 1.25rem);
    }
}

.prop-breadcrumb {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
}

/* â”€â”€ Title & badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.prop-public-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 0;
}

.prop-public-location {
    color: #64748b;
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
}

.prop-public-location i {
    margin-right: 0.4rem;
    color: #94a3b8;
}

.prop-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5em 1.1em;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    text-transform: capitalize;
}

.prop-badge-type    { background: #10b981; color: #ffffff; }
.prop-badge-furnish { background: #06b6d4; color: #ffffff; }
.prop-badge-view    { background: #a855f7; color: #ffffff; }

/* â”€â”€ Spec tiles â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.prop-specs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.25rem 0 1.75rem;
}

.prop-spec-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 0.75rem 0.65rem 0.6rem;
    background: #f8fafc;
    border: 1px solid #e9ecef;
    border-radius: 0.6rem;
    text-align: center;
    transition: box-shadow 0.15s;
}

.prop-spec-tile:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.prop-spec-icon {
    font-size: 1.2rem;
    color: var(--bs-primary, #0d6efd);
    margin-bottom: 0.3rem;
}

.prop-spec-value {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1e293b;
    line-height: 1;
}

.prop-spec-value-sm {
    font-size: 0.8rem;
}

.prop-spec-label {
    font-size: 0.68rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.2rem;
}

/* â”€â”€ Section cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.prop-section-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.prop-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #f1f5f9;
}

.prop-section-title i {
    color: var(--bs-primary, #0d6efd);
}

/* ?? Units Section ???????????????????????????????????????????? */
.prop-units-section {
    padding: 2rem 1.5rem;
}

.prop-units-section .prop-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.prop-units-section .prop-section-title i {
    font-size: 1.1rem;
}

.prop-units-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary, #0d6efd);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 2rem;
    margin-left: auto;
}

/* â”€â”€ Amenity items â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.prop-amenity-group-heading {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0.6rem;
}

.prop-amenity-item {
    font-size: 0.88rem;
    padding: 0.35rem 0;
    color: #334155;
}

/* â”€â”€ Sidebar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.prop-sidebar {
    position: sticky;
    top: 5.5rem;
}

/* Pricing card */
.prop-price-card {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.25rem;
}

.prop-price-header {
    background: var(--bs-primary, #0d6efd);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 1.25rem;
}

.prop-price-body {
    background: #fff;
    padding: 1.25rem;
}

.prop-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.6rem;
}

.prop-price-row-main {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
}

.prop-price-row-sub {
    font-size: 0.82rem;
    color: #64748b;
}

.prop-price-amount {
    font-weight: 700;
    font-size: 1.15rem;
}

.prop-price-trade {
    color: var(--bs-primary, #0d6efd);
}

.prop-price-divider {
    border-color: #e9ecef;
    margin: 0.75rem 0;
}

.prop-price-poa {
    text-align: center;
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

/* Price card footer (for Buy button) */
.prop-price-footer {
    padding: 1rem 1.25rem 1.25rem;
    background: #fff;
    border-top: 1px solid #e9ecef;
}

.prop-buy-btn {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.85rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.25);
}

.prop-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(25, 135, 84, 0.35);
}

.prop-price-footer .alert {
    font-size: 0.9rem;
    padding: 0.75rem;
}

/* Agent card */
.prop-agent-card, .prop-contact-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.prop-agent-heading, .prop-contact-heading {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

.prop-agent-heading i,.prop-contact-heading i {
    color: var(--bs-primary, #0d6efd);
}

.prop-agent-name, .prop-contact-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.85rem;
    color: #0f172a;
}

/* Contract request card */
.prop-contract-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* Reference card */
.prop-ref-card {
    background: #f8fafc;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
}

.prop-ref-list {
    margin: 0;
}

.prop-ref-row {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.83rem;
}

.prop-ref-row:last-child {
    border-bottom: none;
}

.prop-ref-row dt {
    font-weight: 500;
    color: #94a3b8;
}

.prop-ref-row dd {
    margin: 0;
    font-weight: 600;
    color: #334155;
    text-align: right;
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 991.98px) {
    .prop-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .prop-swiper-main {
        height: 420px;
    }

    .prop-gallery-no-photo {
        height: 220px;
    }

    .prop-public-title {
        font-size: 1.4rem;
    }

    .prop-swiper-prev,
    .prop-swiper-next {
        display: none;
    }

    .prop-specs-row {
        gap: 0.5rem;
        margin: 1rem 0 1.25rem;
    }

    .prop-spec-tile {
        min-width: 0;
        flex: 1 1 calc(50% - 0.25rem);
        padding: 0.6rem 0.5rem 0.5rem;
    }

    .prop-spec-icon {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .prop-spec-value {
        font-size: 0.95rem;
    }

    .prop-spec-label {
        font-size: 0.65rem;
    }

    .prop-section-card {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 0.6rem;
    }

    .prop-section-title {
        font-size: 0.95rem;
        margin-bottom: 0.85rem;
    }

    .prop-public-body {
        padding-top: 1.25rem;
        padding-bottom: 0;
    }
}

/* ============================================================
   Gallery Info Overlay (Noble Remix Style)
   ============================================================ */
.prop-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.85) 35%, rgba(0, 0, 0, 0.40) 70%, transparent 100%);
    color: #fff;
    padding: 3rem 0 1.75rem;
    pointer-events: none;
    z-index: 5;
}

.prop-gallery-overlay .container-fluid {
    pointer-events: none;
}

.prop-gallery-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
}

.prop-gallery-left-col {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
    min-width: 0;
}

.prop-gallery-bottom-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.prop-gallery-project {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.prop-gallery-project i {
    font-size: 1rem;
    color: #7ce0ac;
}

.prop-gallery-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.prop-gallery-right-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 1rem;
    flex-shrink: 0;
}

.prop-gallery-title-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.prop-gallery-ref {
    display: inline-block;
    background: #00d97e;
    color: #0d1b2a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.4rem 0.85rem;
    border-radius: 0.3rem;
    text-transform: uppercase;
    width: fit-content;
    box-shadow: 0 3px 10px rgba(0, 217, 126, 0.6);
}

.prop-gallery-title {
    font-size: clamp(1.4rem, 3.5vw, 2.1rem);
    font-weight: 700;
    margin: 0;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.prop-gallery-location {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

.prop-gallery-location i {
    font-size: 1rem;
    color: #7ce0ac;
}

.prop-gallery-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    text-align: right;
}

.prop-gallery-price-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.prop-gallery-price {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
    letter-spacing: -0.02em;
}

.prop-gallery-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.prop-gallery-spec-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    position: relative;
}

.prop-gallery-spec-item:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -1.1rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.prop-gallery-spec-item i {
    opacity: 0.95;
    font-size: 1.3rem;
    color: #7ce0ac;
}

.prop-gallery-btn {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.95);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.prop-gallery-btn:hover {
    background: rgba(13, 110, 253, 0.92);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(13, 110, 253, 0.7);
}

.prop-gallery-btn-content {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
}

.prop-gallery-btn-thumb-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    overflow: hidden;
}

.prop-gallery-btn-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.prop-gallery-btn:hover .prop-gallery-btn-thumb {
    transform: scale(1.1);
}

.prop-gallery-btn-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prop-gallery-btn:hover .prop-gallery-btn-overlay {
    opacity: 1;
}

.prop-gallery-btn-overlay i {
    font-size: 1.3rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.prop-gallery-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.65rem 0.95rem;
    gap: 0.2rem;
    flex: 1;
}

.prop-gallery-btn-count {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    line-height: 1;
}

.prop-gallery-btn-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    line-height: 1.2;
}

.prop-gallery-price-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.prop-gallery-price {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95);
    letter-spacing: -0.02em;
}

/* ?? Tablet (768px - 991px) ??????????????????????????????? */
@media (max-width: 991.98px) {
    .prop-gallery-overlay {
        padding: 3rem 0 1.75rem;
    }

    .prop-gallery-info {
        gap: 2rem;
    }

    .prop-gallery-specs {
        gap: 1.5rem;
        font-size: 0.88rem;
    }

    .prop-gallery-btn {
        padding: 0.7rem 1.1rem;
        font-size: 0.7rem;
        gap: 0.8rem;
    }

    .prop-gallery-btn-thumb {
        width: 52px;
        height: 52px;
    }
}

/* ?? Mobile (max 767px) ??????????????????????????????????? */
@media (max-width: 767.98px) {
    .prop-gallery-overlay {
        padding: 1.5rem 0 1rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.94) 40%, rgba(0, 0, 0, 0.6) 75%, transparent 100%);
    }

    .prop-gallery-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .prop-gallery-right-col {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-height: auto;
        gap: 1rem;
        width: 100%;
    }

    .prop-gallery-title {
        font-size: 1.15rem;
        line-height: 1.3;
    }

    .prop-gallery-ref {
        font-size: 0.65rem;
        padding: 0.3rem 0.65rem;
    }

    .prop-gallery-price-section {
        align-items: flex-start;
        text-align: left;
        order: 1;
    }

    .prop-gallery-price-label {
        font-size: 0.62rem;
    }

    .prop-gallery-price {
        font-size: 1.5rem;
    }

    .prop-gallery-bottom-section {
        margin-top: 0.75rem;
    }

    .prop-gallery-specs {
        gap: 0.75rem;
        font-size: 0.75rem;
    }

    .prop-gallery-spec-item {
        font-size: 0.75rem;
        gap: 0.4rem;
    }

    .prop-gallery-spec-item:not(:last-child)::after {
        right: -0.45rem;
    }

    .prop-gallery-spec-item i {
        font-size: 0.95rem;
    }

    .prop-gallery-btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.6rem;
        gap: 0.5rem;
        border-width: 2px;
        order: 2;
        flex-shrink: 0;
    }

    .prop-gallery-btn-thumb {
        width: 40px;
        height: 40px;
    }

    .prop-gallery-btn span {
        font-size: 0.55rem;
        line-height: 1.2;
    }

    .prop-spec-tile {
        min-width: auto;
        flex: 1 1 calc(50% - 0.3rem);
        padding: 0.6rem 0.5rem;
    }

    .prop-spec-icon {
        font-size: 1rem;
    }

    .prop-spec-value {
        font-size: 0.95rem;
    }

    .prop-spec-value-sm {
        font-size: 0.7rem;
    }

    .prop-spec-label {
        font-size: 0.62rem;
    }

    .prop-section-card {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .prop-price-card {
        margin-bottom: 1rem;
    }

    .prop-agent-card,
    .prop-contract-card,
    .prop-ref-card {
        margin-bottom: 1rem;
    }
}

/* ?? Small Mobile (max 575px) ????????????????????????????? */
@media (max-width: 575.98px) {
    .prop-swiper-main {
        height: 360px;
    }

    .prop-gallery-overlay {
        padding: 1.25rem 0 0.85rem;
    }

    .prop-gallery-title {
        font-size: 1rem;
    }

    .prop-gallery-price {
        font-size: 1.3rem;
    }

    .prop-gallery-specs {
        gap: 0.5rem;
        font-size: 0.7rem;
    }

    .prop-gallery-spec-item {
        flex-basis: 100%;
    }

    .prop-gallery-spec-item:not(:last-child)::after {
        display: none;
    }

    .prop-gallery-right-col {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .prop-gallery-btn {
        width: 100%;
        justify-content: center;
    }

    .prop-public-title {
        font-size: 1.25rem;
    }

    .prop-spec-tile {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .property-map {
        height: 280px;
    }
}

/* ?? Extra Small Mobile (max 375px) - iPhone SE ??????????? */
@media (max-width: 375px) {
    .prop-swiper-main {
        height: 320px;
    }

    .prop-gallery-overlay {
        padding: 1rem 0 0.75rem;
    }

    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .prop-gallery-title {
        font-size: 0.92rem;
    }

    .prop-gallery-ref {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }

    .prop-gallery-price {
        font-size: 1.2rem;
    }

    .prop-gallery-price-label {
        font-size: 0.58rem;
    }

    .prop-gallery-specs {
        font-size: 0.65rem;
        gap: 0.4rem;
    }

    .prop-gallery-spec-item i {
        font-size: 0.85rem;
    }

    .prop-gallery-btn {
        padding: 0.45rem 0.6rem;
        font-size: 0.55rem;
        gap: 0.4rem;
    }

    .prop-gallery-btn-thumb {
        width: 36px;
        height: 36px;
    }

    .prop-gallery-btn span {
        font-size: 0.5rem;
    }

    .prop-public-title {
        font-size: 1.1rem;
    }

    .prop-public-location {
        font-size: 0.82rem;
    }

    .prop-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.65rem;
    }

    .prop-section-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .prop-section-title {
        font-size: 0.92rem;
    }

    .property-map {
        height: 240px;
    }
}

/* ============================================================
   Photo Gallery Modal (Fullscreen)
   ============================================================ */
.prop-swiper-modal {
    width: 100%;
    height: calc(100vh - 60px);
}

.prop-swiper-modal .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

.prop-swiper-modal .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.prop-swiper-modal .swiper-button-prev,
.prop-swiper-modal .swiper-button-next {
    color: #fff;
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.2s ease;
}

.prop-swiper-modal .swiper-button-prev:hover,
.prop-swiper-modal .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.prop-swiper-modal .swiper-button-prev::after,
.prop-swiper-modal .swiper-button-next::after {
    font-size: 1.5rem;
}

.prop-swiper-modal .swiper-pagination {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.5rem;
}

/* Modal Close Buttons */
.prop-modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1060;
}

.prop-modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Prevent modal body flickering */
#photoGalleryModal .modal-body {
    will-change: opacity;
}

#photoGalleryModal.show .modal-body {
    animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 767.98px) {
    .prop-swiper-modal .swiper-button-prev,
    .prop-swiper-modal .swiper-button-next {
        width: 44px;
        height: 44px;
    }

    .prop-swiper-modal .swiper-button-prev::after,
    .prop-swiper-modal .swiper-button-next::after {
        font-size: 1.25rem;
    }

    .prop-modal-close-btn {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
    }
}

/* ----------------------------------------------------------
   Overview grid  (admin Unit Details page)
   ---------------------------------------------------------- */
.prop-overview-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 0.9rem;
    background: #f8fafc;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    height: 100%;
    transition: box-shadow 0.15s;
}

.prop-overview-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.prop-overview-icon {
    font-size: 1.2rem;
    color: var(--bs-primary, #0d6efd);
    margin-bottom: 0.5rem;
}

.prop-overview-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.2rem;
}

.prop-overview-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    word-break: break-word;
}

/* -- Gallery view-all button (admin Details pages) ------- */
.prop-gallery-view-all {
    position: absolute;
    bottom: 1.1rem;
    left: 1.1rem;
    background: rgba(255, 255, 255, 0.92);
    color: #1a1a2e;
    font-size: 0.82rem;
    font-weight: 600;
    border: none;
    border-radius: 2rem;
    padding: 0.35rem 1rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.prop-gallery-view-all:hover {
    background: #fff;
    transform: translateY(-1px);
}


/* ============================================================
   Property Details – Cinematic Hero + Summary Bar
   ============================================================ */

/* -- Cinematic hero wrapper -------------------------------- */
.prop-details-hero {
    position: relative;
    height: 520px;
    overflow: hidden;
    background: #0d1117;
}

.prop-details-hero-blur {
    position: absolute;
    inset: -40px;
    background-size: cover;
    background-position: center;
    filter: blur(28px);
    transform: scale(1.06);
    opacity: 0.60;
    z-index: 0;
}

/* Swiper override inside cinematic hero */
.prop-details-hero .prop-swiper-main {
    height: 520px;
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Show full image centred on the blurred backdrop */
.prop-details-hero .prop-swiper-img {
    object-fit: contain;
}

/* -- Property Summary Bar ---------------------------------- */
.prop-summary-bar {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 1rem 0;
}

.prop-summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
}

.prop-summary-ref {
    display: inline-block;
    font-size: 0.73rem;
    font-weight: 600;
    border: 1px solid #adb5bd;
    border-radius: 3px;
    padding: 0.1rem 0.5rem;
    color: #6c757d;
    vertical-align: middle;
    white-space: nowrap;
    flex-shrink: 0;
}

.prop-summary-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    color: #495057;
    font-size: 0.88rem;
    margin-top: 0.65rem;
}

.prop-summary-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.prop-summary-stat i {
    color: #6c757d;
    font-size: 0.85rem;
}

.prop-summary-price-label {
    font-size: 0.73rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #0aad8a;
    text-align: right;
    margin-bottom: 0.1rem;
}

.prop-summary-price {
    font-size: 1.55rem;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
    text-align: right;
    line-height: 1.2;
}

/* -- VIEW PHOTO GALLERY thumbnail button ------------------- */
.prop-gallery-cta {
    position: relative;
    width: 100px;
    height: 80px;
    flex-shrink: 0;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    transition: transform 0.15s, box-shadow 0.15s;
}

.prop-gallery-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.3);
}

.prop-gallery-cta img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prop-gallery-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .prop-details-hero,
    .prop-details-hero .prop-swiper-main {
        height: 260px;
    }

    .prop-summary-title {
        font-size: 1.1rem;
    }

    .prop-summary-price {
        font-size: 1.15rem;
    }

    .prop-gallery-cta {
        width: 72px;
        height: 58px;
    }
}

/* ----------------------------------------------------------
   Hybrid Pricing Display (Barter/Cash Split)
   ---------------------------------------------------------- */

/* Type & Furnishing badges on image */
.prop-buyer-type-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: rgba(13, 110, 253, 0.92);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.55rem;
    border-radius: 0.25rem;
    text-transform: capitalize;
    z-index: 2;
}

.prop-buyer-furnish-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: rgba(16, 185, 129, 0.92);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.55rem;
    border-radius: 0.25rem;
    text-transform: capitalize;
    z-index: 2;
}

/* Split pricing container */
.prop-buyer-pricing-split {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
}

/* Individual pricing row (Barter / Cash) */
.prop-buyer-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.prop-buyer-pricing-label {
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.prop-buyer-pricing-label i {
    font-size: 0.7rem;
    opacity: 0.8;
}

.prop-buyer-pricing-value {
    font-weight: 700;
    white-space: nowrap;
}

.prop-buyer-pricing-barter {
    color: #0d6efd;
}

.prop-buyer-pricing-cash {
    color: #10b981;
}

/* Total row */
.prop-buyer-pricing-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px solid #e9ecef;
    color: #0f172a;
}

.prop-buyer-pricing-total span:last-child {
    font-size: 0.95rem;
}

/* View Details CTA button */
.prop-buyer-cta {
    margin-top: auto;
}

.prop-buyer-cta .btn {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.prop-buyer-cta .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.75rem rgba(13, 110, 253, 0.25);
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
    .prop-buyer-pricing-row {
        font-size: 0.72rem;
    }

    .prop-buyer-pricing-label i {
        font-size: 0.65rem;
    }

    .prop-buyer-pricing-total {
        font-size: 0.82rem;
    }

    .prop-buyer-pricing-total span:last-child {
        font-size: 0.88rem;
    }

    .prop-buyer-type-badge,
    .prop-buyer-furnish-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.45rem;
    }
}


/* ============================================================
   Enhanced Available Units Section
   ============================================================ */
.property-list-wrapper {
    margin-top: 0;
}

/* Improved result count display */
.property-list-wrapper > p.text-muted.small {
    font-size: 0.88rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 0.6rem;
    border-left: 4px solid var(--bs-primary, #0d6efd);
    display: inline-block;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Enhanced grid spacing for unit cards */
.property-list-wrapper .row.g-4 {
    margin-top: 0.5rem;
    row-gap: 1.75rem !important;
}

/* Smooth transitions for unit cards */
.property-list-wrapper .col-12,
.property-list-wrapper .col-sm-6,
.property-list-wrapper .col-xl-4 {
    transition: transform 0.2s ease;
}

/* Enhanced section card for Available Units */
.prop-section-card:has(.property-list-wrapper) {
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    padding: 2rem;
}

.prop-section-card:has(.property-list-wrapper):hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Enhanced title styling - Fixed visibility */
.prop-section-card .prop-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a !important;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #e9ecef;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.prop-section-card .prop-section-title i {
    color: var(--bs-primary, #0d6efd);
    font-size: 1.1rem;
}


/* Unit count badge in section title */
.prop-units-count {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: auto;
    padding: 0.35rem 0.85rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 50px;
    border: 1px solid #cbd5e1;
}

/* Enhanced search bar with better visual hierarchy */
.property-search-bar {
    animation: slideInDown 0.4s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation for unit cards */
.property-list-wrapper .row > div {
    animation: fadeInUp 0.5s ease-out backwards;
}

.property-list-wrapper .row > div:nth-child(1) { animation-delay: 0.05s; }
.property-list-wrapper .row > div:nth-child(2) { animation-delay: 0.1s; }
.property-list-wrapper .row > div:nth-child(3) { animation-delay: 0.15s; }
.property-list-wrapper .row > div:nth-child(4) { animation-delay: 0.2s; }
.property-list-wrapper .row > div:nth-child(5) { animation-delay: 0.25s; }
.property-list-wrapper .row > div:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive improvements */
@media (max-width: 767.98px) {
    .prop-section-card:has(.property-list-wrapper) {
        padding: 1.25rem;
    }
    
    .prop-units-count {
        display: block;
        margin-left: 0;
        margin-top: 0.5rem;
        width: fit-content;
    }
    
    .property-search-bar .card-body {
        padding: 1rem !important;
    }
    
    .property-search-bar .row.g-2 {
        row-gap: 0.75rem !important;
    }
}


/* Enhanced buyer card hover effects for better engagement */
.prop-buyer-card {
    will-change: transform, box-shadow;
}

.prop-buyer-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
    transform: translateY(-4px) !important;
}

/* Improved search clear button */
.property-search-bar .btn-outline-secondary {
    border-color: #d1d9e0;
    color: #64748b;
    font-weight: 500;
}

.property-search-bar .btn-outline-secondary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #334155;
}

/* Loading state for search results */
.property-list-wrapper.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Empty state styling */
.property-list-wrapper .alert-info {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border: 1px solid #bae6fd;
    border-left: 4px solid #0ea5e9;
    color: #075985;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    font-weight: 500;
}

/* Focus visible for accessibility */
.property-search-bar .form-control:focus-visible,
.property-search-bar .form-select:focus-visible,
.property-search-bar .btn:focus-visible {
    outline: 2px solid var(--bs-primary, #0d6efd);
    outline-offset: 2px;
}



/* Override for Available Units title - ensure visibility */
.prop-units-section .prop-section-title {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.75rem !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 3px solid #e2e8f0 !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
}

.prop-units-section .prop-section-title i {
    color: var(--bs-primary, #0d6efd) !important;
    font-size: 1.25rem !important;
    flex-shrink: 0;
}

.prop-units-section .prop-section-title .prop-units-count {
    margin-left: auto;
    flex-shrink: 0;
}


/* Ensure proper spacing for title text */
.prop-section-title > span:first-of-type {
    flex: 0 1 auto;
    white-space: nowrap;
}

/* ============================================================
   Contact Us Section - Footer Style
   ============================================================ */
.prop-public-contact-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    padding: 3rem 0 2rem;
    margin-top: 3rem;
    margin-bottom: 0;
}

.prop-contact-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.prop-contact-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #fff;
    padding: 2rem 2rem 1.5rem;
    text-align: center;
}

.prop-contact-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.prop-contact-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.prop-contact-body {
    padding: 2.5rem 2rem;
    background: #fff;
}

.prop-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
}

.prop-contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #fff;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.prop-contact-content {
    flex: 1;
}

.prop-contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.35rem;
}

.prop-contact-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.5;
    word-break: break-word;
}

.prop-contact-value a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.prop-contact-value a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .prop-public-contact-section {
        padding: 2.5rem 0 1.75rem;
    }

    .prop-contact-header {
        padding: 1.5rem 1.5rem 1.25rem;
    }

    .prop-contact-title {
        font-size: 1.5rem;
    }

    .prop-contact-subtitle {
        font-size: 0.95rem;
    }

    .prop-contact-body {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .prop-public-contact-section {
        padding: 2rem 0 1.5rem;
        margin-top: 2rem;
    }

    .prop-contact-header {
        padding: 1.25rem 1rem 1rem;
    }

    .prop-contact-title {
        font-size: 1.3rem;
    }

    .prop-contact-subtitle {
        font-size: 0.88rem;
    }

    .prop-contact-body {
        padding: 1.5rem 1rem;
    }

    .prop-contact-item {
        gap: 0.75rem;
    }

    .prop-contact-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .prop-contact-label {
        font-size: 0.65rem;
    }

    .prop-contact-value {
        font-size: 0.88rem;
    }
}

/* Gap control */
.prop-units-section .prop-section-title > * {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.prop-units-section .prop-section-title > i {
    margin-right: 0.75rem !important;
}

/* ============================================================
   Additional Responsive Improvements
   ============================================================ */

/* Tablet & below - improve layout spacing */
@media (max-width: 991.98px) {
    .prop-sidebar {
        position: static;
    }

    .prop-specs-row {
        gap: 0.5rem;
    }

    .prop-spec-tile {
        min-width: 0;
        flex: 1 1 calc(33.333% - 0.34rem);
        padding: 0.65rem 0.5rem;
    }

    .prop-units-section .prop-section-title {
        font-size: 1.2rem !important;
    }
}

/* Small mobile - single column layout */
@media (max-width: 575.98px) {
    .prop-specs-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .prop-spec-tile {
        flex: none;
        width: 100%;
        padding: 0.75rem 1rem;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }

    .prop-spec-icon {
        font-size: 1.5rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .prop-spec-value {
        font-size: 1.1rem;
    }

    .prop-spec-label {
        font-size: 0.7rem;
    }

    .prop-section-card {
        padding: 0.85rem;
        margin-bottom: 0.85rem;
    }

    .prop-section-title {
        font-size: 0.9rem;
    }

    .prop-units-section .prop-section-title {
        font-size: 1.05rem !important;
        flex-wrap: wrap;
    }

    .prop-units-section .prop-section-title .prop-units-count {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .property-map {
        height: 280px;
    }

    /* Improve amenity display on mobile */
    .prop-amenity-item {
        font-size: 0.85rem;
    }

    /* Better description readability */
    .property-description {
        font-size: 0.9rem;
        line-height: 1.65;
    }
}

