.accommodation-map-archive {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 34vw);
    min-height: calc(100vh - 74px);
    overflow: visible;
    background: var(--color-white);
}

.archive-stays-column {
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 28px var(--space-lg) 48px max(var(--space-lg), calc((100vw - var(--container)) / 2 + var(--space-lg)));
}

.archive-map-column {
    position: sticky;
    top: 74px;
    z-index: 20;
    align-self: start;
    min-width: 0;
    height: calc(100vh - 74px);
    padding: 0;
    overflow: hidden;
    border-left: 1px solid var(--color-border);
}

.archive-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    color: var(--color-muted);
    font-size: 13px;
}

.archive-breadcrumb a {
    color: var(--color-muted);
    text-decoration: none;
}

.archive-breadcrumb a:hover {
    color: var(--color-text);
    text-decoration: underline;
}

.archive-split-hero {
    max-width: 820px;
    margin-bottom: 28px;
}

.archive-split-hero > span {
    display: block;
    margin-bottom: 10px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 800;
}

.archive-split-hero h1 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(34px, 4.4vw, 58px);
    line-height: 1.02;
    letter-spacing: 0;
}

.archive-split-hero p {
    max-width: 680px;
    margin: 14px 0 0;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.55;
}

.archive-region-stack {
    display: grid;
    gap: 28px;
}

.archive-region-block {
    min-width: 0;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--color-border);
}

.archive-region-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 12px;
}

.df-rtl .archive-region-head {
    direction: rtl;
}

.df-rtl .archive-region-tools {
    margin-inline-start: auto;
    justify-content: flex-end;
}

.archive-region-head h2 {
    margin: 0;
    color: var(--color-text);
    font-size: 24px;
    line-height: 1.1;
}

.archive-region-tools {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.archive-region-tools strong {
    color: var(--color-muted);
    font-size: 13px;
    white-space: nowrap;
}

.archive-carousel-controls {
    display: flex;
    width: 66px;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity .42s cubic-bezier(.22, .61, .36, 1);
}

.archive-region-block.is-carousel-overflowing .archive-carousel-controls {
    opacity: 1;
    pointer-events: auto;
}

.archive-type-filter {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 0;
    scrollbar-width: none;
}

.archive-type-filter::-webkit-scrollbar {
    display: none;
}

.archive-type-filter button {
    padding: 0 0 3px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--color-muted);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.archive-type-filter button:hover,
.archive-type-filter button.is-active {
    border-bottom-color: currentColor;
    color: var(--color-text);
    font-weight: 900;
}

.archive-carousel-shell {
    position: relative;
    min-width: 0;
}

.archive-carousel-shell.is-overflowing {
    margin-left: calc(var(--archive-left-gutter, 0px) * -1);
    width: calc(100% + var(--archive-left-gutter, 0px) + var(--archive-right-gutter, 0px));
}

.archive-carousel-shell::before {
    position: absolute;
    top: 0;
    bottom: 12px;
    left: 0;
    z-index: 3;
    width: var(--archive-left-gutter, 0px);
    content: "";
    opacity: 0;
    pointer-events: auto;
    transition: opacity .2s ease;
    background: linear-gradient(to right, var(--color-white) 22%, rgba(255,243,233, .62) 58%, rgba(255,243,233, 0));
}

.archive-carousel-shell.is-overflowing::before {
    opacity: 1;
}

.archive-stay-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    scroll-behavior: smooth;
    padding: 2px 0 16px 0;
    scrollbar-width: none;
}

.archive-stay-carousel.is-filter-transitioning {
    scroll-behavior: auto;
}

.archive-carousel-shell.is-overflowing .archive-stay-carousel {
    padding-left: var(--archive-left-gutter, 0px);
    scroll-padding-left: var(--archive-left-gutter, 0px);
}

.archive-stay-carousel::-webkit-scrollbar {
    display: none;
}

.archive-stay-card {
    flex: 0 0 clamp(168px, 20vw, 214px);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    color: var(--color-text);
    text-decoration: none;
    opacity: 1;
    transform: scale(1);
    transition: opacity .42s cubic-bezier(.22, .61, .36, 1), transform .42s cubic-bezier(.22, .61, .36, 1);
}

.archive-stay-card.is-filtered-out {
    display: none;
}

.archive-stay-card.is-fading-in,
.archive-stay-card.is-fading-out {
    opacity: 0;
    transform: scale(.995);
    pointer-events: none;
}

.archive-carousel-shell:not(.is-overflowing) [data-carousel-clone] {
    display: none;
}

.archive-stay-image {
    position: relative;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: 8px;
    background: var(--color-soft);
}

.archive-stay-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.archive-stay-card:hover .archive-stay-image img,
.archive-stay-card:hover .archive-stay-placeholder {
    transform: scale(1.04);
}

