/* =========================================================
   PROPERTY DETAIL — BASE
========================================================= */

.property-detail-page {
    background: var(--cream);
}

.property-detail-header {
    position: relative;
    z-index: 50;
    background:
        linear-gradient(
            135deg,
            rgba(13, 21, 31, 0.98),
            rgba(29, 42, 56, 0.98)
        ),
        var(--dark);
}

.property-detail-header .top-header {
    background: rgba(7, 13, 20, 0.18);
}

.property-detail {
    min-height: 100vh;
}


/* =========================================================
   BREADCRUMBS
========================================================= */

.property-breadcrumb-section {
    padding: 24px 0 8px;
    background: var(--cream);
}

.property-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 13px;
    list-style: none;
}

.property-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.property-breadcrumb li:not(:last-child)::after {
    content: "/";
    color: rgba(102, 112, 133, 0.45);
}

.property-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-fast);
}

.property-breadcrumb a:hover {
    color: var(--gold);
}

.property-breadcrumb li:last-child {
    max-width: 430px;
    overflow: hidden;
    color: var(--dark);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   HERO
========================================================= */

.property-hero-section {
    padding: 24px 0 38px;
    background: var(--cream);
}

.property-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: start;
    gap: clamp(32px, 5vw, 72px);
}

.property-hero-content {
    min-width: 0;
    padding-top: 11px;
}

.property-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 17px;
}

.property-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 29px;
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    font-size: 10.5px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.65px;
    text-transform: uppercase;
}

.property-badge-gold {
    background: var(--gold);
    color: #111;
}

.property-badge-dark {
    background: var(--dark);
    color: #fff;
}

.property-badge-danger {
    background: #b42318;
    color: #fff;
}

.property-badge-light {
    border: 1px solid rgba(13, 21, 31, 0.1);
    background: #fff;
    color: var(--dark);
}

.property-hero h1 {
    max-width: 900px;
    margin: 0;
    color: var(--dark);
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.045em;
    overflow-wrap: break-word;
}

.property-hero-location {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    margin-top: 20px;
    color: var(--muted-dark);
    font-size: 16px;
    line-height: 1.55;
}

.property-hero-location i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--gold);
    font-size: 19px;
}

.property-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 25px;
}

.property-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    padding: 9px 16px;
    border: 1px solid rgba(13, 21, 31, 0.11);
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--dark);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

.property-action-button:hover {
    border-color: rgba(200, 163, 95, 0.45);
    background: var(--gold-soft);
    color: var(--dark);
    transform: translateY(-1px);
}

.property-action-button.is-favorite {
    border-color: var(--gold);
    background: var(--gold);
    color: #111;
}

.property-action-button.is-favorite i::before {
    content: "\f415";
}


/* =========================================================
   PRICE PANEL
========================================================= */

.property-price-panel {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(200, 163, 95, 0.22);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(13, 21, 31, 0.09);
}

.property-price-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(200, 163, 95, 0.11);
    filter: blur(2px);
    transform: translate(45%, -55%);
    pointer-events: none;
}

.property-price-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.75px;
    text-transform: uppercase;
}

