/**
 * stayery locations city plugin
 *
 * all component rules are scoped to `.stayery-locations-citynew-plugin` so this
 * feature can safely override the shared location styles. responsive rules
 * stay beside the component they modify, following the structure used by the
 * theme scss (for example `_up-ibe.scss`).
 */

.stayery-locations-citynew-plugin,
.stayery-locations-citynew-plugin * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.stayery-locations-citynew-plugin {
    /* restore btn padding that the universal reset strips */
    .btn {
        padding: 0.375rem 0.75rem;
    }

    --location-background: #F0B4C8;
    --location-highlight: #FFE550;
    --location-arrow-prev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Ccircle cx='36' cy='36' r='36' fill='%23000'/%3E%3Cpath d='M32.5 47c0-5.86-5.53-10.5-12.5-10.5v-1h.004c6.97 0 12.496-4.64 12.496-10.5h1c0 4.81-3.29 8.74-7.94 10.5H52v1H25.56c4.65 1.76 7.94 5.69 7.94 10.5z' fill='%23fff'/%3E%3C/svg%3E");
    --location-arrow-next: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Ccircle cx='36' cy='36' r='36' fill='%23000'/%3E%3Cpath d='M39.5 25c0 5.86 5.53 10.5 12.5 10.5v1h-.004c-6.97 0-12.496 4.64-12.496 10.5h-1c0-4.81 3.29-8.74 7.94-10.5H20v-1h26.44c-4.65-1.76-7.94-5.69-7.94-10.5z' fill='%23fff'/%3E%3C/svg%3E");
    background-color: var(--location-background);
    box-shadow: 0 0 0 100vw var(--location-background);
    clip-path: inset(0 -100vw);
    padding-top: 80px;

    /* ---- error state ---- */

    .stayery-locations-error {
        padding: 24px;
        color: #c00;
    }

    /* ---- empty state ---- */

    .stayery-locations-empty {
        padding: 48px 24px;
        background: var(--location-background);
        text-align: center;

        p {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 12px;
        }
    }

    /* ---- section divider ---- */

    .stayery-section-divider-spacer {
        display: none;
    }

    @media (min-width: 561px) {
        .stayery-section-divider-spacer--top {
            display: block;
            height: 96px;
        }

        .stayery-section-divider-spacer--bottom {
            display: block;
            height: 96px;
        }

        .stayery-section-divider {
            height: 1px;
            background: #000;
        }

        .stayery-section-divider-wrapper {
            width: 100vw;
            margin-left: calc(-50vw + 50%);
            background-color: var(--location-background);
        }
    }

    /* ---- shared map layout ---- */

    .frame-container {
        position: relative;
        width: 100%;
        max-width: 1710px;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .stayery-locations-map-wrapper {
        position: sticky;
        top: 4rem;
        flex-grow: 1;
        max-height: calc(100vh - 4rem);
        margin-right: -32px;
    }

    .stayery-locations-map {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        background: var(--location-background);
    }

    .stayery-locations-map-placeholder {
        color: #000;
        font-size: 1.5rem;
        font-weight: 700;
        text-transform: uppercase;
        opacity: 0.4;
    }

    .stayery-locations-map-loader {
        width: 15px;
        aspect-ratio: 1;
        border-radius: 50%;
        animation: location-map-loader 1s infinite linear alternate;
    }

    .stayery-locations-map-container {
        display: flex;
        background-color: var(--location-background);
        padding-top: 0 !important;
        padding-bottom: 0 !important;

        .frame-container {
            display: flex;

            .stayery-location-map-arrows {
                display: none;
            }
        }
    }

    @media (max-width: 560px) {
        .stayery-locations-map-container {
            flex-direction: column-reverse;

            .frame-container {
                display: block;

                .stayery-location-map-arrows {
                    display: flex;
                }
            }
        }
    }

    /* ---- shared map navigation ---- */

    :is(.stayery-location-map-arrows, .stayery-location-map-arrows-desktop) {
        gap: 0.5rem;

        :is(.slick-prev, .slick-next) {
            position: relative;
            top: auto;
            right: auto;
            left: auto;
            width: 2.5rem;
            height: 2.5rem;
            background-size: cover;
            transform: none;

            &:hover {
                opacity: 0.8;
            }

            &::before {
                opacity: 0;
            }

            &.slick-disabled {
                cursor: default;
                opacity: 0.5;
            }
        }

        .slick-prev {
            background-image: var(--location-arrow-prev);
        }

        .slick-next {
            background-image: var(--location-arrow-next);
        }
    }

    .stayery-location-map-arrows {
        :is(.slick-prev, .slick-next) {
            margin-bottom: 2.5rem;
        }
    }

    .stayery-location-map-arrows-desktop {
        position: absolute;
        z-index: 2;
        top: -56px;
        right: -20px;
        bottom: auto;
        left: 0;
        display: flex;
        justify-content: flex-end;
        max-width: 1710px;
        margin: 0 0 0 auto;
        padding-bottom: 2rem;

        .slick-next {
            margin-right: 0;
        }
    }

    @media (min-width: 1600px) {
        .stayery-location-map-arrows-desktop .slick-next {
            margin-right: 1.5rem;
        }
    }

    @media (max-width: 560px) {
        .stayery-location-map-arrows-desktop {
            display: none;
        }
    }

    /* ---- shared location card ---- */

    .stayery-city-location {
        display: flex;
        width: 100%;
        gap: 1.5rem;

        a:hover {
            color: #000;
        }

        .stayery-city-location-details {
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            gap: 0.5rem;

            p {
                margin-bottom: 0;
            }

            h4 {
                font-size: 1.5rem;
                font-weight: 700;
            }
        }
    }

    .stayery-city-location-address {
        display: flex;
        align-items: start;
        font-size: 1rem;
        line-height: 1;

        :is(img, svg) {
            width: 1.5rem;
            height: 1.5rem;
            margin-right: 0.5rem;
            margin-left: -0.25rem;
        }
    }

    /* ---- card accordion ---- */

    .stayery-city-location-toggle-button {
        all: unset;
        display: none;
        align-items: center;
        gap: 0.75rem;
        margin-top: 0.5rem;
        font-size: 0.875rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        cursor: pointer;

        img {
            transform: rotate(0deg);
        }

        .show-more-text {
            display: block;
        }

        .show-less-text {
            display: none;
        }

        :is(img, svg) {
            flex-shrink: 0;
            width: 2.25rem;
            height: 2.25rem;
            transition: transform 0.3s ease;
        }
    }

    @media (min-width: 1025px) {
        .stayery-city-location-toggle-content > p {
            line-height: 1.3;
        }
    }

    .stayery-city-location-toggle-content {
        display: block;
        overflow: hidden;
        margin-bottom: 0.25rem;

        &.stayery-city-location-toggle-no-mb {
            margin-bottom: 0;
        }
    }

    .stayery-city-location-infos {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        margin-top: 0;
    }

    .stayery-city-location-info {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;

        img {
            width: 1.5rem;
            height: 1.5rem;
        }

        .info-subtext {
            margin-top: 2px;
            font-size: 0.875rem;
        }
    }

    @media (max-width: 1024px) {
        .stayery-city-location-toggle-button {
            display: flex;
            justify-content: space-between;
            width: 100%;
            padding-top: 1rem;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
        }

        .stayery-city-location-toggle-content {
            display: none;
        }
    }

    /* ---- card pricing ---- */

    .stayery-city-location-price {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-end;
        justify-content: space-between;
        row-gap: 4px;

        > div {
            text-transform: uppercase !important;
        }

        .price-wrapper {
            display: flex !important;
            flex-direction: row !important;
            align-items: center;
            gap: 8px;
            height: 1.5rem;
            overflow: visible;
            line-height: 1;

            .price-amount {
                font-size: medium;
                margin-top: 4px;
            }

            .strike {
                font-weight: normal;
                line-height: 1;
                text-decoration: line-through;
                align-self: center;
                margin: 0;
            }
        }

        .pricing-from {
            font-size: small;
        }

        .price {
            margin-top: -0.25rem;
            font-size: 2rem;
            font-weight: 700;
            line-height: 1;
        }

    }

    .stayery-city-location .stayery-city-location-details .stayery-city-location-price > div .strike {
        font-family: inherit;
    }

    @media (max-width: 1024px) {
        .price-wrapper {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            gap: 8px;

            .strike {
                padding-top: 4px;
                display: inline !important;
                text-decoration: line-through !important;
                font-weight: normal !important;
                font-family: "NHaasGroteskDSPro-55Rg", "Helvetica Neue", Arial, sans-serif !important;
                margin: 0 !important;
            }

            .price-amount {
                font-size: 0.75rem;
            }

            .price {
                font-size: 1.5rem !important;
                font-weight: 700 !important;
            }
        }
    }

    /* ---- card image ---- */

    .stayery-city-location-image {
        position: relative;
        overflow: hidden;

        &.cursor-pointer {
            cursor: pointer;
        }
    }

    @media (max-width: 1024px) {
        .stayery-city-location-image {
            width: 15rem;
            height: 15rem;
        }
    }

    @media (max-width: 560px) {
        .stayery-city-location {
            flex-direction: column;
            padding-right: 1.5rem;
        }

        .stayery-city-location-image {
            width: 100%;
            max-width: none;
            height: auto;
            max-height: none;
            margin-bottom: 1.5rem;
            aspect-ratio: 1;
        }
    }

    /* ---- banner & rating ---- */

    .stayery-city-location-banner {
        position: absolute;
        z-index: 2;
        top: 2.5rem;
        right: -2.5rem;
        transform: rotate(45deg);
        background-color: #000;
        color: #fff;
        padding: 0.2rem 2rem 0.3rem 2rem;
        font-size: 1.125rem;
        font-weight: 700;
        overflow: hidden;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 12.5rem;
    }

    .stayery-city-location-rating {
        position: absolute;
        z-index: 2;
        top: 2.5rem;
        right: -2.5rem;
        width: 12.5rem;
        overflow: hidden;
        padding: 0.2rem 2rem 0.3rem;
        background-color: #000;
        color: #fff;
        font-size: 1.125rem;
        font-weight: 700;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
        transform: rotate(45deg);
    }

    .displayMode_locations_city .stayery-city-location-rating {
        top: 12px;
        right: auto;
        left: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 4rem;
        height: 4rem;
        padding: 0;
        border-radius: 100%;
        background-color: #FFE550;
        color: #000;
        font-size: 1.25rem;
        text-overflow: clip;
        white-space: normal;
        transform: none;

        span {
            display: block;
            margin-top: 0.3rem;
            font-size: 0.5rem;
            line-height: 1;
            text-transform: uppercase;
        }
    }

    .stayery-city-location-image-count {
        position: absolute;
        z-index: 3;
        right: 12px;
        bottom: 12px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 5px 10px !important;
        background-color: rgba(0, 0, 0, 0.72);
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        line-height: 1;
        border-radius: 4px;
        pointer-events: none;

        svg {
            width: 16px;
            height: 14px;
            fill: currentColor;
            flex-shrink: 0;
        }

        span {
            line-height: 1;
        }
    }

    .card__hero-carousel {
        position: absolute;
        z-index: 1;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .card__hero-slides {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .card__hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.6s ease-in-out;

        &.is-active {
            opacity: 1;
        }
    }

    .card__hero-nav,
    .card__hero-toggle {
        position: absolute;
        bottom: 0.75rem;
        display: none;
        width: 2rem;
        height: 2rem;
        border: none;
        border-radius: 50%;
        background-color: transparent;
        background-size: cover;
        cursor: pointer;
    }

    .card__hero-nav {
        z-index: 5;
    }

    .card__hero-nav--prev {
        left: 0.75rem;
        background-image: var(--location-arrow-prev);
    }

    .card__hero-nav--next {
        right: 0.75rem;
        background-image: var(--location-arrow-next);
    }

    .card__hero-toggle {
        z-index: 6;
        left: 50%;
        padding: 0;
        background-position: center;
        transform: translateX(-50%);

        &.is-paused {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpolygon points='10,8 16,12 10,16' fill='%23fff'/%3E%3C/svg%3E");
        }

        &.is-playing {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Crect x='8' y='8' width='2.5' height='8' fill='%23fff'/%3E%3Crect x='13.5' y='8' width='2.5' height='8' fill='%23fff'/%3E%3C/svg%3E");
        }
    }

    .stayery-city-location-image:is(:hover, :focus-within) :is(.card__hero-nav, .card__hero-toggle) {
        display: block;
    }

    :is(.card__hero-nav, .card__hero-toggle) {
        &:focus {
            outline: none;
        }

        &:focus-visible {
            outline: 5px auto Highlight;
            outline: 5px auto -webkit-focus-ring-color;
        }
    }

    .card__hero-dots {
        position: absolute;
        bottom: 0.375rem;
        display: flex;
        width: 100%;
        margin: 0;
        padding: 0 0.75rem;
        gap: 4px;
        list-style: none;
        text-align: center;

        li {
            width: 100%;
            margin: 0;

            &.is-active button::after {
                width: 100%;
                background-color: #fff;
            }
        }

        button {
            position: relative;
            display: block;
            width: 100%;
            height: 2px;
            padding: 0;
            border: 0;
            background-color: rgba(255, 255, 255, 0.35);
            font-size: 0;
            cursor: pointer;

            &:focus {
                outline: none;
            }

            &::after {
                position: absolute;
                top: 0;
                left: 0;
                display: block;
                width: 0;
                height: 100%;
                content: "";
            }
        }
    }

    .card__hero-carousel.is-playing .card__hero-dots li.is-active button::after {
        animation: location-carousel-progress 3s linear forwards;
    }

    .stayery-city-location-slider {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;

        .slick-list,
        .slick-track {
            height: 100%;
        }

        .slick-slide img {
            width: 100%;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            display: block;
        }

        .location-item {
            width: 100%;
            position: relative;
            overflow: hidden;
        }

        .image img {
            width: 100%;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            display: block;
        }

        .slick-prev,
        .slick-next {
            display: none !important;
            z-index: 4;
            width: 2rem;
            height: 2rem;
            background-size: cover;
            background-color: transparent;
            border: none;
            cursor: pointer;
            color: transparent;
            font-size: 0;
            top: auto;
            bottom: 1rem;
            transform: none;

            &::before {
                content: none;
            }

            &:focus-visible {
                outline: 5px auto Highlight;
                outline: 5px auto -webkit-focus-ring-color;
                border-radius: 100%;
            }
        }

        .slick-prev {
            left: 0.75rem;
            background-image: var(--location-arrow-prev);
        }

        .slick-next {
            right: 0.75rem;
            background-image: var(--location-arrow-next);
        }

        &:hover,
        &:focus-within,
        &.touch-controls-visible {
            .slick-prev,
            .slick-next {
                display: block !important;
            }
        }

        .slider-dots {
            position: absolute;
            bottom: 0.375rem;
            display: flex;
            width: 100%;
            margin: 0;
            padding: 0 0.75rem;
            gap: 4px;
            list-style: none;
            text-align: center;

            li {
                width: 100%;
                margin: 0;
            }

            button {
                position: relative;
                display: block;
                width: 100%;
                height: 2px;
                padding: 0;
                border: 0;
                background-color: rgba(255, 255, 255, 0.35);
                font-size: 0;
                cursor: pointer;

                &:focus {
                    outline: none;
                }

                &::after {
                    position: absolute;
                    top: 0;
                    left: 0;
                    display: block;
                    width: 0;
                    height: 100%;
                    content: "";
                }
            }

            .slick-active button::after {
                width: 100%;
                background-color: #fff;
            }
        }

        &.slick-initialized .slider-dots .slick-active button::after {
            animation: location-slider-progress 3.5s linear forwards;
        }

        .slider-dots.no-animation .slick-active button::after {
            animation: none;
        }

        .play-button-wrapper {
            display: none;
            position: absolute;
            z-index: 10;
            bottom: 0;
            left: 0;
            right: 0;
            justify-content: center;
            align-items: flex-end;
        }

        &:hover .play-button-wrapper,
        &:focus-within .play-button-wrapper,
        &.touch-controls-visible .play-button-wrapper {
            display: flex;
        }

        .play-lottie-btn,
        .pause-lottie-btn {
            position: absolute;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2rem;
            height: 2rem;
            padding: 0;
            border: 1px solid #000;
            border-radius: 100%;
            background-color: #000;
            color: #fff;
            cursor: pointer;
            opacity: 0;
            pointer-events: none;
            visibility: hidden;
            transition: opacity 0.2s ease-in;
            transform: translateY(-50%);

            &.show {
                opacity: 1;
                pointer-events: auto;
                visibility: visible;
            }

            .icon-stayery-play-icon {
                margin-left: 3px;
            }

            &:focus-visible {
                outline: 5px auto Highlight;
                outline: 5px auto -webkit-focus-ring-color;
            }
        }
    }

    .modal-backdrop {
        opacity: 0;
    }

    .slick-prev,
    .slick-next {
        border: none;
        background: transparent;
        color: transparent;
        font-size: 0;
        line-height: 0;
        cursor: pointer;

        &:focus {
            outline: none;
        }

        &:focus-visible {
            border-radius: 100%;
            outline: 5px auto Highlight;
            outline: 5px auto -webkit-focus-ring-color;
        }
    }

    .displayMode_locations_ibe {
        display: block;
        padding: 0 !important;

        .frame-container {
            margin-left: 0;
            padding-left: 0;
        }

        .stayery-locations-map-wrapper {
            position: relative !important;
            top: auto !important;
            width: 100%;
            height: 41.25rem !important;
        }

        .stayery-locations-ibe-left {
            flex-shrink: 0;
            width: 29rem;
            padding: 0 9rem 6rem 0;

            .ibe-heading {
                font-size: x-large;
                font-weight: 250;
                word-break: break-word;
                overflow-wrap: break-word;
                text-wrap: pretty;
            }

            h2 {
                margin-bottom: 1em;
                font-size: 1.5rem;
                font-weight: 700;
                text-transform: uppercase;
            }

            h3 {
                margin: 0 0 42px;
                font-size: 64px;
                font-weight: 700;
                line-height: 1;
                text-transform: uppercase;
                white-space: nowrap;
            }
        }

        .stayery-ibe-description {
            margin-top: 24px;
            margin-right: -9rem;
        }

        .stayery-locations {
            overflow: hidden;
            padding: 0 0 6rem 84px;

            > .slick-list > .slick-track {
                display: flex;
                align-items: stretch;
            }

            > .slick-list > .slick-track > .slick-slide {
                display: flex !important;
                height: auto;
                flex-shrink: 0;
            }

            .stayery-city-location-wrapper {
                vertical-align: top;
            }

            .slick-list {
                overflow: hidden;
            }

            .slick-slide {
                padding: 0 42px 0 0;
            }

            .stayery-city-location-slider .slick-slide {
                padding: 0;
            }

            .stayery-city-location-slider > .slick-list {
                padding: 0;
            }

            .stayery-city-location-image {
                width: 100%;
                height: auto;
                aspect-ratio: 4 / 3;
                max-width: none;
                max-height: none;
            }

            .stayery-city-location-price {
                align-items: baseline;
            }
        }

        .stayery-city-location {
            flex-direction: column;
        }

        .stayery-city-location-details h4 .stayery-brand {
            text-decoration: underline;
            cursor: pointer;
        }

        .stayery-location-map-arrows {
            padding-bottom: 2rem;
        }

        .stayery-city-location-image .default-image {
            width: 100%;
            height: 100%;
        }

        .stayery-city-location-image .default-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
    }

    @media (max-width: 1024px) {
        .displayMode_locations_ibe {
            .stayery-locations-ibe-left {
                width: 20rem;
                padding: 0 2rem 6rem 0;

                h3 {
                    font-size: 56px;
                }
            }

            .stayery-ibe-description {
                margin-right: 0;
            }
        }
    }

    @media (min-width: 561px) {
        .displayMode_locations_ibe .stayery-locations .stayery-city-location-wrapper {
            width: 341px;
        }
    }

    @media (max-width: 560px) {
        .displayMode_locations_ibe {
            &.stayery-locations-map-container {
                flex-direction: column;
            }

            .stayery-locations-map-wrapper {
                height: 27.625rem !important;
            }

            .stayery-locations-ibe-left {
                width: 100%;
                padding: 3.5rem 0 2.5rem;

                h3 {
                    font-size: 56px;
                    white-space: normal;
                }
            }

            .stayery-locations {
                padding: 0 0 2rem;

                .stayery-city-location-image {
                    margin-bottom: 0;
                    aspect-ratio: 1;
                }

                .stayery-city-location-slider .slick-slide img {
                    aspect-ratio: 1;
                }
            }

            .stayery-city-location {
                padding: 0;
                margin-right: 0;
            }

            .frame-container {
                max-width: 100%;
                padding: 0 8px;
            }
        }

        .displayMode_locations_ibe > .stayery-location-map-arrows {
            display: flex;
            flex-direction: row;
        }
    }

    .displayMode_locations_city {

        display: flex;
        padding: 0 !important;

        .frame-container {
            margin-left: 0;
            padding-left: 0;
        }

        .stayery-locations {
            display: flex;
            flex-shrink: 0;
            flex-wrap: wrap;
            align-content: start;
            justify-content: start;
            width: 66%;
            padding: 0 5rem 5rem 0;
            gap: 5rem;
        }

        .stayery-locations-map-wrapper {
            height: 100%;
        }

        .stayery-locations-map-mobile-wrapper {
            display: none;
            width: 100%;
            height: 27.625rem;
            margin-bottom: 2.5rem;
        }

        .stayery-location-map-arrows {
            margin-bottom: 2.5rem;
        }

        /* keep button + price in the same row at all breakpoints —
           the global theme (_stayery-locations-city.scss) stacks them in a
           column at ≤1024px with margin-bottom: 1rem on .btn, at (0,3,0)/
           (0,4,0) specificity. !important is required to beat it here. */
        .stayery-city-location-price {
            align-items: flex-end !important;
            justify-content: space-between !important;
            gap: 24px !important;

            .btn {
                margin-bottom: 0 !important;
            }
        }
    }

    @media (min-width: 561px) {
        .displayMode_locations_city .frame-container .stayery-location-map-arrows {
            position: absolute;
            z-index: 2;
            top: 0;
            right: 34%;
            display: none !important;
        }
    }

    @media (max-width: 1024px) {
        .displayMode_locations_city .stayery-locations {
            padding: 2rem 2rem 2rem 0;
        }
    }

    @media (max-width: 560px) {
        &.stayery-locations-citynew-plugin {
            padding-top: 0;
        }

        .displayMode_locations_city {
            flex-direction: column;

            .frame-container {
                display: flex;
                flex-direction: column;
                max-width: 100%;
                padding: 0 8px;
            }

            .stayery-city-location {
                padding-right: 0;
            }

            .stayery-city-location-details {
                padding-right: 1.5rem;
            }

            .stayery-locations {
                display: block;
                width: 100%;
                margin: auto;
                padding: 0 0 2rem;
                order: 1;

                .slick-list {
                    padding: 0;
                }
            }

            .stayery-locations-map-wrapper {
                display: block;
                order: 0;
                position: relative;
                top: auto;
                flex-grow: 0;
                width: 100vw;
                margin-top: 0;
                margin-left: calc(50% - 50vw);
                margin-right: calc(50% - 50vw);
                margin-bottom: 1.5rem;
                height: 60vh;
                min-height: 320px;
                max-height: none;
            }

            .stayery-locations-map-mobile-wrapper {
                display: block;
                width: 100%;
            }

            .stayery-location-map-arrows {
                order: 2;
                flex-direction: row;
                justify-content: flex-start;
            }
        }
    }

    .stayery-ibe-info-marker {
        position: relative;
        width: 64px;
        height: 64px;
    }

    .stayery-location-map-info-window {
        max-width: 200px;
        padding: 10px;
    }

    .stayery-location-map-info-text {
        margin-bottom: 5px;
        font-weight: bold;
    }

    .stayery-location-map-info-subtext {
        color: #666;
        font-size: 0.9em;
    }
}

.stayery-modal.category-images {
    z-index: 1055;
}

.stayery-modal.category-images .modal-dialog {
    display: flex;
    align-items: flex-start;
    justify-content: end;
    max-width: none;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}

.stayery-modal.category-images.show .modal-dialog {
    transform: translateX(0);
}

.stayery-modal.category-images .modal-content {
    position: relative;
    width: 100%;
    min-width: 100vw;
    max-width: 100vw;
    background: #fff;
}

.stayery-modal.category-images .modal-header {
    position: relative;
    min-height: 71px;
    padding: 1rem 1.5rem;
    border-bottom: none;
    background-color: #fff;
}

.stayery-modal.category-images .modal-header .btn-close {
    position: absolute;
    top: 1.75rem;
    right: 2.5rem;
    cursor: pointer;
}

.stayery-modal.category-images .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.stayery-modal.category-images .modal-body {
    padding: 0 1.5rem 1.5rem;
}

@media (min-width: 768px) {
    .stayery-modal.category-images .modal-content {
        min-width: 75vw;
        max-width: 75vw;
    }
}

@media (min-width: 1024px) {
    .stayery-modal.category-images .modal-header {
        min-height: 101px;
    }
}

@media (min-width: 1440px) {
    .stayery-modal.category-images .modal-content {
        min-width: 70vw;
        max-width: 70vw;
    }
}

.stayery-modal :is(.main-slider, .thumbnail-slider) {
    visibility: hidden;
}

.stayery-modal :is(.main-slider, .thumbnail-slider).slick-initialized {
    visibility: visible;
}

.stayery-modal .main-slider .__slider-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 66.67%;
}

.stayery-modal .main-slider .__slider-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.stayery-modal .thumbnail-slider {
    margin-top: 0.5rem;
}

.stayery-modal .thumbnail-slider .slick-slide {
    padding-right: 0.5rem;
    padding-bottom: 0.5rem;
}

.stayery-modal .thumbnail-slider img {
    display: block;
    width: 80px !important;
    height: 80px !important;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
}

.stayery-modal .navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 1.5rem;
}

.stayery-modal .navigation :is(.prev, .next) {
    cursor: pointer;
}

.stayery-modal .navigation .count-wrapper {
    font-size: 1rem;
    line-height: 1;
}

.modal-backdrop {
    opacity: 0;
}

@keyframes location-map-loader {
    0% {
        box-shadow: 20px 0 #000, -20px 0 #0002;
        background: #000;
    }
    33% {
        box-shadow: 20px 0 #000, -20px 0 #0002;
        background: #0002;
    }
    66% {
        box-shadow: 20px 0 #0002, -20px 0 #000;
        background: #0002;
    }
    100% {
        box-shadow: 20px 0 #0002, -20px 0 #000;
        background: #000;
    }
}

@keyframes location-carousel-progress {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes location-slider-progress {
    from { width: 0; }
    to { width: 100%; }
}
