/*
 * SRE Property Manager — Public Property Catalogue
 *
 * Plugin-owned fallback presentation.
 * Scoped to the SRE public property shell so the active theme,
 * staff portal and unrelated frontend pages remain unaffected.
 */

.sre-property-public-shell {
    --sre-public-primary: #6f2536;
    --sre-public-primary-dark: #431620;
    --sre-public-accent: #6f2536;
    --sre-public-bg: #f3f7f9;
    --sre-public-surface: #ffffff;
    --sre-public-text: #2d2528;
    --sre-public-muted: #6f6267;
    --sre-public-border: #dce7ec;
    --sre-public-soft-blue: #f7eef1;
    --sre-public-radius: 18px;
    --sre-public-radius-small: 12px;
    --sre-public-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);

    box-sizing: border-box;
    width: 100%;
    max-width: none !important;
    margin: 0;
    padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 96px);
    background:
        linear-gradient(
            180deg,
            #f8fbfc 0,
            var(--sre-public-bg) 38%,
            #ffffff 100%
        );
    color: var(--sre-public-text);
}

.sre-property-public-shell,
.sre-property-public-shell *,
.sre-property-public-shell *::before,
.sre-property-public-shell *::after {
    box-sizing: border-box;
}

.sre-property-public-shell .sre-property-catalogue {
    width: min(calc(100% - 40px), 1240px);
    max-width: 1240px !important;
    margin: 0 auto;
    color: var(--sre-public-text);
}

.sre-property-public-shell .sre-property-catalogue__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 26px;
}

.sre-property-public-shell .sre-property-catalogue__eyebrow {
    margin: 0 0 7px;
    color: var(--sre-public-primary);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sre-property-public-shell .sre-property-catalogue__header h1 {
    margin: 0;
    color: var(--sre-public-primary-dark);
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.sre-property-public-shell .sre-property-catalogue__count {
    flex: 0 0 auto;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid rgba(35, 63, 140, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--sre-public-primary-dark);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.2;
}

.sre-property-public-shell .sre-property-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 30px;
    padding: 20px;
    border: 1px solid var(--sre-public-border);
    border-radius: var(--sre-public-radius);
    background: var(--sre-public-surface);
    box-shadow: var(--sre-public-shadow);
}

.sre-property-public-shell .sre-property-filters__field:first-child {
    grid-column: span 2;
}

.sre-property-public-shell .sre-property-filters__field {
    min-width: 0;
}

.sre-property-public-shell .sre-property-filters__field label {
    display: block;
    margin: 0 0 7px;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.35;
}

.sre-property-public-shell .sre-property-filters input,
.sre-property-public-shell .sre-property-filters select {
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #cbdbe2;
    border-radius: 10px;
    outline: 0;
    background: #ffffff;
    color: var(--sre-public-text);
    font: inherit;
    font-size: 0.93rem;
    line-height: 1.3;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.sre-property-public-shell .sre-property-filters select {
    cursor: pointer;
}

.sre-property-public-shell .sre-property-filters input::placeholder {
    color: #7a8794;
    opacity: 1;
}

.sre-property-public-shell .sre-property-filters input:focus,
.sre-property-public-shell .sre-property-filters select:focus {
    border-color: var(--sre-public-primary);
    box-shadow: 0 0 0 3px rgba(35, 63, 140, 0.10);
}

.sre-property-public-shell .sre-property-filters__actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 2px;
}

.sre-property-public-shell .sre-property-filters__actions button {
    min-height: 46px;
    margin: 0;
    padding: 11px 19px;
    border: 1px solid var(--sre-public-primary);
    border-radius: 10px;
    background: var(--sre-public-primary);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 0.91rem;
    font-weight: 750;
    line-height: 1.2;
    transition:
        background 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.sre-property-public-shell .sre-property-filters__actions button:hover {
    border-color: var(--sre-public-primary-dark);
    background: var(--sre-public-primary-dark);
}

.sre-property-public-shell .sre-property-filters__actions button:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(35, 63, 140, 0.14);
}

.sre-property-public-shell .sre-property-filters__actions button:active {
    transform: translateY(1px);
}

.sre-property-public-shell .sre-property-filters__actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 4px;
    color: var(--sre-public-primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.sre-property-public-shell .sre-property-filters__actions a:hover {
    color: var(--sre-public-primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sre-property-public-shell .sre-property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.sre-property-public-shell .sre-property-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--sre-public-border);
    border-radius: var(--sre-public-radius);
    background: var(--sre-public-surface);
    box-shadow: var(--sre-public-shadow);
}

.sre-property-public-shell .sre-property-card.is-featured {
    border-color: rgba(242, 160, 28, 0.58);
    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(242, 160, 28, 0.14);
}

.sre-property-public-shell .sre-property-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 0;
    background: #e9eff2;
    text-decoration: none;
}

.sre-property-public-shell .sre-property-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    transition: transform 220ms ease;
}

