.cusu-pm-detail-hotel-info__map {
    margin-top: 0.75rem;
}

.cusu-pm-map {
    --cusu-map-ratio-mobile: 4/5;
    --cusu-map-ratio-tablet: 1/1;
    --cusu-map-ratio-desktop: 16/9;
    position: relative;
    margin-top: 0.75rem;
}

.cusu-pm-map__canvas {
    position: relative;
    width: 100%;
    min-height: 220px;
    aspect-ratio: var(--cusu-map-ratio-mobile);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dbe1e8;
    background: #f8fafc;
}

.cusu-pm-map__panel {
    margin-top: 0.6rem;
    border: 1px solid #dbe1e8;
    border-radius: 10px;
    padding: 0.6rem 0.7rem;
    background: #fff;
}

.cusu-pm-map__panel-title {
    margin: 0 0 0.4rem;
    font-size: 1.125rem;
    line-height: 1.2;
}

.cusu-pm-map__panel.is-collapsed .cusu-pm-map__panel-content {
    display: none;
}

.cusu-pm-map__address {
    margin: 0;
    font-style: normal;
}

.cusu-pm-map__field {
    margin: 0.25rem 0 0.5rem;
}

.cusu-pm-map__label {
    display: block;
    margin: 0 0 0.1rem;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.cusu-pm-map__value {
    display: block;
    font-size: 0.92rem;
    white-space: pre-line;
}

.cusu-pm-map__logo-wrap {
    margin: 0 0 0.5rem;
}

.cusu-pm-map__logo {
    display: block;
    width: 200px;
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    object-position: left center;
    border-radius: 10px;
}

.cusu-pm-map__actions {
    margin-top: 0.55rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cusu-pm-map__action {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d2d8e1;
    border-radius: 999px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.2;
    text-decoration: none;
    background: #fff;
}

.cusu-pm-map--split {
    display: grid;
    gap: 0.7rem;
}

.cusu-pm-map--map_only .cusu-pm-map__actions {
    margin-top: 0.4rem;
}

.cusu-pm-map__style-switcher {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 451;
    display: inline-flex;
    gap: 0.35rem;
}

.cusu-pm-map__style-option {
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    padding: 0.2rem 0.25rem 0.3rem;
    width: 76px;
    cursor: pointer;
    line-height: 1;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
}

.cusu-pm-map__style-option.is-active {
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.65),
        0 10px 26px rgba(15, 23, 42, 0.35);
}

.cusu-pm-map__style-thumb {
    display: block;
    width: 100%;
    height: 40px;
    border-radius: 7px;
    background-size: cover;
    background-position: center;
    margin-bottom: 0.2rem;
}

.cusu-pm-map__style-option--street .cusu-pm-map__style-thumb {
    background-image: url('https://tile.openstreetmap.org/6/33/22.png');
}

.cusu-pm-map__style-option--satellite .cusu-pm-map__style-thumb {
    background-image: url('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/6/22/33');
}

.cusu-pm-map__style-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (min-width: 740px) {
    .cusu-pm-map__canvas {
        aspect-ratio: var(--cusu-map-ratio-tablet);
    }

    .cusu-pm-map--overlay .cusu-pm-map__panel {
        position: absolute;
        top: 12px;
        right: 12px;
        left: auto;
        max-width: min(360px, calc(100% - 24px));
        margin-top: 0;
        box-shadow: 0 10px 32px rgba(15, 23, 42, 0.12);
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(3px);
        z-index: 1000;
    }

    .cusu-pm-map--overlay .cusu-pm-map__actions,
    .cusu-pm-map--map_only .cusu-pm-map__actions {
        position: absolute;
        top: 12px;
        left: 56px;
        right: auto;
        bottom: auto;
        margin-top: 0;
        z-index: 452;
    }

    .cusu-pm-map--split {
        grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
        align-items: start;
    }

    .cusu-pm-map--split .cusu-pm-map__panel {
        margin-top: 0;
        height: 100%;
    }
}

@media (min-width: 1024px) {
    .cusu-pm-map__canvas {
        aspect-ratio: var(--cusu-map-ratio-desktop);
    }
}

@media (max-width: 740px) {
    .cusu-pm-map--overlay .cusu-pm-map__panel {
        position: static;
        box-shadow: none;
        max-width: none;
    }
}
