.map-container {
    position: relative;
    width: 100%;
    height: 700px;
    background-color: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#map-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

#floor-map {
    transition: transform 0.3s ease;
}

.store-marker {
    transition: all 0.2s ease;
}

.store-marker:hover {
    transform: scale(1.1);
}

.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 10px;
}

.btn-zoom, .btn-fullscreen {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size:  
}

/* Дополнительные стили для интерактивной карты */

.map-zoom {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.btn-zoom, .btn-fullscreen {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--dark-color);
    transition: var(--transition);
}

.btn-zoom:hover, .btn-fullscreen:hover {
    background: #f8f9fa;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-zoom:active, .btn-fullscreen:active {
    transform: scale(0.95);
}

/* Стили для симуляции сканирования QR */
.qr-scan-simulation {
    text-align: center;
    padding: 20px 0;
}

.qr-scanner {
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
}

.laser {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0%, 100% { top: 0; }
    50% { top: 100%; }
}

.btn-scan, .btn-cancel {
    padding: 12px 25px;
    margin: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-scan {
    background: var(--primary-color);
    color: white;
}

.btn-scan:hover {
    background: var(--secondary-color);
}

.btn-cancel {
    background: var(--gray-light);
    color: var(--dark-color);
}

.btn-cancel:hover {
    background: #dde1e7;
}

/* Результат определения местоположения */
.location-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.location-icon {
    margin-bottom: 10px;
}

.location-info {
    text-align: center;
}

.location-info h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.location-info p {
    color: var(--gray);
    margin-bottom: 20px;
}

.location-actions {
    display: flex;
    gap: 10px;
}

/* Индикаторы на карте */
.store-marker.promotion::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 2px solid white;
}

.store-marker.closed {
    opacity: 0.5;
    filter: grayscale(0.7);
}

/* Анимация пульсации для выбранного магазина */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.store-marker.selected {
    animation: pulse 1.5s infinite;
    filter: drop-shadow(0 0 10px rgba(255, 235, 59, 0.7));
}

/* Подсказки на карте */
.map-tooltip {
    position: absolute;
    background: var(--dark-color);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    z-index: 100;
    pointer-events: none;
    white-space: nowrap;
    transform: translate(-50%, -100%);
    margin-top: -10px;
}

.map-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--dark-color);
}

/* Слой поверх карты для интерактивных элементов */
#map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

/* Стили для полноэкранного режима */
:fullscreen #map-wrapper {
    width: 100vw;
    height: 100vh;
}

:fullscreen .map-container {
    border-radius: 0;
}

/* Адаптивность карты */
@media (max-width: 768px) {
    .map-controls {
        top: 10px;
        right: 10px;
    }
    
    .btn-zoom, .btn-fullscreen {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .map-legend {
        bottom: 10px;
        left: 10px;
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Темная тема (опционально) */
@media (prefers-color-scheme: dark) {
    .map-container {
        background: #2d3748;
    }
    
    .store-marker {
        stroke: #4a5568;
    }
}
