:root {
    --caando-green: #0f766e;
    --caando-green-2: #14b8a6;
    --caando-honey: #ffb703;
    --caando-honey-soft: #fff1c7;
    --caando-coral: #e11d48;
    --caando-coral-2: #f97316;
    --caando-pink: #ec4899;
    --caando-purple: #7c3aed;
    --caando-blue: #0ea5e9;
    --caando-ink: #171717;
    --caando-muted: #5f6368;
    --caando-border: #f2b8c6;
    --caando-bg: #fff5f7;
}

.property-details-page {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,245,247,.86) 42%, rgba(255,255,255,.94)),
        url('/images/caando-blurred-towers.png') top center / min(1500px, 100%) auto no-repeat,
        var(--caando-bg);
    color: var(--caando-ink);
    padding: 24px 0 70px;
}

.breadcrumb-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--caando-muted);
    font-size: 13px;
}

.breadcrumb-line a {
    color: var(--caando-coral);
    text-decoration: none;
    font-weight: 800;
}

.details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 24px;
    align-items: start;
}

.media-column,
.info-column {
    display: grid;
    gap: 18px;
}

.gallery-card,
.map-card,
.nearby-card,
.title-card,
.spec-card,
.feature-card,
.description-card,
.agent-card,
.similar-card {
    border: 1px solid var(--caando-border);
    background: rgba(255, 255, 255, .96);
    border-radius: 20px;
    box-shadow: 0 16px 42px rgba(225, 29, 72, .12);
}

.gallery-card {
    overflow: hidden;
}

.main-photo {
    position: relative;
    min-height: 440px;
    background:
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .48) 100%),
        linear-gradient(135deg, #ffe0ec, #fff0bd 46%, #d8b4fe);
    background-position: center;
    background-size: cover;
}

.photo-label {
    position: absolute;
    right: 24px;
    bottom: 22px;
    color: #fff;
    font-weight: 900;
    font-size: 18px;
}

.round-action {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--caando-coral);
    font-weight: 900;
}

.round-action.save {
    right: 68px;
}

.round-action.save.is-saved {
    background: linear-gradient(135deg, var(--caando-coral), var(--caando-pink));
    color: #fff;
}

.thumb-row {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #fff;
    overflow-x: auto;
    scrollbar-width: thin;
}

.thumb-row button {
    flex: 0 0 118px;
    min-height: 72px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffe0ec, #fff0c6);
    background-position: center;
    background-size: cover;
    color: var(--caando-coral);
    font-weight: 900;
    cursor: pointer;
    transition: .18s ease;
}

.thumb-row button:hover,
.thumb-row button.is-active {
    border-color: var(--caando-coral);
    box-shadow: 0 10px 24px rgba(225, 29, 72, .18);
    transform: translateY(-1px);
}

.map-card,
.nearby-card,
.title-card,
.spec-card,
.feature-card,
.description-card,
.agent-card,
.similar-card {
    padding: 20px;
}

.map-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 210px;
    border-radius: 16px;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(236, 72, 153, .28) 0 54px, transparent 55px),
        linear-gradient(90deg, rgba(225, 29, 72, .12) 1px, transparent 1px),
        linear-gradient(rgba(249, 115, 22, .10) 1px, transparent 1px),
        #fff8fb;
    background-size: auto, 44px 44px, 44px 44px, auto;
}

.map-pin {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(135deg, var(--caando-coral), var(--caando-coral-2));
    transform: rotate(-45deg);
    box-shadow: 0 0 0 12px rgba(255, 79, 115, .18);
}

.map-placeholder strong {
    position: relative;
    margin-top: 80px;
    color: var(--caando-coral);
    font-weight: 900;
}

.map-card p {
    margin: 12px 0 0;
    color: var(--caando-muted);
    font-size: 14px;
}

.nearby-card h2,
.feature-card h2,
.description-card h2,
.similar-card h2 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 900;
}

.nearby-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.nearby-tabs article {
    border: 1px solid var(--caando-border);
    border-radius: 14px;
    padding: 14px;
    background: #fbfdfc;
}

.nearby-tabs h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 900;
}

.nearby-tabs ul,
.description-card ul {
    margin: 0;
    padding-right: 18px;
}

.nearby-tabs li,
.description-card li {
    margin-bottom: 8px;
    color: var(--caando-muted);
    font-size: 14px;
}

.title-card {
    position: relative;
}

