.property-show-page {
    padding: 1rem 0 0;
    background:
        radial-gradient(circle at top left, rgba(219, 234, 254, 0.88), transparent 28%),
        radial-gradient(circle at top right, rgba(191, 219, 254, 0.4), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 22rem);
}

.property-show-grid,
.property-detail-grid {
    display: grid;
    gap: 1.5rem;
}

.property-show-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.85fr);
    align-items: stretch;
}

.property-sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
}

.property-facts-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe5f1;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
    padding: 1.2rem 1.25rem;
}

.property-summary-card .property-facts-card {
    margin-top: auto;
    padding: 1.1rem 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid #e8eef5;
    border-radius: 0;
    box-shadow: none;
}

.property-summary-card .property-facts-head {
    margin-bottom: 0.75rem;
}

.property-summary-card .property-facts-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.property-facts-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.property-facts-head h2 {
    margin: 0;
    font-size: 1.08rem;
    color: #0f172a;
}

.property-facts-head span {
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 600;
}

.property-facts-list {
    display: grid;
    gap: 0.6rem;
}

.property-facts-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.78rem 0.9rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e6edf6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.property-facts-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f3f8ff 0%, #e8f1ff 100%);
    border: 1px solid #d9e8ff;
    color: #5f8fdd;
    font-size: 0.95rem;
}

.property-facts-copy {
    min-width: 0;
    display: grid;
    gap: 0.18rem;
}

.property-facts-label {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.25;
}

.property-facts-item strong {
    color: #10233f;
    font-size: 0.98rem;
    line-height: 1.3;
}

.property-summary-card .property-facts-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.72rem 0.78rem;
    background: #f8fbff;
    border-color: #edf2f8;
    border-radius: 14px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.property-summary-card .property-facts-item:hover {
    background: #f0f6ff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.06);
}

.property-summary-card .property-facts-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 0.88rem;
}

.property-summary-card .property-facts-label {
    font-size: 0.8rem;
}

.property-summary-card .property-facts-item strong {
    font-size: 0.92rem;
}

.property-media-card,
.property-summary-card,
.property-contact-card,
.property-panel {
    background: #fff;
    border: 1px solid #dbe5f1;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.property-media-card {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    min-width: 0;
}

.property-media-stage {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0));
    box-shadow:
        0 28px 70px rgba(15, 23, 42, 0.14),
        0 10px 24px rgba(15, 23, 42, 0.08);
    margin-bottom: 0.8rem;
    min-width: 0;
}

.property-media-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 30%);
}

.property-media-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at center, transparent 44%, rgba(15, 23, 42, 0.14) 100%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.02), rgba(2, 6, 23, 0.16));
}

.property-gallery-swiper {
    border-radius: inherit;
    width: 100%;
    max-width: 100%;
}

.property-gallery-swiper .swiper-wrapper {
    align-items: stretch;
    width: 100%;
    max-width: 100%;
}

.property-gallery-swiper .swiper-slide {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
}

.property-gallery-thumbs-wrap {
    padding: 0;
    margin-top: 0.1rem;
    position: relative;
}

.property-gallery-thumbs-wrap::before {
    content: "";
    position: absolute;
    inset: -0.35rem -0.5rem auto;
    height: calc(100% + 0.7rem);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 255, 0.94));
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    pointer-events: none;
}

.property-gallery-thumbs-swiper {
    overflow: visible;
    position: relative;
    z-index: 1;
}

.property-gallery-thumbs-swiper .swiper-slide {
    width: auto;
}

.property-media-surface {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.property-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-width: 0;
    transform: scale(1.015);
    transition: transform 0.65s cubic-bezier(0.2, 0.65, 0.2, 1), filter 0.45s ease;
    filter: saturate(1.04) contrast(1.02);
}

.property-media-veil {
    display: none;
}

.property-media-badge,
.property-media-counter,
.property-media-cta {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.property-media-badge {
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.98), rgba(21, 128, 61, 0.94));
    box-shadow: 0 14px 28px rgba(21, 128, 61, 0.24);
    color: #fff;
}

.property-media-counter {
    left: 1rem;
    bottom: 1rem;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.22);
    color: #fff;
}

