.ymaps3x0--default-marker__title-wrapper
{
    max-width: 256px !important;
}

.ymaps3--suggest-control
{
    overflow: auto;
}

ymaps.ymaps3x0--default-marker__popup
{
    flex-direction: column-reverse;
    padding: 0;
    gap: 4px;
}

ymaps.ymaps3x0--default-marker__popup-container
{
    max-width: 100%;
    width: 100%;
    padding: 0rem 1rem 0.5rem;
    text-wrap: wrap;
}

.ymaps3x0--default-marker__popup .btn-close
{
    margin-left: auto;
    padding: 0.75rem;
    cursor: pointer;
}

.ymaps3x0--default-marker__popup .btn-close:focus
{
    box-shadow: none;
}

ymaps.ymaps3x0--marker:has(> ymaps > ymaps.ymaps3x0--default-marker__popup:not(.ymaps3x0--default-marker__hider))
{
    z-index: 1 !important;
}

:is(.ymaps3x0--control-fullscreen, .ymaps3x0--control-ruler)
{
    color: #4D4D4D;
}

button.ymaps3x0--control-button:hover > :is(.ymaps3x0--control-fullscreen, .ymaps3x0--control-ruler)
{
    color: #000;
}

ymaps.ymaps3x0--marker .cluster
{
    position: relative;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

ymaps.ymaps3x0--marker .cluster > .cluster-icon
{
    width: 3rem;
    height: 3rem;
    background-color: rgb(255, 51, 51);
    border-radius: 50%;
}

ymaps.ymaps3x0--marker .cluster > .cluster-icon-image
{
    cursor: pointer;
    max-width: unset;
}

ymaps.ymaps3x0--marker .cluster > .cluster-text
{
    position: absolute;
    color: white;
    font-size: 1.5rem;
}

.map-hint-mobile
{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 1.125rem;
    text-align: center;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Для корректного отображения модуля "Линейка" YMapRuler */
ymaps.ymaps3x0--map-container svg
{
    max-width: unset;
}