.property-price-value {
    position: relative;
    color: var(--dark);
    font-size: clamp(28px, 3vw, 39px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -1.2px;
}

.property-price-note {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.property-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding: 15px 0;
    border-top: 1px solid rgba(13, 21, 31, 0.08);
    border-bottom: 1px solid rgba(13, 21, 31, 0.08);
}

.property-price-row span {
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 700;
}

.property-price-row strong {
    color: var(--dark);
    font-size: 13.5px;
    font-weight: 900;
    text-align: right;
}

.property-price-details {
    border-bottom: 1px solid rgba(13, 21, 31, 0.08);
}

.property-price-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    color: var(--dark);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.property-price-details summary::-webkit-details-marker {
    display: none;
}

.property-price-details summary i {
    flex: 0 0 auto;
    color: var(--gold);
    transition: transform var(--transition-fast);
}

.property-price-details[open] summary i {
    transform: rotate(180deg);
}

.property-price-details > div {
    padding: 0 0 16px;
    color: var(--muted-dark);
    font-size: 12.5px;
    line-height: 1.65;
}

.property-price-details p {
    margin: 0 0 8px;
}

.property-price-details p:last-child {
    margin-bottom: 0;
}

.property-price-reference {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 15px;
}

.property-price-reference span {
    color: var(--muted);
    font-size: 11.5px;
}

.property-price-reference strong {
    color: var(--dark);
    font-size: 12px;
    font-weight: 900;
}


/* =========================================================
   GALLERY
========================================================= */

.property-gallery-section {
    padding-bottom: 48px;
    background: var(--cream);
}

.property-gallery {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(290px, 0.76fr);
    gap: 10px;
    height: clamp(480px, 52vw, 690px);
    overflow: hidden;
    border-radius: 28px;
    background: var(--dark);
    box-shadow: 0 24px 70px rgba(13, 21, 31, 0.16);
}

.property-gallery.property-gallery-single {
    grid-template-columns: 1fr;
}

.property-gallery button {
    padding: 0;
    border: 0;
    font: inherit;
}

.property-gallery-main,
.property-gallery-secondary {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--dark);
    cursor: zoom-in;
}

.property-gallery-main img,
.property-gallery-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        opacity 0.3s ease,
        transform 0.6s ease;
}

.property-gallery-main:hover img,
.property-gallery-secondary:hover img {
    opacity: 0.92;
    transform: scale(1.025);
}

.property-gallery-expand {
    position: absolute;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--dark);
    font-size: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast);
}

.property-gallery-main:hover .property-gallery-expand {
    background: var(--gold);
    color: #111;
    transform: scale(1.05);
}

.property-gallery-side {
    position: relative;
    display: grid;
    grid-auto-rows: 1fr;
    gap: 10px;
    min-width: 0;
    min-height: 0;
}

.property-gallery-all {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 13px !important;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.94);
    color: var(--dark);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    transition:
        background var(--transition-fast),
        transform var(--transition-fast);
}

.property-gallery-all:hover {
    background: var(--gold);
    transform: translateY(-1px);
}

.property-gallery-all i {
    font-size: 16px;
}

.property-gallery-all strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    padding: 0 7px;
    border-radius: var(--radius-pill);
    background: var(--dark);
    color: #fff;
    font-size: 10px;
}

.property-gallery-all-single {
    z-index: 2;
}

.property-gallery-mobile-count {
    display: none;
}

.property-gallery-empty {
    position: relative;
    height: clamp(400px, 50vw, 620px);
    overflow: hidden;
    border-radius: 28px;
    background: var(--dark);
    box-shadow: 0 24px 70px rgba(13, 21, 31, 0.14);
}

.property-gallery-empty img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
}

.property-gallery-empty > div {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: #fff;
}

.property-gallery-empty i {
    color: var(--gold-light);
    font-size: 25px;
}


/* =========================================================
   CONTENT LAYOUT
========================================================= */

.property-content-section {
    padding: 52px 0 110px;
    background:
        radial-gradient(
            circle at 95% 10%,
            rgba(200, 163, 95, 0.12),
            transparent 25%
        ),
        var(--cream);
}

.property-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    align-items: start;
    gap: 30px;
}

.property-main-content {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.property-card {
    padding: 40px;
    border: 1px solid rgba(13, 21, 31, 0.075);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(13, 21, 31, 0.065);
}

.property-section-heading {
    margin-bottom: 27px;
}

.property-section-heading .section-label {
    margin-bottom: 10px;
}

.property-section-heading h2 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -1.1px;
}


/* =========================================================
   PARAMETERS
========================================================= */

.property-parameters-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
}

.property-parameter {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(13, 21, 31, 0.065);
    border-radius: 17px;
    background: var(--cream-2);
}

.property-parameter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: #fff;
    color: var(--gold);
    font-size: 19px;
    box-shadow: 0 5px 15px rgba(13, 21, 31, 0.05);
}