.property-media-cta {
    right: 1rem;
    bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    color: #fff;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.property-media-surface:hover .property-main-image,
.property-media-surface:focus-visible .property-main-image {
    transform: scale(1.05);
    filter: saturate(1.08) contrast(1.03);
}

.property-media-surface:hover .property-media-cta,
.property-media-surface:focus-visible .property-media-cta {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
}

.property-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.42);
    color: #fff;
    box-shadow:
        0 18px 38px rgba(15, 23, 42, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    transform: translateY(-50%);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.property-gallery-nav:hover,
.property-gallery-nav:focus-visible {
    transform: translateY(-50%) scale(1.04);
    background: rgba(15, 23, 42, 0.58);
    box-shadow:
        0 22px 42px rgba(15, 23, 42, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.property-gallery-nav:focus-visible {
    outline: none;
}

.property-gallery-nav.swiper-button-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.property-gallery-nav--prev {
    left: 1rem;
}

.property-gallery-nav--next {
    right: 1rem;
}

.property-media-surface:focus-visible {
    outline: none;
}

.property-gallery-bullets {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 3;
    width: 100% !important;
    min-height: 16px;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    transform: none;
    margin: 1rem auto 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
}

.property-gallery-bullets .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 !important;
    background: #d1d5db;
    opacity: 1;
    transform: scale(1);
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.property-gallery-bullets .swiper-pagination-bullet-active {
    background: #111827;
    transform: scale(1.40);
}

.property-gallery-bullets.swiper-pagination-lock {
    display: flex !important;
}

.property-gallery-bullets.swiper-pagination-horizontal,
.swiper-horizontal>.property-gallery-bullets.swiper-pagination-bullets {
    position: static !important;
    inset: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
}

.property-thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    opacity: 0.78;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid rgba(203, 213, 225, 0.75);
    box-shadow:
        0 10px 22px rgba(15, 23, 42, 0.06),
        0 2px 6px rgba(15, 23, 42, 0.04);
}

.property-thumb img {
    width: 100%;
    height: 84px;
    object-fit: cover;
    display: block;
    filter: saturate(1.04) contrast(1.02);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.property-thumb.is-active,
.property-thumb:hover,
.property-thumb:focus-visible {
    opacity: 1;
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow:
        0 16px 30px rgba(15, 23, 42, 0.12),
        0 4px 10px rgba(37, 99, 235, 0.08);
}

.property-thumb.is-active img,
.property-thumb:hover img,
.property-thumb:focus-visible img {
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.03);
}

.property-thumb--logo {
    background: linear-gradient(145deg, #0f172a, #1e3a8a);
}

.fancybox__backdrop {
    background: rgba(3, 7, 18, 0.92);
}

.fancybox__toolbar,
.fancybox__nav {
    --f-button-bg: rgba(255, 255, 255, 0.12);
    --f-button-hover-bg: rgba(255, 255, 255, 0.2);
    --f-button-active-bg: rgba(255, 255, 255, 0.18);
}

.fancybox__caption {
    font-size: 0.95rem;
}

.property-summary-card,
.property-contact-card,
.property-panel {
    padding: 1.5rem;
}

.property-summary-card {
    position: relative;
    overflow: hidden;
    border-color: #dbe5f1;
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 20px rgba(15, 23, 42, 0.05),
        0 24px 52px rgba(15, 23, 42, 0.06);
    padding: 1.35rem 1.3rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.property-summary-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: #2563eb;
}

.property-summary-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
}

.property-summary-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.property-summary-chip--soft {
    min-height: 36px;
    padding: 0.45rem 0.95rem;
    background: linear-gradient(180deg, #edf9f2 0%, #e5f6eb 100%);
    border-color: transparent;
    color: #3d9a61;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 6px 14px rgba(61, 154, 97, 0.08);
}

.property-price-wrap {
    display: grid;
    gap: 0.4rem;
    padding: 0 0 0.9rem;
    border-bottom: 1px solid #e2e8f0;
}

.property-price {
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.04em;
}

.property-price-meta,
.property-street,
.property-spec-label,
.property-highlight-label,
.property-video-kicker {
    color: #64748b;
}

.property-price-meta {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: none;
    font-weight: 700;
}

.property-title {
    margin: 0.9rem 0 0.55rem;
    font-size: 1.6rem;
    line-height: 1.14;
    color: #10233f;
    letter-spacing: -0.03em;
}

.property-location,
.property-contact-link,
.property-broker-box,
.property-info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.property-location {
    color: #334155;
    font-size: 0.95rem;
    padding: 0.72rem 0.82rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    box-shadow: none;
}

.property-location i {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f1ff;
    color: #1d4ed8;
}

.property-street {
    margin-top: 0.6rem;
    padding-left: 0.15rem;
    font-size: 0.9rem;
}

.property-summary-actions,
.property-contact-actions,
.property-related-grid {
    display: grid;
    gap: 0.85rem;
}

.property-summary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid #e8eef5;
}

.property-action-button,
.property-primary-button,
.property-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.68rem 0.9rem;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.property-action-button.is-ghost,
.property-secondary-button {
    border: 1px solid #d7e3f2;
    background: #fff;
    box-shadow: none;
    color: #14366d;
}

.property-action-button:hover,
.property-primary-button:hover,
.property-secondary-button:hover {
    transform: translateY(-1px);
}

.property-primary-button {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.25);
}

.property-contact-title,
.property-panel-head h2 {
    margin: 0 0 1rem;
    font-size: 1.3rem;
    color: #0f172a;
}

.property-contact-card {
    margin-top: 0.75rem;
}

.property-broker-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1d4ed8;
    font-size: 1.4rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.property-broker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-broker-info {
    display: grid;
    gap: 0.2rem;
}

.property-broker-info span,
.property-empty-copy,
.property-description,
.property-video-placeholder p {
    color: #475569;
}

.property-contact-link {
    margin-top: 0.9rem;
    color: #14366d;
    text-decoration: none;
}

.property-contact-actions {
    margin-top: 1.2rem;
}

.property-highlight-item strong,
.property-spec-value,
.property-info-row strong {
    display: block;
    color: #10233f;
    font-weight: 700;
}

.property-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1.5rem;
}

