/* Detail inzerátu — OpenStreetMap (Leaflet), stejný vizuál jako homepage */
.property-detail-map-section {
    margin-top: 2rem;
}

.property-detail-map__coords-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-variant-numeric: tabular-nums;
    word-break: break-all;
}

.property-detail-map-wrap {
    position: relative;
    width: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
}

.property-detail-map__zoom-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.625rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.95);
    color: #7a12d1;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.property-detail-map__zoom-btn:hover {
    background: #fff;
    color: #530c8f;
}

.property-detail-map__zoom-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

@media (max-width: 639px) {
    .property-detail-map__zoom-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

.property-detail-map {
    width: 100%;
    height: 320px;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    z-index: 0;
    transition: height 0.3s ease-in-out;
}

@media (min-width: 640px) {
    .property-detail-map {
        height: 400px;
    }
}

.property-detail-map-wrap.is-zoomed .property-detail-map {
    height: 560px;
}

@media (min-width: 640px) {
    .property-detail-map-wrap.is-zoomed .property-detail-map {
        height: 720px;
    }
}

.property-detail-map .leaflet-control-attribution {
    font-size: 10px;
}