.property-parameter > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.property-parameter > div > span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.property-parameter strong {
    overflow: hidden;
    color: var(--dark);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 900;
    text-overflow: ellipsis;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.property-description {
    color: var(--muted-dark);
    font-size: 16.5px;
    line-height: 1.82;
}

.property-description p {
    margin: 0 0 20px;
}

.property-description p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FEATURES
========================================================= */

.property-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.property-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid rgba(13, 21, 31, 0.04);
    border-radius: 15px;
    background: var(--cream-2);
    color: var(--muted-dark);
    font-size: 13.5px;
    line-height: 1.45;
    font-weight: 800;
}

.property-feature i {
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--gold);
    font-size: 16px;
}


/* =========================================================
   TECHNICAL INFORMATION
========================================================= */

.property-technical-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(13, 21, 31, 0.075);
    border-radius: 19px;
    background: rgba(13, 21, 31, 0.075);
}

.property-technical-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 19px;
    background: #fff;
}

.property-technical-list dt {
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 700;
}

.property-technical-list dd {
    margin: 0;
    color: var(--dark);
    font-size: 13.5px;
    line-height: 1.45;
    font-weight: 900;
    text-align: right;
}


/* =========================================================
   LOCATION
========================================================= */

.property-location-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 27px;
    padding: 19px;
    border: 1px solid rgba(200, 163, 95, 0.2);
    border-radius: 19px;
    background: var(--cream-2);
}

.property-location-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--gold);
    color: #111;
    font-size: 22px;
}

.property-location-card-content {
    display: grid;
    gap: 3px;
    min-width: 0;
    margin-right: auto;
}

.property-location-card-content span {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 800;
}

.property-location-card-content strong {
    color: var(--dark);
    font-size: 14.5px;
    line-height: 1.45;
    font-weight: 900;
}


/* =========================================================
   SIDEBAR AND CONTACT
========================================================= */

.property-sidebar {
    min-width: 0;
}

.property-contact-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 26px;
    background:
        linear-gradient(
            145deg,
            rgba(13, 21, 31, 0.99),
            rgba(29, 42, 56, 0.99)
        ),
        var(--dark);
    color: #fff;
    box-shadow: 0 24px 60px rgba(13, 21, 31, 0.2);
}

.property-contact-card::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -90px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(200, 163, 95, 0.12);
    pointer-events: none;
}

.property-contact-heading {
    position: relative;
    margin-bottom: 24px;
}

.property-contact-heading .section-label {
    margin-bottom: 10px;
    color: var(--gold-light);
}

.property-contact-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 2.6vw, 33px);
    line-height: 1.13;
    font-weight: 900;
    letter-spacing: -0.8px;
}

.property-contact-heading p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 13.5px;
    line-height: 1.65;
}

.property-agent {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.property-agent-photo,
.property-agent-placeholder {
    flex: 0 0 auto;
    width: 65px;
    height: 65px;
    border: 3px solid rgba(200, 163, 95, 0.62);
    border-radius: 50%;
    background: var(--gold-soft);
    object-fit: cover;
}

.property-agent-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 28px;
}

.property-agent-content {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.property-agent-content > span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.property-agent-content strong {
    color: #fff;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 900;
}

.property-agent-content small {
    color: var(--gold-light);
    font-size: 11.5px;
}

.property-contact-links {
    display: grid;
    gap: 9px;
    margin-top: 19px;
}

.property-contact-links > a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    transition:
        background var(--transition-fast),
        transform var(--transition-fast);
}

.property-contact-links > a:hover {
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-1px);
}

.property-contact-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 41px;
    height: 41px;
    border-radius: 13px;
    background: var(--gold-soft);
    color: #775719;
    font-size: 18px;
}

.property-contact-link-content {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.property-contact-link-content small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10.5px;
    font-weight: 800;
}

.property-contact-link-content strong {
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 900;
    text-overflow: ellipsis;
}