.sre-property-public-shell .sre-property-card:hover .sre-property-card__media img {
    transform: scale(1.025);
}

.sre-property-public-shell .sre-property-card__media-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        linear-gradient(
            145deg,
            rgba(35, 63, 140, 0.06),
            rgba(242, 160, 28, 0.08)
        );
    color: #718096;
    font-size: 0.83rem;
    font-weight: 650;
    line-height: 1.4;
    text-align: center;
}

.sre-property-public-shell .sre-property-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px;
}

.sre-property-public-shell .sre-property-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 25px;
    margin: 0 0 12px;
}

.sre-property-public-shell .sre-property-card__featured,
.sre-property-public-shell .sre-property-card__listing,
.sre-property-public-shell .sre-property-card__type {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.71rem;
    font-weight: 800;
    line-height: 1.15;
}

.sre-property-public-shell .sre-property-card__featured {
    border: 1px solid rgba(242, 160, 28, 0.30);
    background: rgba(242, 160, 28, 0.10);
    color: #431620;
}

.sre-property-public-shell .sre-property-card__listing {
    border: 1px solid rgba(35, 63, 140, 0.14);
    background: rgba(35, 63, 140, 0.06);
    color: var(--sre-public-primary-dark);
}

.sre-property-public-shell .sre-property-card__type {
    border: 1px solid #dce7ec;
    background: #f8fafc;
    color: #526071;
}

.sre-property-public-shell .sre-property-card__title {
    margin: 0 0 8px;
    color: var(--sre-public-text);
    font-size: clamp(1.06rem, 1.7vw, 1.26rem);
    font-weight: 750;
    line-height: 1.28;
    letter-spacing: -0.015em;
}

.sre-property-public-shell .sre-property-card__title a {
    color: inherit;
    text-decoration: none;
}

.sre-property-public-shell .sre-property-card__title a:hover {
    color: var(--sre-public-primary);
}

.sre-property-public-shell .sre-property-card__location {
    margin: 0 0 12px;
    color: var(--sre-public-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.sre-property-public-shell .sre-property-card__price {
    margin: 0 0 14px;
    color: var(--sre-public-primary-dark);
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.2;
}

.sre-property-public-shell .sre-property-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0 0 17px;
    padding: 12px 0;
    border-top: 1px solid #eef4f6;
    border-bottom: 1px solid #eef4f6;
}

.sre-property-public-shell .sre-property-card__facts > div {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 0;
}

.sre-property-public-shell .sre-property-card__facts dt,
.sre-property-public-shell .sre-property-card__facts dd {
    margin: 0;
    padding: 0;
    font-size: 0.77rem;
    line-height: 1.35;
}

.sre-property-public-shell .sre-property-card__facts dt {
    color: var(--sre-public-muted);
    font-weight: 650;
}

.sre-property-public-shell .sre-property-card__facts dd {
    color: var(--sre-public-text);
    font-weight: 800;
}

.sre-property-public-shell .sre-property-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
}