.property-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.property-spec-item {
    display: flex;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 18px;
    background: #f8fbff;
}

.property-spec-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #e0edff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.property-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.property-chip {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: #eef4ff;
    color: #14366d;
    font-weight: 600;
}

.property-panel-head--between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.property-panel-head--between a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 700;
}

.property-detail-grid--content {
    align-items: start;
}

.property-description {
    line-height: 1.85;
}

.property-info-list {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.property-map-shell {
    display: grid;
    gap: 0.9rem;
}

.property-map-frame-wrap {
    overflow: hidden;
    border: 1px solid #dbe5f1;
    border-radius: 22px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.property-map-frame {
    width: 100%;
    height: 360px;
    border: 0;
    display: block;
}

.property-map-status {
    color: #64748b;
    font-size: 0.95rem;
}

.property-info-row {
    justify-content: space-between;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #e2e8f0;
}

.property-info-row span {
    color: #64748b;
}

.property-video-placeholder {
    display: grid;
    place-items: center;
    min-height: 220px;
    padding: 1.5rem;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 36%),
        linear-gradient(145deg, #eff6ff, #dbeafe);
    color: #10233f;
}

.property-video-placeholder strong {
    display: block;
    margin: 0.35rem 0 0.8rem;
    font-size: 1.15rem;
}

.property-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.property-related-card .estate-title a {
    color: inherit;
    text-decoration: none;
}

@media (min-width: 992px) {

    .property-media-card,
    .property-sidebar-stack {
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }

    .property-media-card {
        height: 100%;
    }

    .property-media-stage {
        display: flex;
        flex: 1 1 auto;
        min-height: 0;
        margin-bottom: 0.95rem;
    }

    .property-gallery-swiper {
        display: flex;
        flex: 1 1 auto;
        min-height: 0;
    }

    .property-gallery-swiper .swiper-wrapper {
        height: 100%;
    }

    .property-gallery-swiper .swiper-slide {
        display: flex;
        height: 100%;
        aspect-ratio: auto;
        min-height: 0;
    }

    .property-media-surface {
        height: 100%;
    }
}

@media (max-width: 1199.98px) {

    .property-show-grid,
    .property-detail-grid,
    .property-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {

    .property-show-grid,
    .property-detail-grid,
    .property-related-grid,
    .property-summary-actions,
    .property-spec-grid {
        grid-template-columns: 1fr;
    }

    .property-media-stage {
        border-radius: 12px;
        margin-bottom: 0.7rem;
    }

    .property-summary-card,
    .property-contact-card,
    .property-panel {
        padding: 1.25rem;
    }

    .property-gallery-swiper .swiper-slide {
        aspect-ratio: 4 / 3;
    }

    .property-gallery-nav {
        width: 42px;
        height: 42px;
    }

    .property-gallery-bullets {
        margin-top: 0.8rem;
        gap: 0.45rem;
    }

    .property-thumb img {
        height: 72px;
    }

    .property-media-badge,
    .property-media-counter,
    .property-media-cta {
        transform: scale(0.94);
        transform-origin: center;
    }

    .property-summary-card .property-facts-list {
        grid-template-columns: 1fr;
    }

    .property-facts-item {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 0.65rem;
    }
}

@media (max-width: 767.98px) {
    .property-show-page {
        padding-top: 0;
    }

    .property-summary-card,
    .property-contact-card,
    .property-facts-card,
    .property-panel {
        border-radius: 18px;
        padding: 1rem;
    }

    .property-summary-card .property-facts-card {
        margin-top: 0.85rem;
        padding-top: 0.85rem;
    }

    .property-media-card {
        padding: 0;
        border-radius: 0;
    }

    .property-media-stage {
        border-radius: 10px;
        margin-bottom: 0.65rem;
    }

    .property-gallery-swiper .swiper-slide {
        aspect-ratio: 4 / 3;
    }

    .property-gallery-nav {
        width: 38px;
        height: 38px;
    }

    .property-gallery-nav--prev {
        left: 0.7rem;
    }

    .property-gallery-nav--next {
        right: 0.7rem;
    }

    .property-title {
        font-size: 1.5rem;
    }

    .property-location {
        padding: 0.75rem 0.8rem;
        border-radius: 14px;
        gap: 0.6rem;
    }

    .property-map-frame {
        height: 280px;
    }

    .property-location i {
        width: 30px;
        height: 30px;
    }

    .property-media-cta span {
        display: none;
    }

    .property-gallery-bullets {
        margin-top: 0.7rem;
        gap: 0.45rem;
    }

    .property-gallery-bullets .swiper-pagination-bullet {
        width: 5px;
        height: 5px;
    }

    .property-thumb img {
        height: 64px;
    }
}