.property-contact-cta {
    width: 100%;
    margin-top: 19px;
}

.property-contact-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 10.5px;
    line-height: 1.45;
    text-align: center;
}

.property-contact-note i {
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--gold-light);
}

/*
   Sticky se zapne pouze na desktopu s dostatečně vysokým viewportem.
   Celý sidebar je sticky, nikoliv pouze jedna z jeho karet.
*/
@media (min-width: 992px) and (min-height: 760px) {
    .property-sidebar {
        position: sticky;
        top: 24px;
    }
}


/* =========================================================
   RELATED PROPERTIES
========================================================= */

.related-properties-section {
    padding: 100px 0;
    background: #fff;
}

.related-properties-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 34px;
}

.related-properties-heading .section-title {
    margin-bottom: 0;
}

.related-properties-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.related-property-card {
    overflow: hidden;
    border: 1px solid rgba(13, 21, 31, 0.075);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(13, 21, 31, 0.075);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.related-property-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.related-property-image {
    position: relative;
    display: block;
    height: 245px;
    overflow: hidden;
    background: var(--dark);
}

.related-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-property-card:hover .related-property-image img {
    transform: scale(1.04);
}

.related-property-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.related-property-badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    background: var(--gold);
    color: #111;
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: 0.55px;
    text-transform: uppercase;
}

.related-property-badge-dark {
    background: var(--dark);
    color: #fff;
}

.related-property-content {
    padding: 22px;
}

.related-property-location {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.related-property-location i {
    flex: 0 0 auto;
    color: var(--gold);
}

.related-property-content h3 {
    margin: 0 0 14px;
    color: var(--dark);
    font-size: 19px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: -0.45px;
}

.related-property-content h3 a:hover {
    color: #8a641f;
}

.related-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}

.related-property-meta span {
    padding: 6px 9px;
    border-radius: var(--radius-pill);
    background: var(--cream-2);
    color: var(--muted-dark);
    font-size: 11px;
    font-weight: 800;
}

.related-property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(13, 21, 31, 0.075);
}

.related-property-footer > strong {
    color: var(--dark);
    font-size: 17px;
    line-height: 1.25;
    font-weight: 900;
}

.related-property-footer > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 39px;
    height: 39px;
    border-radius: 50%;
    background: var(--dark);
    color: #fff;
    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast);
}

.related-property-footer > a:hover {
    background: var(--gold);
    color: #111;
    transform: translateX(2px);
}


/* =========================================================
   NOTIFICATION
========================================================= */

.property-notification {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1100;
    max-width: min(360px, calc(100vw - 32px));
    padding: 14px 18px;
    border-radius: 15px;
    background: var(--dark);
    color: #fff;
    box-shadow: var(--shadow-card);
    font-size: 13.5px;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition:
        opacity var(--transition-fast),
        transform var(--transition-fast);
}

.property-notification.show {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE — LARGE TABLET
========================================================= */

@media (max-width: 1199px) {
    .property-hero {
        grid-template-columns: minmax(0, 1fr) 350px;
        gap: 36px;
    }

    .property-content-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
    }

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

    .property-gallery {
        grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.7fr);
    }
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 991px) {
    .property-hero {
        grid-template-columns: minmax(0, 1fr) 315px;
        gap: 28px;
    }

    .property-price-panel {
        padding: 24px;
    }

    .property-gallery {
        grid-template-columns: minmax(0, 1fr) 250px;
        height: 500px;
    }

    .property-content-layout {
        grid-template-columns: 1fr;
    }

    .property-sidebar {
        position: static;
        grid-row: 1;
    }

    .property-contact-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
        column-gap: 28px;
    }

    .property-contact-heading {
        grid-column: 1;
        grid-row: 1 / span 3;
        margin: 0;
        padding-right: 10px;
    }

    .property-agent,
    .property-contact-links,
    .property-contact-cta,
    .property-contact-note {
        grid-column: 2;
    }

    .property-agent {
        padding-top: 0;
        border-top: 0;
    }

    .property-contact-links {
        margin-top: 16px;
    }

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