.archive-stay-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: flex-end;
    padding: 16px;
    background:
        linear-gradient(135deg, rgba(154, 90, 24, .18), rgba(45,28,15, .08)),
        var(--color-soft);
    color: var(--color-text);
    font-weight: 800;
    transition: transform .45s ease;
}

.archive-stay-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,243,233, .94);
    color: var(--color-text);
    font-size: 11px;
    font-weight: 800;
}

.archive-favorite-toggle {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 4;
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255, .72);
    border-radius: 50%;
    background: rgba(255,255,255, .9);
    box-shadow: 0 8px 22px rgba(45,28,15, .12);
    color: var(--color-text);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 22px;
    transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.archive-favorite-toggle:hover,
.archive-favorite-toggle:focus-visible {
    background: var(--color-white);
    box-shadow: 0 10px 26px rgba(45,28,15, .17);
    color: #c84a3f;
    outline: none;
    transform: scale(1.04);
}

.archive-favorite-toggle.is-active {
    background: rgba(255,255,255, .96);
    border-color: rgba(200,74,63, .52);
    box-shadow: 0 8px 22px rgba(200,74,63, .14);
    color: #c84a3f;
    text-shadow:
        .10px 0 0 #c84a3f,
        -.10px 0 0 #c84a3f,
        0 .10px 0 #c84a3f,
        0 -.10px 0 #c84a3f;
}

.archive-stay-overlay {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    padding: 38px 11px 10px;
    background: linear-gradient(to top, rgba(45,28,15, .64), rgba(45,28,15, 0));
    color: var(--color-white);
}

.archive-stay-overlay h3 {
    max-width: 92%;
    margin: 0;
    color: var(--color-white);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.16;
    text-align: left;
}

.archive-carousel-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: rgba(255,243,233, .96);
    box-shadow: none;
    color: var(--color-text);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    opacity: 1;
    pointer-events: auto;
    transition: border-color .2s ease, color .2s ease;
}

.archive-carousel-arrow:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.archive-empty-state {
    padding: 44px 20px;
    border: 1px dashed var(--color-border);
    border-radius: 8px;
    background: var(--color-soft);
    text-align: center;
}

.archive-map-panel {
    position: relative;
    height: 100%;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(245, 250, 252, .98), rgba(244, 238, 230, .98));
}

.archive-map-heading {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 500;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255,243,233, .92);
    box-shadow: var(--shadow-soft);
    transition: opacity .2s ease;
}

.archive-map-heading span {
    display: block;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 800;
}

.archive-map-heading strong {
    display: block;
    margin-top: 2px;
    color: var(--color-text);
    font-size: 28px;
}

.archive-leaflet-map {
    width: 100%;
    height: 100%;
    background: #edf3f5;
}

.archive-map-marker {
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-map-marker span {
    display: block;
    width: 14px;
    height: 14px;
    border: 2px solid var(--color-white);
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 5px rgba(154, 90, 24, .18), 0 8px 16px rgba(45,28,15, .2);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.archive-map-marker.is-active span {
    background: var(--color-text);
    box-shadow: 0 0 0 10px rgba(45,28,15, .14), 0 10px 22px rgba(45,28,15, .24);
    transform: scale(1.45);
}

.archive-map-hover-card {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 500;
    display: grid;
    gap: 4px;
    padding: 14px 15px;
    border-radius: 8px;
    background: rgba(255,243,233, .96);
    box-shadow: 0 16px 36px rgba(45,28,15, .16);
    color: var(--color-text);
    text-decoration: none;
    transition: opacity .2s ease;
}

.archive-map-hover-card[hidden] {
    display: none;
}

.archive-map-hover-card span {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 800;
}

.archive-map-hover-card strong {
    font-size: 17px;
    line-height: 1.25;
}

.archive-map-hover-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
}

.archive-map-hover-card em {
    color: var(--color-text);
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
}

.archive-map-panel .leaflet-control-attribution {
    font-size: 10px;
}

@media (max-width: 980px) {
    .accommodation-map-archive {
        display: block;
        height: auto;
        overflow: visible;
    }

    .archive-stays-column {
        overflow-x: hidden;
        overflow-y: visible;
        padding: 24px var(--space-md) 42px;
    }

    .archive-map-column {
        position: relative;
        top: auto;
        z-index: 1;
        height: 440px;
        padding: 0;
    }

    .archive-map-panel {
        position: relative;
        top: auto;
        height: 100%;
    }
}

@media (max-width: 720px) {
    .archive-region-head,
    .archive-region-tools {
        align-items: flex-start;
        flex-direction: column;
    }

    .archive-region-tools {
        width: 100%;
        gap: 8px;
    }

    .archive-type-filter {
        width: 100%;
    }
}

