.footerFixed--desktop {
    transform: translateY(110%);
    transition: transform 0.25s ease;
}

.footerFixed--desktop.is-visible {
    transform: translateY(0);
}

.propertyTitlename .annuncio-current-price {
    display: inline-block;
    font-size: calc(100% + 2px) !important;
}

.annuncio-gallery-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1;
    max-width: calc(100% - 20px);
    padding: 4px 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.68);
    border-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.annuncio-title {
    font-size: 1.5rem;
    line-height: 1.3;
}

.annuncio-reference-mobile {
    display: none;
}

.annuncio-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 10px;
    color: var(--bs-secondary-color);
    font-size: 16px;
}

.annuncio-summary-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.annuncio-summary-item i {
    color: var(--bs-primary);
}

.annuncio-summary-label {
    font-weight: 500;
}

.annuncio-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: var(--bs-secondary-color);
    font-size: 16px;
}

#overviews .square--25 {
    width: 30px;
    height: 30px;
    font-size: 12px;
}

#overviews .flex-y02 p {
    font-size: 16px;
}

.annuncio-scroll-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    font-size: 18px;
}

.annuncio-secondary-action {
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-active-color: #ffffff;
    color: #ffffff !important;
}

.annuncio-secondary-action:hover,
.annuncio-secondary-action:focus,
.annuncio-secondary-action:active {
    color: #ffffff !important;
}

#pills-images .annuncio-mobile-gallery-extra,
.annuncio-mobile-gallery-controls {
    display: none;
}

@media (min-width: 992px) {
    #pills-images .gridGallery-01.annuncio-gallery--1,
    #pills-images .gridGallery-01.annuncio-gallery--2,
    #pills-images .gridGallery-01.annuncio-gallery--3,
    #pills-images .gridGallery-01.annuncio-gallery--4 {
        height: clamp(360px, 35vw, 500px);
    }

    #pills-images .gridGallery-01.annuncio-gallery--1 {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    #pills-images .gridGallery-01.annuncio-gallery--1 .singleGal {
        grid-area: 1 / 1 / 2 / 2;
    }

    #pills-images .gridGallery-01.annuncio-gallery--2 {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 1fr;
    }

    #pills-images .gridGallery-01.annuncio-gallery--2 .singleGal:first-child {
        grid-area: 1 / 1 / 2 / 2;
    }

    #pills-images .gridGallery-01.annuncio-gallery--2 .singleGal:nth-child(2) {
        grid-area: 1 / 2 / 2 / 3;
    }

    #pills-images .gridGallery-01.annuncio-gallery--3 {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    #pills-images .gridGallery-01.annuncio-gallery--3 .singleGal:first-child {
        grid-area: 1 / 1 / 3 / 2;
    }

    #pills-images .gridGallery-01.annuncio-gallery--3 .singleGal:nth-child(2) {
        grid-area: 1 / 2 / 2 / 3;
    }

    #pills-images .gridGallery-01.annuncio-gallery--3 .singleGal:nth-child(3) {
        grid-area: 2 / 2 / 3 / 3;
    }

    #pills-images .gridGallery-01.annuncio-gallery--4 .singleGal:nth-child(4) {
        grid-area: 2 / 2 / 3 / 4;
    }
}

@media (max-width: 991.98px) {
    #pills-images {
        position: relative;
    }

    #pills-images .gridGallery-01 {
        display: flex;
        grid-template-columns: none;
        grid-template-rows: none;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    #pills-images .gridGallery-01::-webkit-scrollbar {
        display: none;
    }

    #pills-images .gridGallery-01 .singleGal,
    #pills-images .gridGallery-01 .annuncio-mobile-gallery-extra {
        display: flex;
        flex: 0 0 100%;
        width: 100%;
        height: auto;
        grid-area: auto;
        scroll-snap-align: start;
    }

    #pills-images .gridGallery-01 .singleGal .mfp-gallery,
    #pills-images .gridGallery-01 .singleGal .img-fluid {
        height: auto;
    }

    .annuncio-summary-label {
        display: none;
    }

    .propertyHeader > div:first-child {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
    }

    .annuncio-energy-badge {
        display: none;
    }

    .annuncio-title {
        display: inline;
    }

    .annuncio-reference-mobile {
        display: inline;
        margin-left: 4px;
        color: var(--bs-secondary-color);
        font-size: 0.85rem;
        font-weight: 400;
        white-space: nowrap;
    }

    .annuncio-summary {
        gap: 8px 10px;
    }

    .annuncio-mobile-gallery-controls {
        position: absolute;
        top: 50%;
        right: 12px;
        left: 12px;
        z-index: 2;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .annuncio-mobile-gallery-controls button {
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.62);
        color: #ffffff;
        pointer-events: auto;
    }

    .annuncio-mobile-gallery-controls button:disabled {
        opacity: 0.4;
    }

    .footerFixed.d-sm-none .btn.btn-primary {
        border-color: var(--bs-secondary);
        background-color: var(--bs-secondary);
        color: #ffffff;
    }
}