/* =========================================================
   RESPONSIVE — MOBILE LANDSCAPE
========================================================= */

@media (max-width: 767px) {
    .property-hero {
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .property-hero-content {
        padding-top: 0;
    }

    .property-price-panel {
        max-width: none;
    }

    .property-gallery {
        display: block;
        height: 430px;
        border-radius: 23px;
    }

    .property-gallery-side,
    .property-gallery-all,
    .property-gallery-expand {
        display: none;
    }

    .property-gallery-main {
        height: 100%;
    }

    .property-gallery-mobile-count {
        position: absolute;
        right: 15px;
        bottom: 15px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 42px;
        padding: 9px 13px !important;
        border-radius: var(--radius-pill);
        background: rgba(255, 255, 255, 0.94);
        color: var(--dark);
        font-size: 12px;
        font-weight: 900;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    }

    .property-card {
        padding: 30px;
    }

    .property-technical-list {
        grid-template-columns: 1fr;
    }

    .property-location-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .property-location-card .btn-main {
        width: 100%;
    }

    .property-contact-card {
        display: block;
    }

    .property-contact-heading {
        margin-bottom: 24px;
        padding-right: 0;
    }

    .property-agent {
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .property-contact-links {
        margin-top: 19px;
    }

    .related-properties-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 575px) {
    .property-breadcrumb-section {
        padding-top: 19px;
    }

    .property-breadcrumb li:last-child {
        display: none;
    }

    .property-hero-section {
        padding-top: 15px;
        padding-bottom: 29px;
    }

    .property-hero h1 {
        font-size: clamp(32px, 10vw, 44px);
        letter-spacing: -0.04em;
    }

    .property-hero-location {
        margin-top: 16px;
        font-size: 14.5px;
    }

    .property-hero-actions {
        width: 100%;
        margin-top: 21px;
    }

    .property-action-button {
        flex: 1 1 0;
    }

    .property-price-panel {
        padding: 22px;
        border-radius: 21px;
    }

    .property-price-value {
        font-size: 29px;
    }

    .property-price-row {
        align-items: flex-start;
    }

    .property-gallery-section {
        padding-bottom: 28px;
    }

    .property-gallery {
        height: 320px;
        border-radius: 19px;
    }

    .property-gallery-empty {
        height: 320px;
        border-radius: 19px;
    }

    .property-content-section {
        padding-top: 28px;
        padding-bottom: 72px;
    }

    .property-content-layout,
    .property-main-content {
        gap: 17px;
    }

    .property-card,
    .property-contact-card {
        padding: 23px;
        border-radius: 21px;
    }

    .property-section-heading {
        margin-bottom: 23px;
    }

    .property-section-heading h2 {
        font-size: 27px;
    }

    .property-parameters-grid,
    .property-features-grid,
    .related-properties-grid {
        grid-template-columns: 1fr;
    }

    .property-parameter {
        padding: 13px;
    }

    .property-parameter-icon {
        width: 40px;
        height: 40px;
    }

    .property-description {
        font-size: 15.5px;
        line-height: 1.72;
    }

    .property-technical-list > div {
        align-items: flex-start;
        padding: 15px;
    }

    .property-technical-list dd {
        max-width: 55%;
    }

    .property-location-card {
        padding: 16px;
    }

    .property-location-card-icon {
        width: 46px;
        height: 46px;
    }

    .property-agent-photo,
    .property-agent-placeholder {
        width: 59px;
        height: 59px;
    }

    .property-contact-link-content strong {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .related-properties-section {
        padding: 70px 0;
    }

    .related-properties-heading .btn-main {
        width: 100%;
    }

    .related-property-image {
        height: 225px;
    }

    .property-notification {
        right: 15px;
        bottom: 15px;
        left: 15px;
        max-width: none;
    }
}

.property-action-button {
  text-decoration: none;
}

#property-contact,
#property-location {
  scroll-margin-top: 100px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}