/* SHIREEN M PROPERTY v1.1.4 */

.site-header .sm-brand-v114 {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-decoration: none !important;
}

.site-header .sm-canonical-logo {
    display: block !important;
    width: clamp(210px, 18vw, 285px) !important;
    height: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: left center !important;
    transform: none !important;
}

.site-header .sm-brand-v114:hover .sm-canonical-logo {
    transform: translateY(-1px) !important;
}

.site-header .sm-logo--dark,
.site-header .sm-logo--light,
.site-header .brand-mark,
.site-header .brand-copy {
    display: none !important;
}

.site-footer .sm-footer-brand-v114,
.lux-footer .sm-footer-brand-v114 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(100%, 470px) !important;
    padding: 0 !important;
    margin: 0 auto 18px !important;
    border: 0 !important;
    background: transparent !important;
    text-decoration: none !important;
}

.site-footer .sm-canonical-footer-logo,
.lux-footer .sm-canonical-footer-logo {
    display: block !important;
    width: 100% !important;
    max-width: 470px !important;
    height: auto !important;
    object-fit: contain !important;
}

.sm-media-shell {
    position: relative;
}

.sm-media-shell.sm-brand-loading::before {
    content: "";
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%);
    background:
        url("/assets/brand/shireen-m-loader.webp?v=1.1.4")
        center / contain
        no-repeat;
    opacity: .30;
    pointer-events: none;
    animation:
        smBrandPulse
        1.55s
        ease-in-out
        infinite;
    transition:
        opacity
        .25s
        ease;
}

.sm-media-shell.sm-brand-loaded::before {
    opacity: 0;
    animation: none;
}

@keyframes smBrandPulse {
    0% {
        opacity: .18;
        transform:
            translate(-50%, -50%)
            scale(.94);
    }
    50% {
        opacity: .62;
        transform:
            translate(-50%, -50%)
            scale(1.05);
    }
    100% {
        opacity: .18;
        transform:
            translate(-50%, -50%)
            scale(.94);
    }
}

.property-detail .sm-gallery-v114 {
    width: min(100%, 1160px) !important;
    margin:
        28px
        auto
        30px !important;
    padding: 0 !important;
}

.sm-gallery-stage {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 3 / 2 !important;
    overflow: hidden !important;
    background:
        linear-gradient(
            135deg,
            #eee7e0,
            #f7f3ee
        ) !important;
    border: 1px solid rgba(37,33,31,.08) !important;
    outline: none !important;
}

.sm-gallery-stage:focus-visible {
    box-shadow:
        0 0 0 3px rgba(183,119,121,.28) !important;
}

.sm-gallery-stage-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    opacity: 1 !important;
    transform: none !important;
    transition:
        opacity
        .22s
        ease !important;
}

.sm-gallery-v114 .sm-media-shell {
    display: contents !important;
}

.sm-gallery-brand-loader {
    position: absolute !important;
    z-index: 4 !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition:
        opacity
        .2s
        ease,
        visibility
        .2s
        ease !important;
}

.sm-gallery-brand-loader img {
    display: block !important;
    width: clamp(64px, 8vw, 102px) !important;
    height: auto !important;
    opacity: .42 !important;
    animation:
        smBrandGalleryPulse
        1.45s
        ease-in-out
        infinite !important;
}

.sm-gallery-stage.is-loading
.sm-gallery-brand-loader {
    opacity: 1 !important;
    visibility: visible !important;
}

.sm-gallery-stage.is-loading
.sm-gallery-stage-image {
    opacity: .16 !important;
}

@keyframes smBrandGalleryPulse {
    0% {
        opacity: .22;
        transform: scale(.94);
    }
    50% {
        opacity: .72;
        transform: scale(1.05);
    }
    100% {
        opacity: .22;
        transform: scale(.94);
    }
}

.sm-gallery-nav {
    position: absolute !important;
    z-index: 5 !important;
    top: 50% !important;
    width: 46px !important;
    height: 46px !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 0 4px !important;
    border: 1px solid rgba(255,255,255,.52) !important;
    border-radius: 999px !important;
    background: rgba(37,33,31,.66) !important;
    color: #fff !important;
    font: 400 36px/1 Georgia,serif !important;
    cursor: pointer !important;
    backdrop-filter: blur(6px) !important;
    transition:
        background
        .18s
        ease,
        transform
        .18s
        ease !important;
}