.status-pill {
    display: inline-flex;
    margin-bottom: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff0c7, #ffe0ec);
    color: #9f1239;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 900;
}

.title-card h1 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.6;
}

.title-card p {
    margin: 0;
    color: var(--caando-muted);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--caando-border);
}

.spec-grid div,
.price-grid div {
    display: grid;
    gap: 6px;
}

.spec-grid span,
.price-grid span {
    color: var(--caando-muted);
    font-size: 13px;
    font-weight: 800;
}

.spec-grid strong,
.price-grid strong {
    font-size: 16px;
    font-weight: 900;
}

.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding-top: 16px;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-list span {
    border: 1px solid rgba(23, 72, 63, .22);
    border-radius: 999px;
    padding: 8px 13px;
    color: #9f1239;
    background: #fff5f7;
    font-weight: 800;
    font-size: 13px;
}

.agent-profile-card {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    text-align: center;
    padding: 26px 20px;
    border-color: rgba(225, 29, 72, .34);
    background:
        radial-gradient(circle at 50% 0%, rgba(249, 115, 22, .20), transparent 36%),
        radial-gradient(circle at 14% 16%, rgba(236, 72, 153, .14), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,.99), rgba(255,246,249,.96));
}

.agent-profile-avatar {
    display: grid;
    place-items: center;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #f97316, #e11d48 52%, #7c3aed);
    color: #fff;
    font-size: 42px;
    font-weight: 950;
    box-shadow: 0 18px 36px rgba(225, 29, 72, .20);
}

.agent-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-profile-avatar span {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: rgba(255,255,255,.7);
}

.agent-profile-info h2 {
    margin: 0 0 8px;
    color: var(--caando-ink);
    font-size: 22px;
    font-weight: 950;
}

.agent-profile-info p,
.agent-profile-info small,
.agent-profile-info strong,
.agent-profile-info em {
    display: block;
    margin: 0 0 8px;
}

.agent-profile-info p,
.agent-profile-info small {
    color: var(--caando-muted);
    line-height: 1.9;
}

.agent-profile-info strong {
    color: var(--caando-coral);
    font-size: 16px;
    font-weight: 950;
}

.agent-profile-info em {
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    background: #fff1f2;
    color: var(--caando-ink);
    padding: 7px 12px;
    font-style: normal;
    font-weight: 900;
}

.agent-profile-actions {
    width: 100%;
    display: grid;
    gap: 10px;
}

.agent-actions a,
.agent-actions button {
    border: 1px solid rgba(225, 29, 72, .34);
    border-radius: 12px;
    min-height: 46px;
    font-weight: 900;
    text-align: center;
}

.agent-actions a {
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--caando-coral);
    text-decoration: none;
}

.agent-actions a.primary {
    background: linear-gradient(135deg, var(--caando-coral), var(--caando-coral-2), var(--caando-pink));
    color: #fff;
    border-color: transparent;
}

.agent-actions button {
    background: #fff;
    color: var(--caando-coral);
}

.similar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.similar-grid a {
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--caando-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: .2s ease;
}

.similar-grid a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(23, 72, 63, .10);
}

.similar-image {
    min-height: 110px;
    background: linear-gradient(135deg, #ffe0ec, #fff0c6);
    background-position: center;
    background-size: cover;
}

.similar-grid h3,
.similar-grid p,
.similar-grid strong {
    display: block;
    margin: 10px 12px;
}

.similar-grid h3 {
    font-size: 14px;
    font-weight: 900;
}

.similar-grid p {
    color: var(--caando-muted);
    font-size: 13px;
}

.similar-grid strong {
    color: var(--caando-coral);
    font-size: 13px;
}

@media (max-width: 992px) {
    .details-layout {
        grid-template-columns: 1fr;
    }

    .media-column {
        order: 1;
    }

    .info-column {
        order: 0;
    }
}

@media (max-width: 640px) {
    .property-details-page {
        padding-top: 16px;
    }

    .title-card h1 {
        font-size: 22px;
    }

    .main-photo {
        min-height: 280px;
    }

    .spec-grid,
    .price-grid,
    .nearby-tabs,
    .similar-grid,
    .agent-actions {
        grid-template-columns: 1fr;
    }

    .map-placeholder {
        min-height: 170px;
    }
}


.privacy-notice {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid rgba(225, 29, 72, .22);
    font-weight: 900;
    line-height: 1.9;
}
