/* Анимации теперь управляются через data-animate="scale-up" в template.php */

.module-component-map-style-1 .map-container {
    position: relative;
}


.module-component-map-style-1 svg path {
    fill: var(--custom-two);
    stroke: var(--white-100);
    stroke-width: calc(0.5 * var(--rpx));
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.module-component-map-style-1 svg path[data-checked="true"]:hover,
.module-component-map-style-1 svg path.region-checked:hover {
    opacity: 0.7;
}

.module-component-map-style-1 svg path[data-checked="true"],
.module-component-map-style-1 svg path.region-checked {
    fill: var(--primary);
    opacity: 1;
}

/* Иконки на выбранных регионах */
.module-component-map-style-1 svg .region-icon-group {
    pointer-events: none;
    user-select: none;
    transition: opacity var(--transition-fast);
}

.module-component-map-style-1 svg .region-icon-group {
    transform-origin: center;
}

.module-component-map-style-1 svg .region-icon-group image.region-icon {
    pointer-events: none;
    user-select: none;
    transform-origin: center;
    transform-box: fill-box;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Тултип */
.module-component-map-style-1 .map-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    pointer-events: none;
    display: none;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    white-space: nowrap;
}


@media (max-width: 767px) {
    .module-component-map-style-1 .main {gap: var(--spacing-20);}
}

@media (min-width: 768px) and (max-width: 1023px) {
    
}

@media (max-width: 1023px) {
}

@media (min-width: 1024px) {
    
}