.sre-property-public-shell .sre-property-card__footer small {
    min-width: 0;
    overflow: hidden;
    color: #7a8794;
    font-size: 0.72rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sre-property-public-shell .sre-property-card__link {
    flex: 0 0 auto;
    color: var(--sre-public-primary);
    font-size: 0.83rem;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
}

.sre-property-public-shell .sre-property-card__link:hover {
    color: var(--sre-public-primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sre-property-public-shell .sre-property-catalogue__empty {
    padding: clamp(38px, 6vw, 68px) 24px;
    border: 1px dashed #bfd2da;
    border-radius: var(--sre-public-radius);
    background: rgba(255, 255, 255, 0.82);
    color: var(--sre-public-muted);
    text-align: center;
}

.sre-property-public-shell .sre-property-catalogue__empty h2 {
    margin: 0 0 8px;
    color: var(--sre-public-primary-dark);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 750;
    line-height: 1.25;
}

.sre-property-public-shell .sre-property-catalogue__empty p {
    max-width: 520px;
    margin: 0 auto;
    color: var(--sre-public-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.sre-property-public-shell .sre-property-pagination {
    margin: 34px 0 0;
}

.sre-property-public-shell .sre-property-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sre-property-public-shell .sre-property-pagination li {
    margin: 0;
    padding: 0;
}

.sre-property-public-shell .sre-property-pagination a,
.sre-property-public-shell .sre-property-pagination span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sre-public-border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--sre-public-primary-dark);
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
}

.sre-property-public-shell .sre-property-pagination a:hover {
    border-color: rgba(35, 63, 140, 0.30);
    background: var(--sre-public-soft-blue);
    color: var(--sre-public-primary);
}

.sre-property-public-shell .sre-property-pagination span[aria-current="page"] {
    border-color: var(--sre-public-primary);
    background: var(--sre-public-primary);
    color: #ffffff;
}

.sre-property-public-shell a:focus-visible {
    outline: 3px solid rgba(35, 63, 140, 0.24);
    outline-offset: 3px;
}

@media (max-width: 1020px) {
    .sre-property-public-shell .sre-property-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 680px) {
    .sre-property-public-shell {
        padding-top: 28px;
        padding-bottom: 58px;
    }

    .sre-property-public-shell .sre-property-catalogue {
        width: min(calc(100% - 28px), 1240px);
    }

    .sre-property-public-shell .sre-property-catalogue__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
        margin-bottom: 20px;
    }

    .sre-property-public-shell .sre-property-catalogue__header h1 {
        font-size: clamp(1.9rem, 10vw, 2.55rem);
    }

    .sre-property-public-shell .sre-property-filters {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .sre-property-public-shell .sre-property-filters__field:first-child {
        grid-column: auto;
    }

    .sre-property-public-shell .sre-property-filters__actions {
        grid-column: auto;
        align-items: stretch;
        flex-direction: column;
    }

    .sre-property-public-shell .sre-property-filters__actions button {
        width: 100%;
    }

    .sre-property-public-shell .sre-property-filters__actions a {
        justify-content: center;
    }

    .sre-property-public-shell .sre-property-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .sre-property-public-shell .sre-property-card__body {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sre-property-public-shell *,
    .sre-property-public-shell *::before,
    .sre-property-public-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =========================================================
   SRE PUBLIC SINGLE PROPERTY
   Plugin fallback presentation
   ========================================================= */

.sre-property-public-shell--single .sre-property-single {
    width: min(calc(100% - 40px), 1180px);
    max-width: 1180px;
    margin: 0 auto;
    color: var(--sre-public-text);
}

.sre-property-public-shell--single .sre-property-single__back {
    margin: 0 0 22px;
}

.sre-property-public-shell--single .sre-property-single__back a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sre-public-primary);
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
}

.sre-property-public-shell--single .sre-property-single__back a::before {
    content: "←";
    font-size: 1rem;
}

.sre-property-public-shell--single .sre-property-single__back a:hover {
    color: var(--sre-public-primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sre-property-public-shell--single .sre-property-single__header {
    margin: 0 0 28px;
}

.sre-property-public-shell--single .sre-property-single__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 14px;
}

.sre-property-public-shell--single .sre-property-single__badge {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid var(--sre-public-border);
    border-radius: 999px;
    background: #ffffff;
    color: #526071;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.15;
}

.sre-property-public-shell--single .sre-property-single__badge--featured {
    border-color: rgba(242, 160, 28, 0.34);
    background: rgba(242, 160, 28, 0.10);
    color: #431620;
}

.sre-property-public-shell--single .sre-property-single__badge--listing {
    border-color: rgba(35, 63, 140, 0.16);
    background: rgba(35, 63, 140, 0.06);
    color: var(--sre-public-primary-dark);
}

.sre-property-public-shell--single .sre-property-single__badge--type {
    background: #f8fafc;
    color: #526071;
}

.sre-property-public-shell--single .sre-property-single__badge--availability {
    border-color: rgba(28, 113, 70, 0.20);
    background: #f5fbf7;
    color: #1c7146;
}

.sre-property-public-shell--single .sre-property-single__badge--rental {
    border-color: rgba(35, 63, 140, 0.14);
    background: #f7faff;
    color: var(--sre-public-primary);
}

.sre-property-public-shell--single .sre-property-single__header h1 {
    max-width: 900px;
    margin: 0;
    color: var(--sre-public-primary-dark);
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 750;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.sre-property-public-shell--single .sre-property-single__location {
    margin: 12px 0 0;
    color: var(--sre-public-muted);
    font-size: clamp(0.96rem, 1.5vw, 1.08rem);
    line-height: 1.5;
}

.sre-property-public-shell--single .sre-property-single__commercial {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--sre-public-border);
}

.sre-property-public-shell--single .sre-property-single__price {
    margin: 0;
    color: var(--sre-public-primary-dark);
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    font-weight: 800;
    line-height: 1.15;
}

.sre-property-public-shell--single .sre-property-single__reference {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    margin: 0;
    color: var(--sre-public-muted);
    font-size: 0.72rem;
    line-height: 1.3;
}

.sre-property-public-shell--single .sre-property-single__reference span {
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sre-property-public-shell--single .sre-property-single__reference strong {
    color: var(--sre-public-text);
    font-size: 0.84rem;
    letter-spacing: 0;
}


/* Gallery */

.sre-property-public-shell--single .sre-property-single__gallery {
    margin: 0 0 30px;
}

.sre-property-public-shell--single .sre-property-single__gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sre-property-public-shell--single .sre-property-single__gallery-item {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #e9eff2;
}

.sre-property-public-shell--single .sre-property-single__gallery-item.is-cover {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 8.5;
    border-radius: var(--sre-public-radius);
}

.sre-property-public-shell--single .sre-property-single__gallery-item:not(.is-cover) {
    aspect-ratio: 4 / 3;
}

.sre-property-public-shell--single .sre-property-single__gallery-link {
    display: block;
    width: 100%;
    height: 100%;
}

.sre-property-public-shell--single .sre-property-single__gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    transition: transform 220ms ease;
}

.sre-property-public-shell--single .sre-property-single__gallery-item:hover img {
    transform: scale(1.018);
}

.sre-property-public-shell--single .sre-property-single__gallery-item figcaption {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 7px 10px;
    border-radius: 9px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 0.72rem;
    line-height: 1.35;
}

.sre-property-public-shell--single .sre-property-single__gallery--empty {
    display: block;
}

.sre-property-public-shell--single .sre-property-single__gallery-placeholder {
    display: flex;
    min-height: clamp(260px, 42vw, 470px);
    align-items: center;
    justify-content: center;
    padding: 32px;
    border: 1px dashed #bfd2da;
    border-radius: var(--sre-public-radius);
    background:
        linear-gradient(
            145deg,
            rgba(35, 63, 140, 0.055),
            rgba(242, 160, 28, 0.08)
        );
    color: #718096;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
}


/* Main content sections */

.sre-property-public-shell--single .sre-property-single__section {
    margin: 0 0 22px;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid var(--sre-public-border);
    border-radius: var(--sre-public-radius);
    background: var(--sre-public-surface);
    box-shadow: var(--sre-public-shadow);
}

.sre-property-public-shell--single .sre-property-single__section h2 {
    margin: 0 0 18px;
    color: var(--sre-public-primary-dark);
    font-size: clamp(1.2rem, 2vw, 1.48rem);
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -0.02em;
}


/* Specifications */

.sre-property-public-shell--single .sre-property-single__specification-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.sre-property-public-shell--single .sre-property-single__specification {
    margin: 0;
    padding: 14px;
    border: 1px solid #eef4f6;
    border-radius: 12px;
    background: #f8fbfc;
}

.sre-property-public-shell--single .sre-property-single__specification dt {
    margin: 0 0 4px;
    color: var(--sre-public-muted);
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.3;
}

.sre-property-public-shell--single .sre-property-single__specification dd {
    margin: 0;
    color: var(--sre-public-text);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}


/* Features */

.sre-property-public-shell--single .sre-property-single__feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sre-property-public-shell--single .sre-property-single__feature-list li {
    margin: 0;
    padding: 8px 11px;
    border: 1px solid rgba(35, 63, 140, 0.12);
    border-radius: 999px;
    background: rgba(35, 63, 140, 0.05);
    color: var(--sre-public-primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
}


/* Description */

.sre-property-public-shell--single .sre-property-single__excerpt {
    margin: 0 0 18px;
    color: #334155;
    font-size: 1.04rem;
    font-weight: 600;
    line-height: 1.65;
}

.sre-property-public-shell--single .sre-property-single__content {
    color: #334155;
    font-size: 0.96rem;
    line-height: 1.72;
}

.sre-property-public-shell--single .sre-property-single__content > :first-child {
    margin-top: 0;
}

.sre-property-public-shell--single .sre-property-single__content > :last-child {
    margin-bottom: 0;
}

.sre-property-public-shell--single .sre-property-single__content a {
    color: var(--sre-public-primary);
    text-underline-offset: 3px;
}

.sre-property-public-shell--single .sre-property-single__content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}


/* Location */

.sre-property-public-shell--single .sre-property-single__location-display {
    margin: 0 0 16px;
    color: #334155;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.5;
}

.sre-property-public-shell--single .sre-property-single__location-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.sre-property-public-shell--single .sre-property-single__location-details > div {
    padding: 13px 14px;
    border: 1px solid #eef4f6;
    border-radius: 12px;
    background: #f8fbfc;
}

.sre-property-public-shell--single .sre-property-single__location-details dt {
    margin: 0 0 4px;
    color: var(--sre-public-muted);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
}

.sre-property-public-shell--single .sre-property-single__location-details dd {
    margin: 0;
    color: var(--sre-public-text);
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.35;
}


/* Keyboard focus */

.sre-property-public-shell--single .sre-property-single a:focus-visible {
    outline: 3px solid rgba(35, 63, 140, 0.24);
    outline-offset: 3px;
}


/* Tablet */

@media (max-width: 820px) {
    .sre-property-public-shell--single .sre-property-single__specification-list,
    .sre-property-public-shell--single .sre-property-single__location-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sre-property-public-shell--single .sre-property-single__gallery-item.is-cover {
        aspect-ratio: 4 / 3;
    }
}


/* Mobile */

@media (max-width: 600px) {
    .sre-property-public-shell--single .sre-property-single {
        width: min(calc(100% - 28px), 1180px);
    }

    .sre-property-public-shell--single .sre-property-single__header h1 {
        font-size: clamp(1.85rem, 10vw, 2.5rem);
    }

    .sre-property-public-shell--single .sre-property-single__commercial {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .sre-property-public-shell--single .sre-property-single__reference {
        align-items: flex-start;
    }

    .sre-property-public-shell--single .sre-property-single__gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sre-property-public-shell--single .sre-property-single__gallery-item.is-cover {
        grid-column: auto;
    }

    .sre-property-public-shell--single .sre-property-single__gallery-item,
    .sre-property-public-shell--single .sre-property-single__gallery-item.is-cover,
    .sre-property-public-shell--single .sre-property-single__gallery-item:not(.is-cover) {
        aspect-ratio: 4 / 3;
    }

    .sre-property-public-shell--single .sre-property-single__section {
        padding: 18px 16px;
    }

    .sre-property-public-shell--single .sre-property-single__specification-list,
    .sre-property-public-shell--single .sre-property-single__location-details {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* =========================================================
   SRE PUBLIC RELATED PROPERTIES
   Reuses canonical property grid and card presentation
   ========================================================= */

.sre-property-public-shell--single .sre-property-single__contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid #dce3ee;
    border-radius: 18px;
    background: #f8fafc;
}

.sre-property-public-shell--single .sre-property-single__contact-copy {
    min-width: 0;
}

.sre-property-public-shell--single .sre-property-single__contact-eyebrow {
    margin: 0 0 0.35rem;
    color: #6f2536;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sre-property-public-shell--single .sre-property-single__contact h2 {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.2;
}

.sre-property-public-shell--single .sre-property-single__contact-intro,
.sre-property-public-shell--single .sre-property-single__contact-reference {
    margin: 0.55rem 0 0;
    line-height: 1.55;
}

.sre-property-public-shell--single .sre-property-single__contact-reference {
    color: #526071;
    font-size: 0.9rem;
}

.sre-property-public-shell--single .sre-property-single__contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: flex-end;
}

.sre-property-public-shell--single .sre-property-single__contact-link {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-width: 164px;
    min-height: 52px;
    padding: 0.65rem 1rem;
    border: 1px solid #6f2536;
    border-radius: 12px;
    text-decoration: none;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.sre-property-public-shell--single .sre-property-single__contact-link span {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.sre-property-public-shell--single .sre-property-single__contact-link strong {
    margin-top: 0.15rem;
    font-size: 0.98rem;
    line-height: 1.25;
}

.sre-property-public-shell--single .sre-property-single__contact-link--primary {
    color: #ffffff;
    background: #6f2536;
}

.sre-property-public-shell--single .sre-property-single__contact-link--secondary {
    color: #6f2536;
    background: #ffffff;
}

.sre-property-public-shell--single .sre-property-single__contact-link--whatsapp {
    color: #ffffff;
    background: #147a4b;
    border-color: #147a4b;
}

.sre-property-public-shell--single .sre-property-single__contact-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(35, 63, 140, 0.12);
}

.sre-property-public-shell--single .sre-property-single__contact-link:focus-visible {
    outline: 3px solid #6f2536;
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .sre-property-public-shell--single .sre-property-single__contact {
        grid-template-columns: 1fr;
        padding: 1.15rem;
    }

    .sre-property-public-shell--single .sre-property-single__contact-actions {
        justify-content: stretch;
    }

    .sre-property-public-shell--single .sre-property-single__contact-link {
        flex: 1 1 100%;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sre-property-public-shell--single .sre-property-single__contact-link {
        transition: none;
    }

    .sre-property-public-shell--single .sre-property-single__contact-link:hover {
        transform: none;
    }
}

.sre-property-public-shell--single .sre-property-related {
    width: min(calc(100% - 40px), 1180px);
    max-width: 1180px;
    margin: 42px auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--sre-public-border);
}

.sre-property-public-shell--single .sre-property-related__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 18px;
}

.sre-property-public-shell--single .sre-property-related__header h2 {
    margin: 0;
    color: var(--sre-public-primary-dark);
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

@media (max-width: 600px) {
    .sre-property-public-shell--single .sre-property-related {
        width: min(calc(100% - 28px), 1180px);
        margin-top: 32px;
        padding-top: 24px;
    }

    .sre-property-public-shell--single .sre-property-related__header {
        margin-bottom: 15px;
    }
}


/* =========================================================
   SRE PUBLIC PROPERTY ENQUIRY
   Public single-property conversion form
   ========================================================= */

.sre-property-public-shell--single .sre-property-enquiry {
    width: min(calc(100% - 40px), 1180px);
    max-width: 1180px;
    margin: 42px auto 0;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--sre-public-border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(18, 43, 70, 0.08);
}

.sre-property-public-shell--single .sre-property-enquiry__header {
    max-width: 760px;
    margin: 0 0 26px;
}

.sre-property-public-shell--single .sre-property-enquiry__eyebrow {
    margin: 0 0 8px;
    color: var(--sre-public-accent);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sre-property-public-shell--single .sre-property-enquiry__header h2 {
    margin: 0;
    color: var(--sre-public-primary-dark);
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.sre-property-public-shell--single .sre-property-enquiry__reference {
    margin: 10px 0 0;
    color: var(--sre-public-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.sre-property-public-shell--single .sre-property-enquiry__reference strong {
    color: var(--sre-public-primary-dark);
}

.sre-property-public-shell--single .sre-property-enquiry__intro {
    max-width: 680px;
    margin: 14px 0 0;
    color: var(--sre-public-muted);
    line-height: 1.65;
}

.sre-property-public-shell--single .sre-property-enquiry__notice {
    margin: 0;
    padding: 0.9rem 1rem;
    border: 1px solid;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.55;
}

.sre-property-public-shell--single .sre-property-enquiry__notice p {
    margin: 0;
}

.sre-property-public-shell--single .sre-property-enquiry__notice--success {
    color: #285b39;
    background: #f2f8f4;
    border-color: #b9d7c2;
}

.sre-property-public-shell--single .sre-property-enquiry__notice--error {
    color: #7a3030;
    background: #fff4f4;
    border-color: #e4bcbc;
}

.sre-property-public-shell--single .sre-property-enquiry__form {
    display: grid;
    gap: 20px;
}

.sre-property-public-shell--single .sre-property-enquiry__contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.sre-property-public-shell--single .sre-property-enquiry__field {
    display: grid;
    gap: 8px;
}

.sre-property-public-shell--single .sre-property-enquiry__field label {
    color: var(--sre-public-primary-dark);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
}

.sre-property-public-shell--single .sre-property-enquiry__field input,
.sre-property-public-shell--single .sre-property-enquiry__field textarea {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--sre-public-border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--sre-public-text);
    font: inherit;
    line-height: 1.45;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.sre-property-public-shell--single .sre-property-enquiry__field textarea {
    min-height: 150px;
    resize: vertical;
}

.sre-property-public-shell--single .sre-property-enquiry__field input:hover,
.sre-property-public-shell--single .sre-property-enquiry__field textarea:hover {
    border-color: var(--sre-public-primary);
}

.sre-property-public-shell--single .sre-property-enquiry__field input:focus,
.sre-property-public-shell--single .sre-property-enquiry__field textarea:focus {
    border-color: var(--sre-public-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(18, 75, 120, 0.14);
}

.sre-property-public-shell--single .sre-property-enquiry__field input:focus-visible,
.sre-property-public-shell--single .sre-property-enquiry__field textarea:focus-visible {
    outline: 3px solid rgba(18, 75, 120, 0.26);
    outline-offset: 2px;
}

.sre-property-public-shell--single .sre-property-enquiry__contact-help {
    margin: -8px 0 0;
    color: var(--sre-public-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.sre-property-public-shell--single .sre-property-enquiry__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 760px;
    color: var(--sre-public-text);
    font-size: 0.9rem;
    line-height: 1.55;
    cursor: pointer;
}

.sre-property-public-shell--single .sre-property-enquiry__consent input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin: 2px 0 0;
    accent-color: var(--sre-public-primary);
}

.sre-property-public-shell--single .sre-property-enquiry__consent input:focus-visible {
    outline: 3px solid rgba(18, 75, 120, 0.26);
    outline-offset: 3px;
}

.sre-property-public-shell--single .sre-property-enquiry__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 2px;
}

.sre-property-public-shell--single .sre-property-enquiry__submit {
    min-height: 46px;
    padding: 11px 22px;
    border: 1px solid var(--sre-public-primary);
    border-radius: 999px;
    background: var(--sre-public-primary);
    color: #ffffff;
    font: inherit;
    font-weight: 750;
    line-height: 1.2;
    cursor: pointer;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.sre-property-public-shell--single .sre-property-enquiry__submit:hover {
    background: var(--sre-public-primary-dark);
    box-shadow: 0 8px 20px rgba(18, 43, 70, 0.16);
    transform: translateY(-1px);
}

.sre-property-public-shell--single .sre-property-enquiry__submit:focus-visible {
    outline: 3px solid rgba(18, 75, 120, 0.28);
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .sre-property-public-shell--single .sre-property-enquiry {
        width: min(calc(100% - 28px), 1180px);
        margin-top: 32px;
        padding: 22px 18px;
        border-radius: 16px;
    }

    .sre-property-public-shell--single .sre-property-enquiry__header {
        margin-bottom: 22px;
    }

    .sre-property-public-shell--single .sre-property-enquiry__contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sre-property-public-shell--single .sre-property-enquiry__submit {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sre-property-public-shell--single .sre-property-enquiry__field input,
    .sre-property-public-shell--single .sre-property-enquiry__field textarea,
    .sre-property-public-shell--single .sre-property-enquiry__submit {
        transition: none;
    }

    .sre-property-public-shell--single .sre-property-enquiry__submit:hover {
        transform: none;
    }
}

/* Property location map */

.sre-property-public-shell--single .sre-property-single__map {
    margin-top: 20px;
}

.sre-property-public-shell--single .sre-property-single__map iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 14px;
    background: #f8fbfc;
}

.sre-property-public-shell--single .sre-property-single__map-action {
    margin: 10px 0 0;
}

.sre-property-public-shell--single .sre-property-single__map-action a {
    font-weight: 750;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

@media (max-width: 600px) {
    .sre-property-public-shell--single .sre-property-single__map iframe {
        height: 280px;
    }
}