.sm-gallery-nav:hover {
    background: rgba(37,33,31,.86) !important;
}

.sm-gallery-nav:focus-visible {
    outline:
        3px solid
        rgba(183,119,121,.52) !important;
    outline-offset: 2px !important;
}

.sm-gallery-nav--prev {
    left: 18px !important;
}

.sm-gallery-nav--next {
    right: 18px !important;
}

.sm-gallery-counter {
    position: absolute !important;
    z-index: 5 !important;
    right: 18px !important;
    bottom: 16px !important;
    padding:
        7px
        11px !important;
    border-radius: 999px !important;
    background: rgba(37,33,31,.72) !important;
    color: #fff !important;
    font:
        600
        12px/1
        Arial,
        sans-serif !important;
    letter-spacing: .08em !important;
    backdrop-filter: blur(6px) !important;
}

.sm-gallery-thumbs {
    display: flex !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    margin:
        12px
        0
        0 !important;
    padding:
        2px
        2px
        8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: thin !important;
    overscroll-behavior-inline: contain !important;
}

.sm-gallery-thumb {
    position: relative !important;
    flex:
        0
        0
        clamp(
            96px,
            11vw,
            142px
        ) !important;
    aspect-ratio: 3 / 2 !important;
    display: block !important;
    padding: 0 !important;
    border:
        2px solid
        transparent !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    background: #eee7e0 !important;
    cursor: pointer !important;
    scroll-snap-align: start !important;
    opacity: .76 !important;
    transition:
        opacity
        .18s
        ease,
        border-color
        .18s
        ease,
        transform
        .18s
        ease !important;
}

.sm-gallery-thumb:hover {
    opacity: 1 !important;
    transform: translateY(-1px) !important;
}

.sm-gallery-thumb.is-active,
.sm-gallery-thumb[aria-selected="true"] {
    opacity: 1 !important;
    border-color: #B77779 !important;
}

.sm-gallery-thumb:focus-visible {
    outline:
        3px solid
        rgba(183,119,121,.30) !important;
    outline-offset: 2px !important;
}

.sm-gallery-thumb-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.property-detail
.sm-gallery-v114
+ .detail-grid {
    margin-top: 30px !important;
    padding-top: 0 !important;
}

.property-detail .detail-grid {
    margin-top: 30px !important;
}

.property-detail .facts.large {
    margin-top: 0 !important;
}

@media (max-width: 900px) {

    .site-header .sm-canonical-logo {
        width: clamp(190px, 32vw, 235px) !important;
    }

    .property-detail .sm-gallery-v114 {
        width: 100% !important;
        margin-top: 20px !important;
        margin-bottom: 24px !important;
    }

    .sm-gallery-nav {
        width: 42px !important;
        height: 42px !important;
    }
}

@media (max-width: 640px) {

    .site-header .sm-canonical-logo {
        width: 178px !important;
    }

    .site-footer .sm-footer-brand-v114,
    .lux-footer .sm-footer-brand-v114 {
        width: min(100%, 330px) !important;
    }

    .sm-gallery-stage {
        aspect-ratio: 3 / 2 !important;
    }

    .sm-gallery-nav {
        width: 38px !important;
        height: 38px !important;
        font-size: 30px !important;
    }

    .sm-gallery-nav--prev {
        left: 10px !important;
    }

    .sm-gallery-nav--next {
        right: 10px !important;
    }

    .sm-gallery-counter {
        right: 10px !important;
        bottom: 10px !important;
    }

    .sm-gallery-thumbs {
        gap: 8px !important;
        margin-top: 8px !important;
    }

    .sm-gallery-thumb {
        flex-basis: 96px !important;
    }

    .property-detail
    .sm-gallery-v114
    + .detail-grid,
    .property-detail .detail-grid {
        margin-top: 22px !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    .sm-media-shell.sm-brand-loading::before,
    .sm-gallery-brand-loader img {
        animation: none !important;
    }

    .sm-gallery-stage-image,
    .sm-gallery-thumb,
    .sm-gallery-nav {
        transition: none !important;
    }
}

